WordPress.org

Ready to get started?Download WordPress

Forums

Hupso Share Buttons for Twitter, Facebook & Google+
incorrect title and URL (6 posts)

  1. crysman
    Member
    Posted 9 months ago #

    Hi,

    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?

    http://wordpress.org/plugins/hupso-share-buttons-for-twitter-facebook-google/

  2. kasal
    Member
    Plugin Author

    Posted 9 months ago #

    I agree. Can you give me URL of your website so I can take a look?

  3. crysman
    Member
    Posted 9 months ago #

    OK, you might have a look e.g. here:
    http://lidicka.luzanky.cz/

    I am using the shortcode in the WP loop:

    <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
    <article class="post post-aktuality group">
    <header>
    ...
    ...
    if ( shortcode_exists( 'hupso' ) ) echo do_shortcode( '[hupso]' ); else echo "<!-- ERR: Hupso social plugin nenĂ­ k dispozici -->\n";
    ...
    ...
    </div>
    </article> <!-- //End of post-->

  4. kasal
    Member
    Plugin Author

    Posted 9 months ago #

    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?

  5. kasal
    Member
    Plugin Author

    Posted 9 months ago #

    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.

  6. crysman
    Member
    Posted 9 months ago #

    But they have to be in the loop, because they are post-related...
    I need (have to) to use the hupso plugin as shortcodes, because of the speciic layout...

    I have just sent you an e-mail, so we could try the patched version you are about to create. Thanks

Reply

You must log in to post.

About this Plugin

About this Topic