• Resolved ogessel

    (@ogessel)


    Hi Ajay,

    We use the following function to display the current year wherever we need it:

    //* Shortcode to display the current year in WordPress
    //* shortcode: [year]
    add_shortcode( ‘year’ , ‘current_year’ );
    function current_year() {
    $year = date(“Y”);
    return “$year”;
    }

    But it doesn’t work with CRP, see https://prntscr.com/o8zs3y and https://prntscr.com/o8zrww

    Is there a way to make it work also in the titles displayed in CRP?

    Thx,
    Olaf

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Automatic year not working with CRP’ is closed to new replies.