1. This website uses cookies to improve service and provide a tailored user experience. By using this site, you agree to this use. See our Cookie Policy.
    Dismiss Notice

year changer in wordpress

Discussion in 'White Hat SEO' started by vldsam95, Jan 6, 2020.

  1. vldsam95

    vldsam95 Regular Member

    Joined:
    May 27, 2018
    Messages:
    381
    Likes Received:
    7
    Gender:
    Male
    Hello
    i want to use the current year in my titles and H1
    but i also want make it change the next year automatically

    there is some code or plugin for it?
     
  2. moneyflower

    moneyflower Power Member

    Joined:
    Jan 22, 2016
    Messages:
    501
    Likes Received:
    161
    Yea, short code anywhere and everywhere plugin will work.
     
    • Thanks Thanks x 1
  3. vldsam95

    vldsam95 Regular Member

    Joined:
    May 27, 2018
    Messages:
    381
    Likes Received:
    7
    Gender:
    Male
    can you tell me how i make this code and where i put it?
     
  4. moneyflower

    moneyflower Power Member

    Joined:
    Jan 22, 2016
    Messages:
    501
    Likes Received:
    161
    It is a plugin not a code, once you install the plugin, go to the settings and select where you want the current year to show.


    Install another plugin called Current year shortcode after which you can use the shortcode [y] anywhere within your posts or headers and it will automatically change to the current year.