• Resolved Nirr

    (@nirmithamw)


    Hello!

    I see that you already have variables for “current year” -> {{ current.year }}

    Can you also add for “current month” -> {{ current.month }}

    I mean, then each month, we don’t need to update the titles.

    This is a must requirement for coupon websites.

    I switched to your plugin from another popular one. This is the only shortcoming I see in SlimSEO.

    Please add this to your schedule and give this option in the next update.

    Best.

    • This topic was modified 1 month, 2 weeks ago by Nirr.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Anh Tran

    (@rilwis)

    Done. This will be available in the next version.

    Thread Starter Nirr

    (@nirmithamw)

    Thanks so much for your reply, Tran!

    Thread Starter Nirr

    (@nirmithamw)

    I see that you’ve added this {{ current.month }} variable, but not in the way I thought.

    Well, each month, it should show the current month’s name like January, February, March, etc.

    But, {{ current.month }} will add the month in the number format (1,2,3) – this is not what I mean.

    It should show the month in naming style and the numbering style is not helpful.

    • This reply was modified 1 month, 1 week ago by Nirr.
    Plugin Author Anh Tran

    (@rilwis)

    Hi @nirmithamw ,

    It would be hard to choose which format to show for current month. You might need full month name (January), but others might need just 01, or Jan.

    In this case, I’d suggest you creating a simple shortcode to get the month name, like this:

    add_shortcode( 'month', fn() => date( 'F' ) );

    And then use the shortcode [month] in the meta title.

    Thread Starter Nirr

    (@nirmithamw)

    This format is way batter, I guess: Jan 2024, Dec 2024, Feb 2024

    So, I created this:- add_shortcode( 'month_year', fn() => date( 'M Y' ) ); and added it as a snippet.

    Now, I can use this on meta titles [month_year]

    If possible, Add this format to “Others” section of the plugin.

    Thanks in advanced!

    • This reply was modified 1 month, 1 week ago by Nirr.
    • This reply was modified 1 month, 1 week ago by Nirr.
    • This reply was modified 1 month, 1 week ago by Nirr.
Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.