2 Feature Suggestions

Support General 2 Feature Suggestions

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1840
    JohannJohann
    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

    #1849
    Anh TranAnh 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
    JohannJohann
    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 TranAnh 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 4 posts - 1 through 4 (of 4 total)
  • The topic ‘2 Feature Suggestions’ is closed to new replies.