Sign in

Theme config API – anchor

  • This topic has 1 reply, 2 voices, and was last updated 7 months, 3 weeks ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9635
    Avatar photobjazmoore

    I saw this today when studying the theme Simple 2.5.0.0 – there is an “anchor” item:

    {
        "anchor": "hero",
        "name": "separator",
        "type": "separator",
        "label": "Hero Section",
        "group": "Colors",
        "size": "big"
    },

    The “anchor” appears once in that theme and part of a separator type item.  Is it just an error or is it perhaps an undocumented feature.  As near as I  can tell it does not affect the theme settings in Publii at all.

    Just curious.

    Thanks

    #9811
    Avatar photoTomasz Dziuda

    Hi,

    It is just used as `id` attribute of field, to be honest – I do not remember if it has some use case now 🙂

    --
    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!

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