• Resolved pburke

    (@pburke)


    When using the Social Media Feather widget on my blog page, I noticed that the share buttons use the homepage URL rather than the blog page URL.

    I tracked this down to line 715 in synved-social/synved-social.php. That line reads:

    else if (is_home())

    … but it should be:

    else if (is_front_page())

    The is_home() conditional only tells you if the posts index page is showing, NOT if the homepage is showing. For that you want is_front_page(). (For example, if you tell WordPress to use a static front page, as I do, is_home() returns FALSE on the homepage, but TRUE on the blog page.)

    Reference: http://codex.wordpress.org/Conditional_Tags#The_Front_Page

    https://wordpress.org/plugins/social-media-feather/

Viewing 1 replies (of 1 total)
  • That is absolutely correct and a distraction on my part. The fix will be in the next release. Thanks for reporting!

Viewing 1 replies (of 1 total)
  • The topic ‘Blog page using homepage URL for share link’ is closed to new replies.