• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Modern Studio Pro – Changing date format

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Modern Studio Pro – Changing date format

This topic is: resolved

Tagged: date format, Modern Studio Pro

  • This topic has 7 replies, 3 voices, and was last updated 7 years, 5 months ago by pixelpushers.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • April 8, 2016 at 3:50 am #183156
    pixelpushers
    Member

    Hi,

    I 'm building a site at the moment using Modern Studio Pro

    At the top of the posts the date always appears in the month-day-year format (ie today would be 04.08.2016)

    I'm British and we never format dates like this (we always use day-month-year)

    Can anyone tell me how to change this so it would read as either 8th April 2016 or 08.04.2016? It must be a theme setting as when I try and change the date format in general wordpress settings it remains the same.

    Also if any StudioPress staff read this it would be great if you coded the themes so these defaults weren't just for an American audience!

    Thanks

    Gill

    http://local only
    April 8, 2016 at 9:55 am #183176
    carasmo
    Participant

    That's not a StudioPress setting it's WordPress. Go to your http://yoursite.com/wp-admin/options-general.php and choose the date format. You can use php date code in the field to adjust it even more than the default options.

    http://php.net/manual/en/function.date.php


    Genesis Theme Customization and Help

    April 8, 2016 at 9:58 am #183177
    carasmo
    Participant

    Also change the language to English UK (very bottom of the page).


    Genesis Theme Customization and Help

    April 8, 2016 at 10:34 am #183180
    pixelpushers
    Member

    Thanks but as I said already it doesn't appear to be that WordPress setting - I had already tried changing the date format in General settings and WordPress language is already the English UK version. None of this makes any difference so I can only conclude it has to be a Studio Press setting. When I use other Studio Press themes I don't get this problem however, only this theme - can anyone else help please?

    April 8, 2016 at 12:16 pm #183181
    carasmo
    Participant

    This is the community forum, your issue may be a bug or you may have to clear your cache or go through your plugins to see if there is a conflict. I usually develop with debug on and when there is something that appears like a bug that I've never seen before, I switch to 2016 theme and if it's still there, then it's a plugin. Get help from SP directly: http://my.studiopress.com/help/


    Genesis Theme Customization and Help

    April 9, 2016 at 3:44 am #183202
    pixelpushers
    Member

    Thanks - I have tried clearing the cache (no joy) - I have also tried a completely clean installation of the theme without plugins and the issue is still the same. I will do as you suggest and contact SP support.

    April 9, 2016 at 4:41 am #183204
    Victor Font
    Moderator

    Modern Studio Pro has this code in its functions.php:

    //* Customize the entry meta in the entry header
    add_filter( 'genesis_post_info', 'ms_entry_meta_header' );
    function ms_entry_meta_header( $post_info ) {
    
    	$post_info = '[post_date format="m.d.Y"] <span class="by">by</span> [post_author_posts_link] // [post_comments] [post_edit]';
    
    	return $post_info;
    
    }

    Change it to:

    //* Customize the entry meta in the entry header
    add_filter( 'genesis_post_info', 'ms_entry_meta_header' );
    function ms_entry_meta_header( $post_info ) {
    
    	$post_info = '[post_date format="d.m.Y"] <span class="by">by</span> [post_author_posts_link] // [post_comments] [post_edit]';
    
    	return $post_info;
    
    }

    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    April 12, 2016 at 8:21 am #183443
    pixelpushers
    Member

    Thanks very much Victor - I just got the same info from StudioPress support too so the issue is resolved. Do find it rather odd that they would set this so the standard WordPress method of changing the date format no longer works - seems a bit of a backward step. Anyway, thanks for your help.

  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble