Toolset Types
[resolved] Insert code? (3 posts)

  1. Nick van de Veerdonk
    Posted 3 years 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


  2. Amir Helzer
    Plugin Author

    Posted 3 years ago #

    Types has a pretty comprehensive API for displaying different kinds of custom fields. It's documented here:

    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. Nick van de Veerdonk
    Posted 3 years 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

  • Toolset Types
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic