Dynamic Strings for Sinatra Text Widget

Dynamic strings are used in Sinatra Text Widgets for Top Bar and Copyright Bar sections.

  • {{the_year}} – Outputs the current year.
  • {{the_date}} – Outputs the current date. Uses WordPress date format option from Settings » General.
  • {{site_title}} – Outputs the Site Title.
  • {{current_user}} – Outputs the logged in user’s display name or an empty string if user is not logged in. The empty string can be filtered using sinatra_logged_out_user_name filter.
  • {{theme_link}} – Outputs theme credits. You don’t have to use this, but it is always very appreciated.

Was this article helpful?
0 out of 0 found this helpful

We're always happy to help with any questions you might have!
Ask the Community or open a support ticket and our team will reply with a solution.