WordPress to Buffer
[resolved] Would be nice to be able to filter title (3 posts)

  1. recordrewindplay
    Posted 1 year ago #

    I use custom post types, for some of which I use add_filter to modify the post title in certain places. For example, one post type is for music tracks, and I take the value of a custom field and insert that before the post title so it is displayed as:

    {artist} - {post title}

    WP To Buffer uses get_post to extract post information. As far as I know there is no way of filtering any of the fields before the query is run, so I can't filter the title at all to include the artist, which means I have to do it manually (and which takes away some of the convenience of using the plugin)

    Is there a way I can filter post titles?



  2. Tim Carr
    Plugin Author

    Posted 1 year ago #

    I could support get_the_title(), so you'd need to check that your filter is applied to that.

    Please confirm.

  3. Tim Carr
    Plugin Author

    Posted 1 year ago #

    Fixed in 2.3

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress to Buffer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic