Skip to:
Content
Pages
Categories
Search
Top
Bottom

Subforum content not showing


  • arno8
    Participant

    @arno8

    I’m trying to add information to my subforum so it displays under the title.
    But its not showing anything when I save it. Any ideas?

    See it here

    https://www.primeknights.com/forums/

    Tried to add <span><?php the_content(); ?><span>

    Above <?php do_action( 'bbp_theme_after_forum_sub_forums' ); ?>

    in single-loop-forum but, it still doesnt show the content and it positions quite wrong if i enter text manually in the developer console from chrome.

    Thnx in advance

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

  • arno8
    Participant

    @arno8

    Bump, got this working

    Now looking for a way to add icons in front of my Sub forums , tried this code:

    add_post_type_support('forum_sub_forums', array('thumbnail'));
    
    function ks_forum_icons() {
    	if ( 'forum_sub_forums' == get_post_type() ) {
    		global $post;
    	    if ( has_post_thumbnail($post->ID) )
    	    	echo get_the_post_thumbnail($post->ID,'thumbnail',array('class' => 'alignleft forum-icon'));
    	 }
    }
    add_action('bbp_theme_before_forum_sub_forums_title','ks_forum_icons');

    but that didnt do anything.


    arno8
    Participant

    @arno8

    Anyone please??


    redsentence
    Participant

    @redsentence

    Hi there would be interested to know how you got the descriptions showing?

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