Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7780291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T18:51:02+00:00 2026-06-01T18:51:02+00:00

I need to customize the date format in WordPress. I know that minor date

  • 0

I need to customize the date format in WordPress. I know that minor date changes can be made from Dashboard << Settings << General << Date. But my needs are not fulfilled from that.

I need that on post page, Month should have different font style and Day with a different font.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T18:51:03+00:00Added an answer on June 1, 2026 at 6:51 pm

    If I’m understanding your question correctly, one solution would be to wrap each part of the date in a different span class. So whenever you want to insert the date you would use something like the following:

    <?php the_time('F', '<span class="month">', '</span>'); ?>
    &nbsp;
    <?php the_time('d', '<span class="day">', '</span>'); ?>
    

    Then you can target these different span classes separately in your css.

    .month {
        font-family:serif;
    }
    .day {
        font-family:sans-serif;
    }
    

    This will output a format that looks like this: April 11 where both the month and date can be styled separately however you want. You can display a different month/date format by changing what you pass into the_time() function. For example, changing the month code to <?php the_time('m', '<span class="month">', '</span>'); ?> will output Apr 11 instead.

    There are a lot of different configurations for this and there’s more info on that here http://codex.wordpress.org/Formatting_Date_and_Time

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to customize the normal TCP implementation so that I can implement and
I am working on a site in that site I need to customize the
I have inline jQuery UI DatePicker and need to customize format and look of
I need to customize the combobox widget build from the jQuery UI Autocomplete http://jqueryui.com/demos/autocomplete/#combobox
I need to customize the android.widget.Gallery . Where can I download the source code?
I need to customize the iphone keyboard. How can I do it? Also it
im writing a Soulver-like application with html+js. I need to customize text from input(highlight).
I'm working with an MS-SQL database with tables that use a customized date/time format
i need to customize function opConfig.reloadPrice(); in magento. can anyone tell me where is
I need to customize my table view can anyone help me how to do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.