Skip to:
Content
Pages
Categories
Search
Top
Bottom

BBpress topic and posts positioning

  • @arno8

    Participant

    @lynq I hope you can help me.

    As you see here, in the general section it shows the topic and posts count nicely on the correct place.
    However on the sub-forums u can see the counts are just ext to the name. how can i position these so they get on the same position like the ones above?

    I tried to add a class here

    // Parse arguments against default values
    	$r = bbp_parse_args( $args, array(
    		'before'            => '<ul class="bbp-forums-list">',
    		'after'             => '</ul>',
    		'link_before'       => '<li class="bbp-forum">',
    		'link_after'        => '</li>',
    		'count_before'      => '(',
    		'count_after'       => ' )',
    		'count_sep'         => ', ',
    		'separator'         => ', ',
    		'forum_id'          => '',
    		'show_topic_count'  => true,
    		'show_reply_count'  => true,
    	), 'list_forums' );

    Like this:

    // Parse arguments against default values
    	$r = bbp_parse_args( $args, array(
    		'before'            => '<ul class="bbp-forums-list">',
    		'after'             => '</ul>',
    		'link_before'       => '<li class="bbp-forum">',
    		'link_after'        => '</li>',
    		'count_before'      => '<div class="counts">',
    		'count_after'       => '</div>',
    		//'count_sep'         => ', ',
    		//'separator'         => ', ',
    		'forum_id'          => '',
    		'show_topic_count'  => true,
    		'show_reply_count'  => true,
    	), 'list_forums' );

    to then style it in css, but when i try this it doesnt show the count anymore and i cANT EDIT IT IN CSS.

Viewing 6 replies - 1 through 6 (of 6 total)
  • @arno8

    Participant

    anyone please

    @robkk

    Moderator

    i would use a different forum index layout.

    read whats on this and download the file and see what you can take off of it.

    Alternate bbpress index page

    @arno8

    Participant

    sure there’s no easier way?

    @robkk

    Moderator

    i think that is the easiest way.

    it might be as easy as just replacing loop-forums.php in lynqs phpbb theme, but i havent tested it.

    i suggest you test it out on localhost by using wamp (windows), lamp (linux), mamp (mac), or xamp (all).

    or just make sure you download your original with ftp or your hosts file manager, then put it back if it doesnt work.

    @arno8

    Participant

    Im not using phpbb, im using bbpress

    @robkk

    Moderator

    i know

    I have created a bbPress starter theme with a phpBB look and feel

    I have created a bbPress starter theme with a phpBB look and feel

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