Sign in

%sitename in theme footer?

  • This topic has 6 replies, 3 voices, and was last updated 2 months ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #10320
    Avatar photonas

    Building a site with QF Fahsion theme and for the simplicity wrote © %sitename in “Footer” field. Site shows output © %sitename  instead of © My Site Name.

    Did not tested other vars in other fields, just this one.

    Is it by design or a bug?

    #10321
    Avatar photoBob

    The variables dedicated to fields are listed below the fields. In Publii, they are available in Site Settings, not in Theme Settings.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #10322
    Avatar photonas

    Yes, now I see.

    Can this be a minor feature request then?…

    #10330
    Avatar photocandidexmedia

    I second this request. I’d also love to be able to use Publii tags and helpers inside of a post.

    #10355
    Avatar photoBob
    candidexmedia wrote:

    I second this request. I’d also love to be able to use Publii tags and helpers inside of a post.

    The %sitename element appears to be fine, but what about the %tagname, %posttitle or %authorname elements? They are not global and are displayed depending on the context.

    --
    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    #10359
    Avatar photocandidexmedia
    Bob wrote:

    The %sitename element appears to be fine, but what about the %tagname, %posttitle or %authorname elements? They are not global and are displayed depending on the context.

    I should have clarified: using helpers and tags inside of the post editor, kind of like how you can dynamically link to other posts.

    #10381
    Avatar photonas

    A good exapmple of placeholder variables is https://www.drupal.org/project/token module. I think global vars could be useful in many cases. Page/local/contextual vars – perfect!

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.