Nirzol1 (@nirzol1)

Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • I find where is the prob

    It s my theme, I use elegant themes and

    In ePanel there is an option in

    General Settings >>> General tabs

    Number of Posts displayed on Archive pages

    before limit is set to 5 I put 50 and bbpress works All Forum appear in list and get_posts() recover all post

    But is NOT a fix . :/

    So if someone have a solution ?

    I also posted on elegantthemes forum support.

    Ok

    I find something but I don’t know if is good to do like that .

    In function.php add this :

    add_action(‘wp_enqueue_scripts’, ‘add_my_stylesheet’);

    function add_my_stylesheet() {

    $myStyleFile = get_theme_root_uri() . ‘/myTheme/mybbpress.css’;

    if ( (is_post_type_archive( ‘forum’ )) ) {

    wp_enqueue_style( ‘myStyleSheetsi’, $myStyleFile);

    }

    }

    Create a file in your theme mybbpress.css :

    div.bbp-breadcrumb, h1.title{

    display:none;

    }

    Just to notice, all changes is for first page forum only(http://mysite.com/forums) if you want to make changes on all your forums pages replace

    if ( (is_post_type_archive( ‘forum’ )) ) {

    by

    if ( (is_post_type_archive( ‘forum’ ) || is_singular( array( ‘forum’, ‘topic’, ‘reply’ ) )) ) {

    I tried is_page_template(‘bbpress.php’) or is_page(35) etc… (a lot I tried :p)

    but don’t work.

    hello

    shortcode is good.

    But how can I remove breadcrumbs plz ?

    Because I use two shortcode :

    [bbp-forum-index]

    [bbp-topic-index]

    And I have breadcrumbs for forum and an other for topic. Maybe make a shortcode like this is t possible ?

    [bbp-topic-index breadcrumbs=false]

    And are they way to say number topics to display ?

    thx for help ! :)

    Ok thx a lot for this informations. I understand and I ‘m ok with what you say :)

    I try a lot of thing, first I created a forum.php who overwrite the template and with that I can remove sidebar or make a specific sidebar.

    I remove the sidebar for a full width page, and make 2 div with float properties to have on the left [bbp-forum-index]] and on the right bbp-topic-index

    But it was not exactly what I want because when I click on a forum this positionning disapear.

    So I do more simply, just a custom page like you said me before with default template of my theme (content + sidebar)

    And put bbpress widget in the sidebar and for moment it’s a quite good.

    I use widget logic, but !!!!! I nearly killed me !!!!!… LOL to find the good conditional . I find this good post –> https://bbpress.org/forums/topic/bbpress-20-conditional-tags .

    Maybe a bug ? or something I do wrong but !bbp_is_forum() not work. I use :

    !(is_post_type_archive( ‘forum’ ) || is_singular( array( ‘forum’, ‘topic’, ‘reply’ ) ))

    It will be best if “last Topic widget” have more “design” like the column ‘topic’ when I use bbp-topic-index with the poster name and the category

    The same for “forum list widget”, it’s just .. a list :p with no indentation and with the “any” option, it’s difficult to understand all. Perhaps a pagetree ? or something else.

    I begin to use bbpress hope it wil be best ^^. Thx

    PS: excuse me for bad english , I ‘m french

    I confirm !bbp_is_forum() doesn’t work !

    But !(is_post_type_archive( ‘forum’ ) || is_singular( array( ‘forum’, ‘topic’, ‘reply’ ) )) work !

    I confirm !bbp_is_forum() doesn’t work !

    But !(is_post_type_archive( ‘forum’ ) || is_singular( array( ‘forum’, ‘topic’, ‘reply’ ) )) work !

    OK i will try this.

    And with a custom page I can have a specific sidebar for forum too isn’t it ?

    Because with the standar installation I can’t make a sidebar just for forum

    An other questions : no way too have icons before each topics or categorie forum? (like phpbb ?) to notice read / unread posts ? or new posts?

    Maybe with a class in html and with css ?

    thx anointed

    Maybe I’m not in the good forum ?

Viewing 8 replies - 1 through 8 (of 8 total)