Okay
  Public Ticket #1716779
Shortcodes in the copyright area
Closed

Comments

  • Yeoman started the conversation

    Hello there,

    is there a way to insert a dynamic date for the current year (a shortcode would be the best solution) in the footer’ copyright area?

    I have already tried to insert the following function in the "function.php" file of the child theme:

    •  function year_shortcode() {
    •  $year = date('Y');
    •  return $year;
    •  }
    •  add_shortcode('year', 'year_shortcode');
    •  add_filter('widget_text', 'do_shortcode');

    But in the footer' bottom-bar it does not work, could there be a way to enable the function also for the bottom-bar of the copiryght area?

    Thanks, Dario.

  •  165
    Amy Parker - support replied

    Hello,

    Please provide us with WP Dashboard and FTP login credentials in private answer. Thank you.

    Regards.


    LEVELUP Support