Wordpress custom theme development
Page 1 sur 1
Wordpress custom theme development
Hello
I am working on a custom WordPress theme. On main page, I am showing 10 latest posts and have added a static button called “View all posts” linking to a page where all posts are showing with paging.
Now below are my questions
1. How do I link the button to that page showing all posts (which is a custom template page). If I add it as ?page_id=96 then it shows the id even when I change the URL permalink structure
2. I have two type of posts, one is standard blog posts, other are products, how do I differentiate them as they will be using two different single.php pages.
3. On homepage, products are shown, I want to link them to single.php which will show product details, may be we name that as single-product.php. So for this, what will be the anchor tag for products on homepage? I am using <?php the_permalink() ?> for now
Please help on this.
Thanks in advance
I am working on a custom WordPress theme. On main page, I am showing 10 latest posts and have added a static button called “View all posts” linking to a page where all posts are showing with paging.
Now below are my questions
1. How do I link the button to that page showing all posts (which is a custom template page). If I add it as ?page_id=96 then it shows the id even when I change the URL permalink structure
2. I have two type of posts, one is standard blog posts, other are products, how do I differentiate them as they will be using two different single.php pages.
3. On homepage, products are shown, I want to link them to single.php which will show product details, may be we name that as single-product.php. So for this, what will be the anchor tag for products on homepage? I am using <?php the_permalink() ?> for now
Please help on this.
Thanks in advance
_________________
Online Earning
Webmaster Zone
Sujets similaires
» Development Atlantic - developmentatlantic.com
» Wordpress plugin
» Paying since 2008 - http://changerinvestmentgroup.wordpress.com/
» Financial Mutual Development - financialmutualdevelopment.com
» Wordpress plugin
» Paying since 2008 - http://changerinvestmentgroup.wordpress.com/
» Financial Mutual Development - financialmutualdevelopment.com
Page 1 sur 1
Permission de ce forum:
Vous ne pouvez pas répondre aux sujets dans ce forum
|
|
Aujourd'hui à 14:53 par SQMonitor
» F7 Trust - f7trust.com
Hier à 19:04 par mixpepper22
» MyFastBoot - myfastboot.net
Hier à 16:54 par IncredibleEarnings
» Luxio Profit - luxioprofit.com
Hier à 15:35 par mixpepper22
» Endowrise - endowrise.com
Hier à 15:33 par mixpepper22
» Vintal - vintal.online
Hier à 15:30 par mixpepper22
» Bitcobid Limited - bitcobid.com
Hier à 15:27 par mixpepper22
» Luxio Profit - luxioprofit.com
Hier à 14:44 par SQMonitor
» MyFastBoot - myfastboot.net
Hier à 14:39 par SQMonitor