Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #816210

    Hello,

    The post slider is not showing categories for posts. My understanding is that it is the default behaviour to show categories for the posts. Can you please check?
    On a sidenote – I’ve installed the CPT plugin and created a post type “Teachings”, along with a custom taxonomy for this type “teaching_category”. My requirement is to show the custom taxonomy terms for the post type Teachings. However as of now, even for normal posts the post slider is not displaying categories.
    Please let me know if I need to make any changes for this.

    #816657

    Hello, can someone pls take a look?

    #817079

    Ping.. would someone pls get back to me.

    #817651

    Hi,

    Sorry for the late reply. The default behaviour does not include the categories unfortunately: http://kriesi.at/themes/enfold/shortcodes/post-slider/

    Best regards,
    Rikard

    #833765

    For anyone else who wants to do this, here’s how I got categories to show for postslider with the Default blog post style (the Elegant and Modern Business blog post styles show categories).
    It requires some modification to the postslider.php which is at enfold/config-templatebuilder/avia-shortcodes/postslider.php – ensure that you make all changes to your child theme.

    						
    							//	elegant style
    	                    if( ( strpos( $new_blogstyle, 'modern-blog' ) === false ) && ( $new_blogstyle != "" ) )
    						{
    							$output .= $meta_out;
    						}
    						
    							//	modern business style
                        	if( ( strpos( $new_blogstyle, 'modern-blog' ) !== false ) && ( $new_blogstyle != "" ) ) 
    						{
    							$output .= $meta_out;
    						}
    

    This whole section can be commented out and replaced with –

    $output .= $meta_out;
    

    Which would output the categories regardless of the blog style.

    #834195

    Hi eric-kfa,

    Thanks for sharing your solution! Much appreciated :-)

    Best regards,
    Rikard

    #952932

    (deleted)

    #952934

    (deleted)

    #953590

    Hi,

    OK thank u

    Best regards,
    Basilis

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Categories not showing in post slider’ is closed to new replies.