Skip to:
Content
Pages
Categories
Search
Top
Bottom

Page bbpress or not

  • @zikadonfeur

    Participant

    Hello,
    I want to add a link with the “pagetitle” of bbpress forum page.

    bbpress is running in a wordpress page but how I can find it? where it is?
    I want to past a simply code as

    if ( !is_user_logged_in()&&is_page('???') ) {my link...
    

    thank you for helping.

    WP: 3.4.1
    bbpress: 2.1.2
    theme: Frisco for BuddyPress

Viewing 5 replies - 1 through 5 (of 5 total)
  • @mordauk

    Participant

    Log into your WordPress admin, go to Pages, click Edit on the page you want, then look at the URL. The post=xx part will show you the page ID, which you can then use in your code:

    if( ! is_user_logged_in() && is_page( xx ) ) {
          // use get_permalink() to get the URL. 
    }
    

    @zikadonfeur

    Participant

    OK, but bbpress is running with

    Custom root slugs to prefix your forums and topics with. These can be partnered with WordPress pages to allow more flexibility.
    

    how I can find my page ID because forum based is “discussions” and I don’t have page name with “discussions”

    Thank’s for help

    my forum link

    http://www.zikadonf.fr/monespace/discussions/forum/principal/

    @mordauk

    Participant

    I’m not sure I’m following. Do you want to know if you are on one of the forums that is nested under the discussions page?

    @zikadonfeur

    Participant

    No, I would like to know how the page is generated forum.
    until I found a solution by changing my templates.

    When using a group forum with buddypress, using a WP page that is assigned, what is this page when using bbpress if there is one?

    Thank you very much.

    @mordauk

    Participant

    Unless you place one of the forum short codes on a page, there is no page assigned to bbPress templates.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar