- This topic has 3 replies, 2 voices, and was last updated 13 years, 2 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › [Previous page] [Next page]
I have 175 mp3 audios across 10 categories. I am also going to create 175 WP pages to go along with these 175 eStore products… Mainly for extended detail and SEO.
My question… on these 175 pages can I add [Previous page] [Next page] and have them move forard / Backwards within the item I have assigned to the category?
Regards
jeff
WP eStore products doesn’t have any knowledge of the actual page it is in (you can place a product where ever you like). This is something you have to control in the actual WordPress page (not eStore).
WordPress posts have a really easy way to create navigation option between them using the following function:
posts_nav_link
Here is an example use of this:
<div style="text-align:center;">
<?php posts_nav_link(' · ', 'previous page', 'next page'); ?>
</div>
I am not sure if they work for actual WordPress pages too. Anyway, this WordPress codex page might help:
Thanks, I will check it out.
But regards eStore not knowing the actual page I am on.
If current page is equal to any page in “Target URL for Thumb Image” Then set variable as TRUE
If current page is equal to any page in “Category” Then active category equals Category ID ?
So when the above two variables have values
While “Target URL for Thumb Image” exist in the Category list.
Next page is equal to “Target URL for Thumb Image” +1 (next ID)
End while
Anyway, rough logic idea… but sure it could be done.
Later on you could even create a LongDescription that would hole information for the Page/Post.
Anyway… You might want to consider that as I am sure it would make your eStore a lot more powerful with regards SEO as well as offer the ability to offer a ppage that would contain more product detail.
Regards
Jeff
Hi,
Sorry… in the above I meant to check current page against “Product URL”
Then if true… and it is associated with a category make an array of all items in category… and then use that as next pages / previous pages. Pretty sure it would work.
Regards
Jeff