• Resolved zebracrossing

    (@zebracrossing)


    I have given a link but several of your themes (both free and premium) use a month/day/year format (e,g, Feb, Fri, 2023) in posts. Can you kindly tell me how to change this to get a Date instead of Day? Thanks.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hello,

    For this you need to change theme core code. By Navigating to Corpiva-> template-parts -> content-page.php -> line no. 38 Replace esc_html(get_the_date(‘M, D, Y’)); by esc_html(get_the_date(‘M, d, Y’));

    Thanks

    Thread Starter zebracrossing

    (@zebracrossing)

    The script has only 34 lines in total. AND THERE IS NO esc_html(get_the_date(‘M, D, Y’)); ANYWHERE ON THE PAGE. Can you kindly recheck, please?

    Please share here screenshot which file you have opened ?

    Thread Starter zebracrossing

    (@zebracrossing)

    Oh, sorry. In ATUVI folder there is no content-page.php under template-parts. I was confused I think. I thought it’s content.php. However, later, in COPRIVA folder I located the area you mentioned and made the change. Ah, magic, the theme shows actual date now! ??

    I want to buy a Desert Theme, but I have one more hurdle. I will post it separately. The captioned issue is resolved. Thanks a lot ??

    Welcome

    Thread Starter zebracrossing

    (@zebracrossing)

    @desertthemesrohit

    The problem is I am quite new here and I don’t know how to start a topic in this forum. So pls let me mention my second hurdle.

    How to make the author/user icon compatible with the WP avatar chosen under ‘Settings > Discussion’ in the dashboard. At least 6 of your themes (Atus, Atuvi, etc.) readily accept these built-in avatars and display them in Posts and Comments automatically. My fav themes in the series lack this provision. Any wayout, pls? Thanks.

    desertthemesrohit

    (@desertthemesrohit)

    Can you please explain what you really want to do with user icon ?

    Thanks

    Thread Starter zebracrossing

    (@zebracrossing)

    @desertthemesrohit, Look at our Avatars on this page. These are automatically formed because of the choice made under WP Settings > Discussion Settings > Default Avatar. As you must know, WP comes with 8 Default Avatar choices including BLANK. In all WP themes the COMMENTS section picks this option regardless of other settings. In CSS I can see it mentioned as

    .defaultavatarpicker .avatar {
    margin: 2px 0;
    vertical-align: middle;
    }

    From Admin to users all get their avatar automatically from this setting. Comments and all author-related plugins follow this. I got my avatar on this page automatically. Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.