Hi,
I use this plugin to add tags and categories to pages. I have added these pages via categories with the element “Blog Posts” to a page together with blog posts. My problem now is that on this overview page a publication date is visible for the posts, but not for the pages. How can I make the posts and pages look the same, i.e. how can I also make a publication date visible for the pages?
Hey atx_m,
Thank you for the inquiry.
Please try to add this code to the functions.php file to make sure that the post meta info is displayed:
function avf_postslider_posts_meta_data_show_mod(){
return true;
}
add_filter('avf_postslider_posts_meta_data_show', 'avf_postslider_posts_meta_data_show_mod');
function avf_postslider_posts_meta_data_mod(){
return 'always';
}
add_filter('avf_postslider_posts_meta_data', 'avf_postslider_posts_meta_data_mod');
Let us know the result.
Best regards,
Ismael
Thank you Ismail!
I tested it. Now I receive the date but also the author and the tags. Is it possible to just show the date?
Hi,
Thank you for the update.
To hide the post tags, you can add this code in the Quick CSS field or the style.css file:
#top #wrap_all .slide-meta-tags {
display: none;
}
Let us know the result.
Best regards,
Ismael
Tags are gone now. Thank you. Can I also get rid of the author?
Hi,
Sorry about that. Include this css code to remove the author and the extra separators:
.slide-meta-time + .slide-meta-del, .slide-meta-author, .slide-meta-author + .slide-meta-del {
display: none !important;
}
Best regards,
Ismael
Everything works now. Thank you!
Hi,
Great, I’m glad that Ismael could help you out. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard