Events Made Easy Forums How do I … share on facebook in single event page

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #42810
    Anonymous
    Inactive

    hello,

    i am using a plugin for sharing on facebook: http://wordpress.org/extend/plugins/facebook-share-new/ but however i tried i can’t insert it to the single event page correctly for sharing it on facebook. There are more options in this plugin, but i was using “Display the button on pages”, but url for sharing was generated “http://domain/events%5Bsystem-page of EME]” instead of “http://domain/custom-events-page%5Bcustom page with filters and pagination etc]/%id/title_of_event”.

    i tried to insert shortcode “[fbshare]” and php code <?php if (function_exists(‘fbshare_manual’)) echo fbshare_manual(); ?> into the single event page, but there was no succes. (insert php code into the correct place in single format page will be the best solution for me) can you give me a hand with this? Thank you!

    #47736
    Franky
    Keymaster

    Use the available filters for this: http://www.e-dynamics.be/wordpress/?cat=41

    #47737
    Franky
    Keymaster

    I just tried the AddToAny plugin in trunk for facebook sharing, and this works ok. There is a change in trunk that might influence this: wordpress creates a canonical relation link in the http header (link rel=”canonical”) for each page, and that pointed to the “system” page for EME. In my opinion it’s not wordpress place to generate this link-header, since it influences google search as well.

    Anyway, this has been corrected in the trunk version so the AddToAny plugin works.

    The facebook-share-new plugin is not yet ready for the newest WP releases (uses deprecated ways of implementing things).

    EDIT: the AddToAny plugin needs a small change as well: the use of the function A2A_SHARE_SAVE_link_vars() should be omitted, so comment this out everywhere you find it in add-to-any.php . I’ll talk to the owner of this plugin.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘How do I …’ is closed to new topics and replies.
Scroll to Top