incorrect title and URL
when I try to share from the main (index) page, there is a bad title and URL being shared. Instead of taking both from the relevant post, as it does when you try to share from the single post page, it inserts generic site title and generic URL.
In other words, whatever post sharing icon you click by any post, you always get just the same info to share.
This is very incorrect. It should behave the same regardless of whether you click to share from the particular single post or from the index page with all posts.
Could you fix it, please?
I agree. Can you give me URL of your website so I can take a look?
OK, you might have a look e.g. here:
I am using the shortcode in the WP loop:
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<article class=”post post-aktuality group”>
if ( shortcode_exists( ‘hupso’ ) ) echo do_shortcode( ‘[hupso]’ ); else echo “<!– ERR: Hupso social plugin není k dispozici –>\n”;
</article> <!– //End of post–>
What if you do not use the shortcode, but go to plugin settings and show buttons on frontpage and on excerpts. Can you try this?
It seems that shortcodes are not working properly when they are used inside the loop.
Please contact me here and I will send you an updated version that works properly.
- The topic ‘incorrect title and URL’ is closed to new replies.