Cannot get the te(F, Y)% Date Published (Advanced) to display as formatted

#26036
  • Hi RankMath,

    I’m trying to edit the Snippet for a Page. I have the latest WP and Elementor PRO.

    %title% was home to %sitename% in %date(F, Y)%
    The Zanzibari Hotel was home to GuideVenturous in 2019-11-26

    %title% = The Zanzibari Hotel
    %sitename% = GuideVenturous
    %date(F, Y)% = 2019-11-26 BUT I want it to be “November, 2019”

    Actually, none of the Advanced seems to work for me. Regardless of how I change the format, the displayed values remain the same.

    //Matthias

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

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I have been able to replicate this bug on my end and this has been submitted to our developers for closer investigation.

    To workaround this at this time, you can use the below filter to create custom post titles for your single posts:

    /**
     * Filter to change the page title.
     * 
     * @param string $title
     */
    add_filter( 'rank_math/frontend/title', function( $title ) {
    	return $title;
    });

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hi Michael,

    Thank you for your prompt feedback. Good that you could reproduce it. I noticed that it actually seems to be working in the front end, at least for the title. Also a big thank you for the workaround. Since this is not mission critical in any way, more cosmetic, I’m going to leave it as it is and hope that the bug will be fixed eventually.

    //Matthias

    Hi Matthias,

    Thanks for the follow up.

    I am glad that this will not affect your project 🙂

    Feel free to contact us for any other questions, comments or suggestions. Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this ticket.