Follow me at Twitter Arras Theme 1.4.1 is now live! http://bit.ly/CZsXx 2 days ago

Theme Filters Reference

The Buffet Framework comes with the following set of theme actions and filters. You can use them to add or edit any custom content in your child theme. For more information on how to use actions and filters, check out the WordPress Codex.

Filters Reference

Frontend Filters

bf_archive_postbody
Displays post content (summary) in the archive template. By default, it displays the first 50 words of the article.

bf_archive_postfooter
Displays post information after its content (summary) in the archive template. By default, it displays nothing.

bf_archive_postheader
Displays post information before its content (summary) in the archive template. By default, it displays the header.

bf_commentfooter
Displays comment meta information after the comment’s content. By default it displays nothing.

bf_commentheader
Displays comment meta information before the comment’s content. By default it displays the avatar, name and date.

bf_doctype
Renders the current DOCTYPE of the page. By default it displays the XHTML 1.0 Transitional doctype.

bf_nav
Displays the main navigation on the theme, after the header.

bf_newsbody
Displays news content (summary). By default, it displays the first 50 words of the article.

bf_newsfooter
Displays news information after its content (summary). By default, it displays nothing.

bf_newsheader
Displays news information before its content (summary). By default, it displays the header.

bf_pagefooter
Displays post meta information after its content body. By default, it contains a link to print page (with WP-Print plugin), as well as social networking links to Digg, Facebook and Twitter.

bf_pageheader
Displays news information before its content (summary). By default, it displays the header.

bf_postfooter
Displays post meta information after its content body. By default, it contains a link to the post’s comments, link to print page (with WP-Print plugin), as well as social networking links to Digg, Facebook and Twitter.

bf_postheader
Displays post meta information before its content body. By defauly it displays the title, author, date and its tags.

bf_postmeta
Displays post information right before the post content. Useful if you wish to display review ratings before your content. By default, it displays nothing.

bf_post_notfound
Displays when the specified post/archive requested by the user is not found.

bf_search_postbody
Displays post content (summary) in the search template. By default, it displays the first 50 words of the article.

bf_search_postfooter
Displays post information after its content (summary) in the search template. By default, it displays nothing.

bf_search_postheader
Displays post information before its content (summary) in the search template. By default, it displays the header.

bf_trackback
Displays trackback information. By default it displays the link to the trackback.

Admin Filters

bf_admin_help_links
Displays the links for theme support.

bf_admin_tabs

bf_allowed_submit_values

bf_dashboard_rss_url
Returns the RSS feed link that is used in the theme dashboard widget.