I could not do social marketing plugin work on my site.

I could not do social marketing plugin work on my site. Follow the installation manual but realized and errors:

1 - only to enable the plugin my product pages are all misconfigured (see screenshots)

2 - even plug being configured to share on Facebook, Twitter and Google Plus, the share button when clicked displays only the link to Twitter. (see screenshots)

3 - As I click Tweet opens a simple Twitter window with no product information as a photo, description, or link to buy it. After tweet also does not return to the site. (see screenshots)

  • Vinod Dalvi
    • WP Unicorn

    Hi Fernando,

    Welcome to the WPMU Dev community and thanks for posting on the forum.

    From your shared screenshot it seems like theme conflict issue.

    Is it working fine for you if you use any default WordPress theme like Twenty Fifteen?

    Would you mind if I logged in to your site and did some troubleshooting? This might help get to the bottom of this faster. If this is ok, just grant me temporary admin access to your site by clicking "Grant Access" button in the WPMU DEV Dashboard Settings as described on the following page and reply on this thread after granting it?

    https://premium.wpmudev.org/manuals/wpmu-dev-dashboard-enabling-staff-login/

    Kind Regards,
    Vinod Dalvi

  • Vinod Dalvi
    • WP Unicorn

    Hi Fernando,

    Thank you for your reply.

    I could confirm the issue on your site and found the issue is occurring because of javascript errors and loading over HTTPS page the social share javascript files which have HTTP protocols as shown in the attached screenshot.

    In short the issue is occurring when we use the Social Marketing plugin on the page having HTTPS protocol which is the case on your site.

    I have notified the plugin developer about this issue so that the issue will be fixed.

    The issue will be fixed ASAP.

    In the meanwhile to fix the issue try using the attached modified Social Marketing plugin files by overwriting the Social Marketing plugin files on the following path.

    /wp-content/plugins/social-marketing/lib/services/

    The modified plugin files contain changes like following.

    Before Editing:

    public function add_js () {
    	echo '<script src="http://platform.linkedin.com/in.js" type="text/javascript"></script>';
    }

    After Editing:

    public function add_js () {
    	$protocol = is_ssl() ? 'https' : 'http';
    	echo '<script src="'.$protocol.'://platform.linkedin.com/in.js" type="text/javascript"></script>';
    }

    Best Regards,
    Vinod Dalvi

  • Fernando
    • Design Lord, Child of Thor

    Thank you my friend for rapid action in my favor. Now sharing module works, but the site layout is still broken with the active plugin using the theme "The Retailer".

    I tested the Twenty Fifthen and seems to stay normal. I can not say for sure because as it does not support WooCommerce officially honestly do not know what appearance should have a product page on it.

    This layout broken only happens in Google Chrome. In Internet Explorer is normal.

    Again deactivated social marketing plugin to figure out how to activate it without breaking the layout of my website.

  • Vinod Dalvi
    • WP Unicorn

    Hi Fernando,,

    I have activated the Social Marketing plugin on your site and found the site is working fine on both Google Chrome and Firefox browsers.

    Is the issue happening only with specific Google Chrome browser?

    Have you tried clearing your browser cache?

    Can you check the JavaScript console for errors?

    In Chrome go to "View -> Developer -> JavaScript Console"

    Find information about how to open JavaScript browser console :

    http://webmasters.stackexchange.com/questions/8525/how-to-open-the-javascript-console-in-different-browsers
    http://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors

    Let me know what JavaScript errors if any you are getting when you face this issue.

    Regards,
    Vinod Dalvi

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.