Alvalyn Lundgren
asked 8 years ago

Hello:

The social icons in the Sharing section of the left sidebar (DesignWall Focus) are not visible.

I deactivated non-design-wall-related plugins (akismet, Yoast SEO and Wordfence Security) and the icons still do not show. The Lazy Load plugin is active.

Here are 2 URLs where the social icons are not visible:

http://mpisccintercom.com/their-perception-and-our-reality/

http://mpisccintercom.com/you-version-2-0/

How do I fix this problem?

Thank you.

1 Answers
DominicStaff
answered 8 years ago

Hi,
You can open the wp-contentthemesdw-focusincscripts.php file and find the line 33-> 35.
Replace the following code:

    wp_enqueue_script( 'modernizr', get_template_directory_uri() . '/assets/js/modernizr.min.js', array(), $version, false );
    wp_enqueue_script( 'jquery-mobile', get_template_directory_uri() . '/assets/js/jquery-mobile.min.js', array(), '1.3.2', false );
    wp_enqueue_script( 'dw-focus-script', get_template_directory_uri() . $assets['js'], array( 'jquery' ), $version, true );

With new code:

wp_enqueue_script( 'modernizr', get_template_directory_uri() . '/assets/js/modernizr.min.js', array(), $version, false );
    wp_enqueue_script( 'jquery-mobile', get_template_directory_uri() . '/assets/js/jquery-mobile.min.js', array( 'jquery' ), $version, true );
    wp_enqueue_script( 'dw-focus-script', get_template_directory_uri() . $assets['js'], array( 'jquery' ), $version, true );

Regards,

alvalyn
replied 8 years ago

Replacing the code fixed it. Thank you, Dominic.

Powered by DW Question & Answer Pro