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 »

[SOLVED] Confused about how to insert Cforms Tell-a-Friend on a single post page


 
Prev Previous Post   Next Post Next
  #1  
Old Sep 27, 2009, 05:10 PM
alymid
 
6 posts · Sep 2009
[SOLVED] Confused about how to insert Cforms Tell-a-Friend on a single post page

We've been using Cforms for a while on our group blog. Recently we changed over to Atahualpa. We use the Tell-a-Friend function to allow people to nominate posts for awards that we give out.

We only want the TAF form to show on the single post pages, under the comments.
The Cforms instructions for that are:

Code:
Simply add a <?php insert_cform(#); ?> (# = your form id) to your existing single.php and/or page.php template, e.g:
[...]
<?php the_content('<p>Read the rest of this entry »</p>'); ?>
<?php if ( is_tellafriend( $post->ID ) ) insert_cform(#); ?>
[...]
And while i am generally fairly decent at figuring out how to do this, where it goes in this theme is mystifying me a bit. Any ideas of where to insert this?
 

Bookmarks

Tags
cforms, code insertion, php

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing Dashed Line Above 1st Post on Single Post Page krystyna Post-Kicker, -Byline & -Footer 2 Aug 27, 2009 05:14 PM
Adding signature under single post, not on frontpage /multiple-post page AnneTanne Post-Kicker, -Byline & -Footer 0 Aug 19, 2009 02:16 PM
Archive page shows post box help, and single post on front page help boberang Atahualpa 3 Wordpress theme 0 Aug 7, 2009 09:26 AM
[SOLVED] Next post and previous post links on top of single post page error susieswe Atahualpa 3 Wordpress theme 2 Jul 15, 2009 02:58 PM
How to select the page for cForms dpdoug Plugins & Atahualpa 2 Jun 9, 2009 08:22 AM


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


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