WordPress.org

Ready to get started?Download WordPress

Forums

shortcode in theme options panel disappearing (4 posts)

  1. flint_and_tinder
    Member
    Posted 2 years ago #

    I've recently added a theme options panel to a site I'm working on using the tutorial here: http://net.tutsplus.com/tutorials/wordpress/how-to-create-a-better-wordpress-options-panel/. However I am having an issue with the Contact Form 7 shortcode disappearing when inserted into a field.

    For example when I try and post[contact-form-7 id="90" title="Contact form 1"] it automatically get trimmed to [contact-form-7 id= which obviously causes the code in my template to not display the form.

    Does anyone know why this is happening and what I can do to solve it?

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    That doesn't look like a very good tutorial to me. This one should be considered the definitive guide: http://www.chipbennett.net/2011/02/17/incorporating-the-settings-api-in-wordpress-themes/

  3. timDesain
    Member
    Posted 2 years ago #

    is the contact-form-7 plugin still active?

  4. flint_and_tinder
    Member
    Posted 2 years ago #

    @esmi thanks for the link I'll try that tuturial instead and see if it makes a difference.

    @timDesain seems to be. The only reason I use it is the plug-in is the only one I've found that with the help of another plug-in records all inputed data into the database so that it can be exported out for marketing lists.

Topic Closed

This topic has been closed to new replies.

About this Topic