Viewing 1 replies (of 1 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi, by default the descriptions are not being displayed, if you would like to add them you can paste the code below in your theme functions.php file

    
    add_action( "adverts_sh_list_before", "my_adverts_sh_list_before" );
    function my_adverts_sh_list_before( $params ) {
        $obj = get_queried_object();
    
        if( ! $obj instanceof WP_Term ) {
            return;
        }
    
        echo "<div>";
        echo apply_filters( "adverts_the_content", $obj->description );
        echo "</div>";
    }
    
Viewing 1 replies (of 1 total)
  • The topic ‘no content on front page’ is closed to new replies.