How to Add Content In Homepage Only, Page 2 Only, Specific Category, And Specific Tag

Adding content in homepage only

<?php if(is_home() && !is_paged() ) { ?>
-- YOUR CONTENT HERE --
<?php } ?>

Adding content in page/2 only

<?php 
// get current page we are on. If not set we can assume we are on page 1.
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
// are we on page two?
if(2 == $paged) {
 ?>
-- YOUR CONTENT HERE --
<?php } ?>

Adding content in tag ‘health’ only

<?php if ( is_tag('health') ) { ?>
-- YOUR CONTENT HERE --
<?php } ?>

Adding content in category ‘movie review’ only

<?php if ( is_category('movie-review') ) { ?>
-- YOUR CONTENT HERE --
<?php } ?>

 

In case you’re interested in knowing more info on makeup training nyc, stop by http://www.ninamua.com

Visit http://www.edgesigns.com to find out more regarding retractable awning

Visit marketerium.com to find out more regarding seo san diego

3,585 thoughts on “How to Add Content In Homepage Only, Page 2 Only, Specific Category, And Specific Tag

  1. It’s absolute delight to come across an author that cares regarding their job. You apparently worry regarding what you come up with and also take time to get it right.

  2. I have been seeking some information to help me clear up this particular topic as well as your write-up did just that. I’m pleased you actually wrote this and made it available.

  3. You’ve really made me think with this particular content. Your own way of writing as well as your composing expertise is awesome. I personally appreciated reading the post as well as aspire to find out more.

  4. The volume of information in this post has just enthralled me, because all I’ve been able to get is actually introductory info on this specific topic. Thanks a lot.

  5. I am impressed together with the work you’ve so obviously put into this particular content. I’m furthermore amazed with your point of view on this subject, especially because you have made your own points so very clear.

  6. It’s not really typical for me to go through this type of material, nevertheless this captured my personal focus the moment I just read the very first sentence. Thank you.

  7. Nice write-up! It is one bit of info I’m able to comprehend and also agree upon with you. Many thanks for keeping it uncomplicated and easy to read. You are a talented author that generates high quality material.

  8. I’m saving your own article in my favorite’s folder to visit again You actually made sensible points in this specific content that I require no further exploration. I accept nearly all of this information. Tremendous job.

  9. You’ve made very good points in this post and you have delivered them in a remarkable format that is simple to read as well as comprehend. That is actually brain stimulating and thought provoking content. This sort of writing is exclusive.

  10. Fantastic material! I’ve genuinely loved this write-up. It is nothing short of master in my viewpoint and you have kept it away from the standard dull information. Extremely great work.

  11. I actually saved this content so I can examine it further later. I actually must ponder on a few of the points you have made. I personally do accept most of this info.

  12. I really appreciate exciting material similar to this. This particular is an awesome post. The points are presented in a distinctive way and also the content is nicely written. I actually adored this reading.

  13. I have added this specific article to my favorites bar as I wish to go through it again. I agree on many of the opinions you have created, nonetheless I feel the need to take into consideration some elements.

  14. I view plenty of articles right now which don’t make much sense, however you have executed an amazing work of making sense of something that otherwise doesn’t. Very smart work.

  15. This article is an exclusive wealth of enlightening material. You actually grabbed my own attention right away together with the points you made. Writers who take the time and make the effort to provide top quality writing are worthy of a reward.

  16. This is really attention grabbing info. It triggers sensors in my mind which have been dormant for quite a while. Many thanks for making it intriguing and clear. I’ve been searching for content such as this.

  17. I’m no master on this subject, but your views are much just like mine in this area and I appreciate how you’ve composed this post. You are a wonderful writing expertise.

  18. There are a lot of valid points right here with which I personally agree. I’ll have considered a few of them, however that is actually why I enjoy this specific article.

  19. Thank you so much for writing this specific article. I have been seeking info similar to this. I’d been baffled by different related articles, nonetheless you solved the problem.

  20. I’ve the identical thoughts on much of this content. I’m grateful I am not the only person who feels such as this. You’ve actually composed an excellent quality write-up right here. Thanks a lot.

  21. I’m not really a writer, nevertheless I cherish to read a lot and I really know what I personally prefer. Furthermore I understand outstanding writing when I see it which is wonderful.

  22. I agree with some of the points in the article above. In today’s real-world this doesn’t necessarily apply. I’ve a colleague that is a bit of an expert in the subject.

  23. I am not excellent with words, nevertheless it’s apparent that you’re stunning with them. This is a very intriguing article and I liked it a lot. I agree fully.

  24. I could love extraordinary writing when I take a look at it. This is really top quality writing. You truly come up with sensible and intriguing points which you have offered in a special way. It is a wonderful high quality article.

  25. Often I need to determine what the author is trying to say in their content articles. There is absolutely no uncertainty with regards to your write-up. It is brilliant!

  26. I have found your own post quite helpful and interesting. I personally appreciate your viewpoints and I also accept several. You’ve done a good job with making this crystal clear enough for anyone to understand.

  27. I am wishing to envision just how much work it took for you to write this particular superb article, however I can’t. I am certain you actually investigated and also did lots of pondering in order to make these intriguing points.

Leave a Reply

Your email address will not be published. Required fields are marked *