WordPress.org

Forums

WP Biographia
[resolved] Make that post title become subject of mailto (7 posts)

  1. arnaud.ledun@gmail.com
    Member
    Posted 2 years ago #

    Hi,

    First, your plugn is great!

    I wish that when visitors click on email, it adds as subject of mail the title of the post.

    Thank you

    http://wordpress.org/extend/plugins/wp-biographia/

  2. vicchi
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    WP Biographia doesn't support this as a configurable setting, but you can get this to work by using the plugin's wp_biographia_link_item filter to check for a single post and the mailto URL format and then append the current post's title to that URL.

    See this gist for a working example of how to do this; this code should be copied and pasted into the bottom of your theme's functions.php.

    -Gary

  3. vicchi
    Member
    Plugin Author

    Posted 2 years ago #

    Hi ... Haven't heard back from you in over a week, so I'm assuming this worked for you and I'm going to flag this thread as resolved. Feel free to re-open and post back if this isn't the case.

    -Gary

  4. arnaud.ledun@gmail.com
    Member
    Posted 2 years ago #

    Hi,

    I haven't test it at the moment. Probably before end of the week.

    Thanks

  5. arnaud.ledun@gmail.com
    Member
    Posted 2 years ago #

    S i test the gist but it crash theme...i will take a looh further soon.

    -arnaud

  6. vicchi
    Member
    Plugin Author

    Posted 2 years ago #

    What theme are you using? If it's a free theme I can try and reproduce this. A filter shouldn't cause a theme crash.

    -Gary

  7. vicchi
    Member
    Plugin Author

    Posted 1 year ago #

    Just a quick heads up, support for this is now part of the code for the next upcoming release, so there'll be no need for functions.php hacking.

    -Gary

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Biographia
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic