Date only on the-sub page possible?

  • Author
    Posts
  • #106599

    frauzuckerbroetchen
    Member
    Original poster

    Hi Ricardo,

    sorry, i have a question to you again… :o)
    I thought the Code had disabled the date on the main page only, but it is also no longer visible on the sub-page. Is it possible to display the date again, but only here?

    Thank you in advance,
    Amara

    The blog I need help with is: frauzuckerbroetchen.com

    #106766

    ricardpriet
    Theme Author

    Hi Amara!

    Yes of course. Delete the code:

    .entry-meta {
        display: none;
    }

    and add this one instead of:

    .home .entry-meta {
        display: none;
    }

    This only hides the date on homepage but it will show it on single post views and categories or tags pages. Is it what you are looking for?

    Thank you!
    Ricardo P. from SiloCreativo

    #106769

    frauzuckerbroetchen
    Member
    Original poster

    Hi Ricardo,

    thank you for your quick reply and for the code. :-)
    This ist exactly what i am looking for, but it did not work.
    Actually, nothing has changed…

    These are the codes I use at the moment:

    .entry-title:before,
    .entry-title:after {
    content: none;
    }

    .site-description:before,
    .site-description:after {
    content: none;
    }

    .comments-title:before,
    .comment-reply-title:before,
    .no-comments:before,
    .comments-title:after,
    .comment-reply-title:after,
    .no-comments:after {
    content: none;
    }

    .entry-meta span.reading-time {
    display: none !important;
    }

    h1.entry-title {
    margin-bottom: 0;
    padding-bottom: 10px;
    }

    .home .entry-meta {
    display: none;
    }

    .single .entry-meta {
    display: block;
    }

    .entry-title {
    word-wrap: normal;
    }

    Something may not fit together..?

    Thany you again!
    Amara

    #106770

    ricardpriet
    Theme Author

    Hi Amara,

    the code seems to work. The date is showing in the category page:
    https://frauzuckerbroetchen.com/category/diy/

    Unfortunately, showing the date on single post view is not available on Rosalie, sorry for the misunderstood. You can view the meta tags available in the demo site:
    https://rosaliedemo.wordpress.com/2015/11/15/welcome-to-rosalie-a-wordpress-blogging-theme/

    Hope this helps :)
    Ricardo

    #106771

    frauzuckerbroetchen
    Member
    Original poster

    Hi Ricardo,

    it is a pity, but i can live with that. :-)
    Thank you again for your help!

    Wish you a great week!
    Amara

    #106772

    ricardpriet
    Theme Author

    Thank you Amara,

    have a nice week too :)
    Ricardo

The topic ‘Date only on the-sub page possible?’ is closed to new replies.