WordPress.org

Ready to get started?Download WordPress

Forums

  1. nmvdvjr
    Member
    Posted 1 year ago #

    Hi guys custom posts/fields are the next step in my WordPress adventure and I'm very excited to begin! Newbie so excuse me for limited lingo :-) I've read a lot about your plugin but couldn't find wether I can put code/php as input and have the function as output (as opposed to the literal code text): for example a field to paste Google adsense code in and have the advert on the website. Thanks in advance! Nick

    http://wordpress.org/extend/plugins/types/

  2. AmirHelzer
    Member
    Plugin Author

    Posted 1 year ago #

    Types has a pretty comprehensive API for displaying different kinds of custom fields. It's documented here:
    http://wp-types.com/documentation/functions/

    However, Google Adsense should probably be added as PHP, directly to the theme. It's loaded with Javascript and will easily break with visual editing.

    Does this make sense?

  3. nmvdvjr
    Member
    Posted 1 year ago #

    Hi Amir, thanks for your reply: it does make sense!! Saved me a lot of time thank you

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags