bbPress

Simple, Fast, Elegant

bbPress support forums » Themes

bb_is_ functions to call

(4 posts)
  • Started 3 months ago by jbbrwcky
  • Latest reply from jbbrwcky
  • This topic is resolved
  1. Hi!

    After working with WP for so long, I assumed (naively) that there were similar functions to replace beauties like is_single(), is_category() etc., with something like bb_is_forum() blah blah.

    Is there anywhere this is documented? Like, how do I find out if I'm on the page looking at a topic, or a message inside that topic?

    Thanks!
    Richard

    Posted 3 months ago #
  2. bbPress has similar functions to detect what page you are on, ie. is_front() is_forum() is_topic() is_view() etc.

    do a search of the code for "function is_"

    Posted 3 months ago #
  3. Quick search:

    function is_role
    function is_serialized
    function is_serialized_string
    function is_tag
    function is_tag
    function is_user_favorite
    function is_front
    function is_forum
    function is_bb_tags
    function is_bb_tag
    function is_topic
    function is_bb_feed
    function is_bb_search
    function is_bb_profile
    function is_bb_favorites
    function is_view
    function is_bb_stats
    function is_bb_admin
    function is_wp_error
    function is_write_query
    function is_search
    function is_installed
    function is_posted

    Posted 3 months ago #
  4. Thanks, much appreciated!

    Posted 3 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.