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
|
|
Hier à 12:22 par SQMonitor
» Gain Pay Club - gainpay.club
Hier à 12:19 par SQMonitor
» Yinks Fund - yinksfund.com
Hier à 10:04 par SQMonitor
» Cfg Liberty - cfgliberty.com
Hier à 9:43 par SQMonitor
» SafeAssets - safeassets.com
Hier à 9:37 par SQMonitor
» Dividend Growth Ltd - dividendgrowth.online
Hier à 9:32 par SQMonitor
» ConsPro - conspro.biz
Hier à 9:26 par SQMonitor
» Endowrise - endowrise.com
Ven 26 Avr 2024 - 19:44 par mixpepper22
» Vintal - vintal.online
Ven 26 Avr 2024 - 19:41 par mixpepper22