Forums

[Plugin: Add to Any: Share/Bookmark/Email Button] button in a dynamic page (3 posts)

  1. testjay2
    Member
    Posted 5 months ago #

    wonderful plugin.
    I have one issue though: on pages that act like posts, the URL bookmarked isn't the actual URL (permalink) but the page URL.
    So when I bookmark: mysite.com/items/no1 it bookmarks: mysite.com/items
    I found in the FAQt a solution that isn't very satisfying (http://www.addtoany.com/buttons/faq/#init_page):
    manualy putting a link to a external website inside the custom template.
    The good news: it does work. The bad news: byebye fantastic set of buttons and features :'(
    I've tried adding the string "a2a_init('page');" into the Wordpress addition options text field. But no luck.
    Is there any way I can keep my fancy buttons and still be able to share/save the actual page URL?

    thanks, Jay

  2. testjay2
    Member
    Posted 5 months ago #

    Update:
    I've generated a general button and edited some fields to make it Wordpress compliant. It still lacks the nifty icons, but at least the button is no longer a redirect to the addtoany website for the sharing services (email still does) and gracefully forwards the correct URL.

  3. micropat
    Member
    Posted 5 months ago #

    Hi,

    Not sure I understand what you mean by "pages that act like posts". Can you provide an example?

    The a2a_init() call wouldn't (or shouldn't) have resolved your problem -- that's intended for the general button code, not the plugin.

    For WordPress, I recommend sticking with the WP plugin instead of the general code, but let us know what kind of pages you are dealing with exactly.

Reply

You must log in to post.

About this Topic