• I’m using the Blix template and in this particular template, the date of each post includes at “th” or “rd” after the date (e.g., May 23rd or May 24th).

    I’m new to WordPress and PHP. Can anyone offer me any directions on what I should be looking for and where I should be looking for it to make the change.

    Appreciate your help…

Viewing 2 replies - 1 through 2 (of 2 total)
  • You can always pick a decent theme… but short of that:
    – check the settings in your Options for the date format;
    – edit the template files in the theme, usually they have this ugly habit to hardcode the date format there;

    About date formatting see: https://php.net/date

    You have to look in your theme files for lines that contain the_time('some_date_format'). Then look in the php manual, under ‘date and time function’ the codes to create you date string. The code ‘S’ creates the nd and th endings you want to get rid of. For example, if your call to the time funcion looks like the_time('F jS, Y'), delete de S and you’ll end up with the_time('F j, Y')

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove “th” and “rd” from Blog Post Dates’ is closed to new replies.