Code is displayed in tags links

When you are on the page tag, on clicking on a tag, this is what is displayed: http://snag.gy/YJFi6.jpg

On the post, the first thing is a picture. The plugin is displaying the code of the picture.

Can we avoid that?

BETTER: is there a way to have the <extract> been displayed? This way it would avoid this situation?

Roger

tag page - http://theplanetfixer.org/tags/....try the singapuoe tag.

  • Vinod Dalvi

    Hi Roger,

    I hope you are well today and thanks for posting on the forum.

    I could reproduce the issue on my test site using latest version of Global Site Tags plugin that the shortcodes are displayed in the post excerpt on the tags page displayed by this plugin.

    I have notified the plugin developer about this so that it can be fixed. It will be fixed ASAP.

    In the meanwhile to fix the issue try editing the following Global Site Tags plugin file on line number 406 as below.

    Global Site Tags plugin file :
    /wp-content/plugins/global-site-tags/global-site-tags.php

    Before Editing :

    $content .= substr( strip_tags( network_get_the_content() ), 0, 250 ) . ' (<a href="' . network_get_permalink() . '">' . __( 'More', 'globalsitetags' ) . '</a>)';

    After Editing :

    $content .= substr( strip_shortcodes(strip_tags( network_get_the_content() )), 0, 250 ) . ' (<a href="' . network_get_permalink() . '">' . __( 'More', 'globalsitetags' ) . '</a>)';

    Best Regards,
    Vinod Dalvi