Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #402149

    Hello,

    I have enabled the use of custom fields for Portfolio items. However, I would only display those used in the administration.

    Thank you.

    #402505

    Hey nparent!

    Thank you for using Enfold.

    Unfortunately, you can’t remove those because some of the meta fields are needed to run the theme, the header_title_bar for example. There’s a workaround, hide it using css but you will need to get the meta id. Example, add this to the functions.php:

    add_action('admin_head', 'ava_remove_video_element');
    function ava_remove_video_element() {
    echo '#postcustomstuff tr:first-child { display: none !important; }';
    }

    This will hide the first custom field. Use css child selectors to hide the others.

    Regards,
    Ismael

    #776535

    Hei Ismael,
    I have the same problem. But your suggestion won´t work. Also if I put in the meta-ID – nothing happens!
    Can you help?

    #776563

    Hi,
    in the meantime I found another solution. I use the Advanced Custom Field plugin.

    #777012

    Hi @frankeee,

    Thanks for the feedback, let us know if you should need any further help on the topic.

    Best regards,
    Rikard

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