Custom Fields
Re-Envisioned
Support General 2 Feature Suggestions

  • Creator
    Topic
  • #1840
    Johann
    Participant
    1. For Meta Box Show Hide (JS) a condition to query the front page would be helpful.
    2. For clonable fields and groups: Maybe you consider to implement a feature to reorder fields/groups by drag and drop?

    Thanks,
    Johann

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #1849
    Anh Tran
    Keymaster

    Hi Johann,

    1. You mean if the page is set as the static front page in Settings | Reading? Or just front page template?

    If front page template, we already have that with the option ‘template’.

    2. We have options to reorder clonable fields. Just add 'sort_clone' => true to the field and you will see :). It works for both normal fields and group.

    #1855
    Johann
    Participant

    Hi Anh,

    thanks for the suggestion with sort_clone, I didn’t know this 🙂

    As for the front page, I am using a front-page.php template and set a static page on Settings/Reading. I need some meta boxes that should only be available for the front page. But just querying front-page.php for the meta box code doesn’t work.

    #1859
    Anh Tran
    Keymaster

    Hmm, I see. So you set a fixed template for the front page and don’t use Page template at all.

    My suggestion is making the front page a normal page template (so it won’t be hardcoded) – template-front-page.php for example and use the extension to show meta box for this page template only:

    'show' => array(
        'template' => array( 'template-front-page.php' ),
    )
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘2 Feature Suggestions’ is closed to new replies.