Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

Adding shortcode in custom template


 
Prev Previous Post   Next Post Next
  #1  
Old May 20, 2009, 08:13 AM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
Adding shortcode in custom template

I want to use MM Forms to make various feedback forms for my site. I have a custom template for a category called Career Doctor, and a form for users to ask questions about career problems. I can't just pop the shortcode for the form into a post, because I want it to be in a certain place on every post, hence the custom template.

If I just paste the shortcode into the template at the right spot, it simply shows up "en clair" when published. I found a website which explains how to put it into PHP code in the template, and I tried it:
Code:
<?php echo do_shortcode('[form 3 "Career Doctor"]'); ?>
, but it stills shows up on the page as [form 3 "Career Doctor"] . What am I doing wrong?
 

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I enter shortcode? LemBook Sidebars & Widgets 8 May 17, 2009 07:40 PM
Quick question regarding shortcode/snippet in header chirop Plugins & Atahualpa 0 Mar 24, 2009 12:16 PM
Creating custom post template paulae Atahualpa 3 Wordpress theme 3 Mar 18, 2009 11:36 AM
Adding custom pages to menu FH4U Page & Category Menu Bars 2 Feb 9, 2009 03:31 PM
New Template Page Axon Atahualpa 3 Wordpress theme 1 Feb 8, 2009 02:34 PM


All times are GMT -6. The time now is 02:18 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.