Nick Johnson
asked 9 years ago

I love DW Page but have a problem, very soon before the site has to launch.

On desktops, I click a Portfolio or Blog image/link and it opens a pop-up (modal?) window.

On mobile, the DW Page demo site expands the portfolio/blog entry’s content in a box underneath, but on my site, nothing happens – no popup window, no content expanding underneath on click.

Which files and code control this functionality, please, as I may have deleted or modified it when working on the site?

Many thanks in advance for any help!

nobita
replied 9 years ago

You can try looking in dw-page/inc/assets/js/modal_on_mobile.js . Maybe it’s java script conflict or you missing class to trigger the js.

mccoach
replied 9 years ago

I have reverted to the original modal_on_mobile.js but the functionality is still not working on mobile.

nobita
replied 9 years ago

@Nick JohnSon : sorry for late reply , for that bug , you can try open file open file functions.php delete all those code look like this:

$dumb_array = array();
function dw_page_widgets_init() {}

add_action( 'widgets_init', 'dw_page_widgets_init' );

// register_sidebar( $dumb_array );

dynamic_sidebar( 'No Use' );

the_posts_navigation();
posts_nav_link();
paginate_links();
next_posts_link();
previous_posts_link();
paginate_comments_links();
next_comments_link();
previous_comments_link();

add_theme_support( "title-tag" );

add_theme_support( "custom-header", $dumb_array );

add_theme_support( "custom-background", $dumb_array );

add_editor_style();

Even in child theme.Sorry for that bug, we gonna fix it right away.

1 Answers
DominicStaff
answered 9 years ago

Hi,
Please send me username & password of your site (via private answer) for further checking.
Regards,

Powered by DW Question & Answer Pro