WordPress.org

Ready to get started?Download WordPress

Forums

Share and Follow
Custom Share Title and Link (3 posts)

  1. Bozz
    Member
    Posted 2 years ago #

    Has anyone implemented Share and Follow to use a custom Title and Link per instance?

    In other words, I'd like to have a post that has share buttons at the bottom, but they wouldn't be the blog's title or link to it, but rather custom title and link.

    to illustrate the idea:

    BLOG TITLE
    blog text

    [share Title: "Check out our event on Tuesday!" Link: "http://domain.com/custom-link-here"]

    Thank you for any insight anyone can provide.

    http://wordpress.org/extend/plugins/share-and-follow/

  2. andykillen
    Member
    Plugin Author

    Posted 2 years ago #

    I've recently added an extra set of choices to the share_links shortcode. It is as yet un-documented, so I thought I had better tell you.

    it works like this

    [share_links id="1" title="the title"]

    where id= is the number of the post or page on your site that you wish to be linked with. This only works with the local wordpress installation and not against other sites.

    title= is whatever you want the title to be

    regards
    Andy

  3. Bozz
    Member
    Posted 2 years ago #

    That's an exciting new feature! Thanks for sharing the shortcode and for the great plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic