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.
Hello, can someone pls take a look?
Ping.. would someone pls get back to me.
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
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.
Hi eric-kfa,
Thanks for sharing your solution! Much appreciated :-)
Best regards,
Rikard
(deleted)
(deleted)
Hi,
OK thank u
Best regards,
Basilis