Temlate shows not visible info from DB fields _postmeta

January 2013 WordPress Theme
GK User
Sun Mar 10, 2013 12:32 pm
Facebook plugins store information in DB in field _postmeta, but this info should NOT BE VISIBLE in frontview..\But it is.. How ti fix it? look after example..

example here http://sport.mamywas.pl/bramka-kazmierczaka-w-meczu-z-ruchem-chorzow-video/
User avatar
Fresh Boarder

GK User
Sun Mar 10, 2013 6:30 pm
Hi,

The mentioned plugin is wrong written, because their post meta data are not stored as a protected post meta data - wordpress contains useful function - is_protected_meta which returns true if the specific meta data contains "_" as a first character in the meta key - then the post meta data are not displayed. It is a common bug in many extensions for WordPress and it is not a bug in our themes. Fortunately we have prepared for similar cases and you can:

* disable totally showing custom post fields - Theme Options -> Advanced -> Custom fields -> disable
* disable showing of the specific post fields - Theme Options -> Advanced -> Hidden Custom Post Fields -> specify list of field names to hide separated by comma.
User avatar
Administrator

GK User
Sun Mar 10, 2013 10:16 pm
great, it works with option 1 - disable totally, but its not work for my with specify fields. I think i write something wrong.. Do you know what exacly i should write there??
User avatar
Fresh Boarder

GK User
Mon Mar 11, 2013 8:48 am
Sorry but I cannot specify the proper value of this option, because you have disabled the custom fields displaying.
User avatar
Administrator

GK User
Mon Mar 11, 2013 9:36 am
ok, thanks for help, but its was very simple. I write now "snapFB,snap_isAutoPosted,snapEdIT" and in warks great..
User avatar
Fresh Boarder


cron