WordPress.org

Ready to get started?Download WordPress

Forums

Social Media Feather
[resolved] Customize Facebook Share URL for different pages? (3 posts)

  1. ralphw
    Member
    Posted 11 months ago #

    Dear Synved,

    You have created a nice plug-in indeed, and thank you very much!
    ---
    I was wondering if it was possible to manipulate the plug-in on either the dashboard/settings page, or the shortcode on the individual page to accomplish the following: I want to have the FB Share button bring up a slightly different version of the page than the one of origin. For example, I have a page (named http://mysite/signup) that has the FB Share button on it. When someone clicks on the button, I wish for their friends to see the "B" version of the page on the timeline (http://mysite/signup-b). This will permit me to track results of how many are coming in from the "A" page and how many from their Facebook friends, who would see the "B" version.

    I did try to manipulate the link setting on the settings page from http://www.facebook.com/sharer.php?u=%%url%%&t=%%title%%
    to
    http://www.facebook.com/sharer.php?u=%%url-b%%&t=%%title%%
    but had no success (I named my pages exactly as shown above, with a "hyphen b" named page for the "B" version)

    I have several pages on my site, each with a "B" version that I want Facebook shared.

    Is this possible?

    Thank you!
    Ralph C

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

  2. Synved
    Member
    Plugin Author

    Posted 11 months ago #

    You can use the url parameter of the shortcode, like this:
    [feather_share url="http://mysite/signup-b"]

    I recommend you install our free plugin, WordPress Shortcodes:
    http://synved.com/wordpress-shortcodes/

    It will give you a nice editor that you can use to edit the SMF shortcodes with a help text listing all the available parameters.

    You can put the shortcode at the end of the post/page, then set that post/page custom field of synved_social_exclude_share to yes.

  3. ralphw
    Member
    Posted 11 months ago #

    Dear Synved,

    That shortcode adjustment [feather_share url="http://mysite/signup-b"]
    worked like a charm! (I had to remember to go to the Social Media Feather dashboard and leave the "Facebook Share Link" field blank!)

    I did install the shortcode editor, and discovered that it does not like IE8! Good thing I thought to check it using Firefox,and that worked well!

    Thank you very much!

    Ralph

Reply

You must log in to post.

About this Plugin

About this Topic