Hello,
I am using the Wordpress Shopperpress template which I am attempting to customize to bring the article into "Right_ItemBox" instead of "ItemBoxTop" I have attempted numerous adjustments, which all give me error messages which when fixed lead to more error messages, which lead to more error messages, and more error messages. The most common of these are unexpected T_EXIT and unexpected(<). Any help would be greatly appreciated!
The code currently reads:
<div id="Right_ItemBox">
<h2>Buy Targeted Web Traffic</h2>
<div style="clear:both;"></div>
<br />
<hr />
<div style="min-height:100px;">
<div class="paybox" style="width:440px;display:none; ">
<!-- AMAZON BUY BUTTON -->
<!-- AFFILIATE BUY BUTTON -->
<!-- EXTRA AFFILIATE BUY BUTTON -->
</div>
<!-- end BUY LINKS -->
<!-- product warranty -->
</div>
<a class="post-edit-link" href="wp-admin/post.php?post=103&action=edit" title="Edit Post"><div style="padding:10px; background:red; color:#fff; text-decoration:none; width:430px;"><b>Admin Options:</b> Edit this item</div></a>
</div>
<?php
/*************************** THIS IS NOT A PRODUCT PAGE BUT AN ARTICLE PAGE ****************************/
/*******************************************************************************************************/
if($item['type'] =="article"){ ?>
<h1 class="ItemBoxTop" style="margin-top:0px;">
<b class="ItemLineHeight"><?php the_title(); ?></b>
</h1>
<div class="ItemBox">
<?php if ($DisplayImage) { ?>
<div class="pic fl">
<img src="<?php echo SPImage($DisplayImage,"l"); ?>" alt="<?php the_title(); ?>" id="ArticleImage"/>
</div>
<?php } ?>
<div style="margin-left:30px; padding-top:30px;">
<div class="post-title">
<h2><?php the_title(); ?></h2>
<div class="post-date"><em>On <?php the_time('l, F jS, Y') ?> at <?php the_time() ?>, <?php if($hits != ""){ echo SPEC($GLOBALS['_LANG']['_views'])." ".$hits." ,"; } ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?> </em></div>
<br />
<?php the_content('<p class="serif">Read the rest of this entry »</p>'); ?>
</div>
</div>
<div style="clear:both;"></div>
</div>
<?php } ?>
<!-- END ARTICLE CONTENT DESCRIPTION -->
<!-- MAIN CONTENT DESCRIPTION -->
<?php if(get_option("display_description") !="no" && $item['type'] !="article"){ ?>
<h1 class="ItemBoxTop"><b class="ItemLineHeight"><?php echo SPEC($GLOBALS['_LANG']['_itemdescription']) ?></b></h1>
<div class="ItemBox">
<?php /*
UNCOMMENT THIS IF YOU WANT TO DISPLAY AMAZON IMAGES
echo str_replace("https : //","https://",str_replace("http : //","http://",$post->post_content));
*/ ?>
<div class="inner"><?php the_content(); ?></div>
</div>
<?php } ?>
<!-- END CONTENT DESCRIPTION -->