Hello,
I have enabled the use of custom fields for Portfolio items. However, I would only display those used in the administration.
Thank you.
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
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?
Hi,
in the meantime I found another solution. I use the Advanced Custom Field plugin.