Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

Inserting code into MULTI-POST pages

Old Jan 29, 2010, 04:29 PM
19 posts · Aug 2009
I'd like to add "Add To Cart" buttons below each post on MULTI-POST pages. I thought I could enter something like this below the loop but it doesn't work...

PHP Code:
if (is_archive()) {
'<div><?php echo do_shortcode('[eshop_addtocart]'); ?></div>';
  } else {
' ';
This part:
PHP Code:
<?php echo do_shortcode('[eshop_addtocart]'); ?>
Does work when I insert it via the Post Layout plugin but I can't seem to add it to the theme. What I was hoping to do was to make the buttons show below the abbreviated posts on those pages.

Old Jan 29, 2010, 04:32 PM
19 posts · Aug 2009
p.s. maybe I don't even need the "else" part but I figured it couldn't hurt...


archives, center column, ecommerce, page layout

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Displaying comments and comment form below each post on multi post pages, in 3.4.x Flynn Comments, trackbacks & pings 12 May 28, 2011 07:27 PM
[SOLVED] Removing Post Headline on Multi and Single Post Pages jen Center area post/pages 2 Jan 8, 2010 07:46 AM
How do I choose between Single Post Pages and Multi Post Pages? BradyKelly Atahualpa 3 Wordpress theme 2 Jan 3, 2010 05:17 AM
[SOLVED] Display 'Post Count' on all MULTI post pages joan Post-Kicker, -Byline & -Footer 1 Nov 18, 2009 03:08 AM
Inserting between Body and Footer on Multi-Post pages JakeThePeg Post-Kicker, -Byline & -Footer 1 Aug 27, 2009 04:52 AM

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

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