WordPress.org

Forums

  1. IPTEST1
    Member
    Posted 1 year ago #

    Hi,

    I'm pretty new to WordPress, so forgive me if this is a simple/stupid question.

    I am building a site which is blog-based, but almost solely uses an archive page with full-posts for navigation. I'm keen to use NextGen Open Graph to set my meta data, and also to insert share buttons into each post I make.

    However, I don't want the url shared, for example, when people click the FB share button, to point directly to the post's url; rather, I want to direct them to my archive page, at a set anchor point (to the specific shared post).

    Is there a way to override the default url value (which I assume is to the post's own address) and replace it with my anchor point link.

    (In case unclear, I basically want the link which people share on social networks to point towards mysite.com/#anchorpointatpost rather than mysite.com/post)

    Is that possible? Is is simple?

    Thanks for your help (and, of course, the plugin)!

    http://wordpress.org/plugins/nextgen-facebook/

  2. JS Morisset
    Member
    Plugin Author

    Posted 1 year ago #

    If your template adds an anchor using the post ID, for example, then sure, that should be fairly easy to do. Have a look at the 'ngfb_post_url' filter: http://surniaulula.com/codex/plugins/nextgen-facebook/filters/

    If you need some custom coding work done, you can submit a request here: http://support.surniaulula.com/support/tickets/new

    js.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic