Tag: custom fields
WordPress: How to Hide Custom Field Meta Key from Custom Fields panel
I learned this trick when someone asked about How to Hide Custom Fields Meta Key from Custom Fields panel. This trick useful when you want to hide certain Custom Fields Meta Key and Value from client or authors Add following code to functions.php This code to hide a Custom Field Meta Key, just change mymetakey_no1…
WordPress: Shortcode in Custom Field
Normally wordpress does not run shortcode that you put into a custom field. By default, Custom Fields display whatever value you enter, as plain-text, so if you try entering a shortcode, (in the format [shortcode] VALUE [/shortcode]) you’ll end up displaying the entire text, including the tags. Add the following in your template file, it…