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 à 1:02 par SQMonitor
» Dividend Growth Ltd - dividendgrowth.online
Aujourd'hui à 0:58 par SQMonitor
» Aitimart - aitimart.com
Aujourd'hui à 0:54 par SQMonitor
» SafeAssets - safeassets.com
Aujourd'hui à 0:36 par SQMonitor
» Zettron - zettron.online
Aujourd'hui à 0:14 par SQMonitor
» Cfg Liberty - cfgliberty.com
Hier à 23:59 par SQMonitor
» West Villa DB Investment - westvilladb.com
Hier à 23:57 par SQMonitor
» MyFastBoot - myfastboot.net
Hier à 23:54 par SQMonitor
» Bitcobid Limited - bitcobid.com
Hier à 23:35 par SQMonitor