• EastDevonAlliance

    (@eastdevonalliance)


    We have a dynamic front page which shows our latest posts.

    The share buttons share the link for the first post on the page rather than the root home page itself.

    How can we make it share the page rather than the first post on the page?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Rene Hermenau

    (@renehermi)

    Hello,

    try first to enable the position option categories: https://take.ms/8kxFW
    If this does not work for your theme you can use the shortcode option on your homepage
    [mashshare url="https://yourhomepage.com"]
    or directly in your theme
    <?php echo do_shortcode([mashshare url="https://yourhomepage.com"]); ?>

    Thread Starter EastDevonAlliance

    (@eastdevonalliance)

    I have position set to “manual”, categories set to “on” and a shortcode in widgets shown at the top and bottom of every page.

    For category pages, share buttons share the first post on the page and not the URL of the page.

    Obviously for position set to “top” and / or “bottom”, then buttons not generated from a widget are shown for every post, in which case they should share the post they are associated with.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Dynamic front page – sharing url’ is closed to new replies.