[wp-hackers] Turn on custom fields from plugin
Brian Hogg
brian at brianhogg.ca
Wed Aug 7 11:59:15 UTC 2013
I think what Marko was hinting was to use a custom meta box instead, which would allow you to provide a nicer user experience vs. showing all custom meta fields from your plugin and others. Documentation here:
http://codex.wordpress.org/Function_Reference/add_meta_box
Make sure to add a check if it's an autosave call:
http://techwithketan.wordpress.com/2011/04/14/auto-save-problem-for-custom-variables/
---
brianhogg.com
905.966.1778
On 2013-08-07, at 7:54 AM, "Guus \(IFS\)" <guus at inspiration-for-success.com> wrote:
> Thanks. I think that's just the answer I needed.
>
> I use the custom fields for my SEO plugin: http://wordpress.org/plugins/ifs-seo-simple/ to set the title tag, meta description tag and meta keywords tag and got feedback that it was not clear where to put the data (and that could still use some more explanation and screendumps...).
>
> ----- Original Message ----- From: "Marko Heijnen" <mailing at markoheijnen.nl>
> To: <wp-hackers at lists.automattic.com>
> Sent: Wednesday, August 07, 2013 7:18 PM
> Subject: Re: [wp-hackers] Turn on custom fields from plugin
>
>
>> See http://codex.wordpress.org/Function_Reference/add_post_type_support.
>>
>> Also why enabling something like that? It doesn't really provide a good user experience.
>>
>> Marko
>>
>> Op 7 aug. 2013, om 12:57 heeft "Guus \(IFS\)" <guus at inspiration-for-success.com> het volgende geschreven:
>>
>>> Hi,
>>>
>>> I am looking for a way to turn on the visibility of custom fields through my plugin. Google search didn't give me a quick answer to this.
>>>
>>> Is there a 'legal' way to turn on this option for a (or all) users?
>>>
>>> Guus
>>> _______________________________________________
>>> wp-hackers mailing list
>>> wp-hackers at lists.automattic.com
>>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
More information about the wp-hackers
mailing list