I have basically what is a static ecommerce type site (one product) but it's on wordpress.
I've built two small image links at the bottom of the content so there is two choices "Read More" "Buy now"
Right now the "read more" button just displays next post. What I want it to do is a small sequence of pages like:
If you are on pages/posts X - Link to A
If you are on page/post A - Link to B
If you are on page/post B - Link to C
If you are on C - Only show buy now link.
Any ideas on how I can do something like that?
Currently I have this as content-nav.php
Thanks for any help.
I've built two small image links at the bottom of the content so there is two choices "Read More" "Buy now"
Right now the "read more" button just displays next post. What I want it to do is a small sequence of pages like:
If you are on pages/posts X - Link to A
If you are on page/post A - Link to B
If you are on page/post B - Link to C
If you are on C - Only show buy now link.
Any ideas on how I can do something like that?
Currently I have this as content-nav.php
Code:
<div id="content-nav">
<?php
next_post_link("%link", "<img border=0 src='".get_bloginfo('template_url')."/path/readmore button'/>", FALSE);
?>
<a href="buy now link"><img border=0 src="<?php bloginfo("template_url")?>/path/buynow button"/></a>
</div>