Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/qa-db.php on line 556

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/util/string.php on line 702

Deprecated: strcmp(): Passing null to parameter #2 ($string2) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/app/format.php on line 86

Deprecated: substr(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/pages/question.php on line 185

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/pages/question.php on line 198

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/util/string.php on line 702

Deprecated: strcmp(): Passing null to parameter #2 ($string2) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/app/format.php on line 86

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/util/string.php on line 702

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/app/users.php on line 1277

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/pages/question-view.php on line 473

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/util/string.php on line 702

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/util/string.php on line 702

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/qa-base.php on line 722
Metafields option not working - Sections Anywhere Q&A - Saltye

  • Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/qa-theme-base.php on line 648
    Questions
    Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/qa-theme-base.php on line 661

  • Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/qa-theme-base.php on line 648
    Unanswered
    Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/qa-theme-base.php on line 661

  • Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/qa-theme-base.php on line 648
    Tags
    Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/qa-theme-base.php on line 661

  • Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/qa-theme-base.php on line 648
    Users
    Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/qa-theme-base.php on line 661

  • Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/qa-theme-base.php on line 648
    Ask a Question
    Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/qa-theme-base.php on line 661
0 like 0 dislike
850 views

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/qa-theme-base.php on line 160

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/qa-theme-base.php on line 162
in Sections Anywhere by

I've found this code in the ATB snippet which I've added to my theme settings but the editor is still writing to snippets instead of metafields.

{%- comment -%} to use add this to config/settings_schema.json {%- endcomment -%}

{%- comment -%}

,

  {

    "name": "SectionsAnywhere",

    "settings": [

      {

        "type": "checkbox",

        "id": "atb_use_meta",

        "label": "Use Metafields for Sections Anywhere",

        "info": "Save data to meta",

        "default": false

      },

      {

        "type": "checkbox",

        "id": "atb_use_theme_based_meta",

        "label": "Use Metafields for Current Theme Only",

        "info": "With each theme data is different",

        "default": false

      }

    ]

  }

{%- endcomment -%}


Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/qa-theme-base.php on line 935

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/qa-theme-base.php on line 935

1 Answer

0 like 0 dislike

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/qa-theme-base.php on line 160

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/qa-theme-base.php on line 162
by (1.3k points)
After adding the code, did you enable metafields by activating that setting?

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/qa-theme-base.php on line 935

Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in /srv/users/serverpilot/apps/faqsaltye/public/qa-include/qa-theme-base.php on line 935
Welcome to Sections Anywhere Q&A - Saltye, where you can ask questions and receive answers from other members of the community.
...