Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1485636

    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?

    • This topic was modified 4 days, 1 hour ago by atx_m.
    #1485656

    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

    #1485708

    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?

    #1485713

    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

    #1485714

    Tags are gone now. Thank you. Can I also get rid of the author?

    #1485715

    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;
    }

    View post on imgur.com

    Best regards,
    Ismael

    #1485716

    Everything works now. Thank you!

    #1485722

    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

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Show Publishing Date for Pages’ is closed to new replies.