WPBeginner

Beginner's Guide for WordPress

  • Blog
    • Beginners Guide
    • News
    • Opinion
    • Showcase
    • Themes
    • Tutorials
    • WordPress Plugins
  • Start Here
    • How to Start a Blog
    • Create a Website
    • Start an Online Store
    • Best Website Builder
    • Email Marketing
    • WordPress Hosting
    • Business Name Ideas
  • Deals
    • Bluehost Coupon
    • SiteGround Coupon
    • WP Engine Coupon
    • HostGator Coupon
    • Domain.com Coupon
    • Constant Contact
    • View All Deals »
  • Glossary
  • Videos
  • Products
X
☰
Beginner's Guide for WordPress / Start your WordPress Blog in minutes
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

WPBeginner» Blog» Tutorials» Display Subcategories on Category Pages in WordPress

Display Subcategories on Category Pages in WordPress

Last updated on June 21st, 2012 by Editorial Staff
16 Shares
Share
Tweet
Share
Pin
Free WordPress Video Tutorials on YouTube by WPBeginner
Display Subcategories on Category Pages in WordPress

When using WordPress as a CMS, or even as a blog you might want to display subcategories on category pages. There is really no easy way to do this and some ways that are out there on the web has various bugs. In this article we will show you how you can display subcategories on category pages using this hack.

Now the hack shared on Yoast’s blog is outdated and has bugs. The bug is that even though it shows the subcategories on the category page, but when you go inside the subcategory, it does not show any category. With the hack we are sharing it will show subcategories on the parent category pages, and when you click on the subcategories, you will still see other sibling categories in the parent category.

Ok if the above terminology did not make sense to you let us explain in another way. Lets say you have a top level (parent) category called Sports. You have three subcategories under sports called NFL, NBA, and MLB. Now when someone arrive to your homepage, you will only see Sports category and other top level parent categories. When someone clicks on Sports, the categories will now show only the subcategories under Sports, so it will be NFL, NBA, and MLB. Now with Yoast’s hack if you click on NFL, everything will be gone. With our hack when you click on NFL, it will still show NFL, NBA, and MLB.

So basically this hack is allowing you to List subcategories if viewing a Category, and brothers / sibling categories if in subcategory.

    <?php
    if (is_category()) {
    $this_category = get_category($cat);
    }
    ?>
    <?php
    if($this_category->category_parent)
    $this_category = wp_list_categories('orderby=id&show_count=0
    &title_li=&use_desc_for_title=1&child_of='.$this_category->category_parent.
    "&echo=0"); else
    $this_category = wp_list_categories('orderby=id&depth=1&show_count=0
    &title_li=&use_desc_for_title=1&child_of='.$this_category->cat_ID.
    "&echo=0");
    if ($this_category) { ?> 

<ul>
<?php echo $this_category; ?>

</ul>

<?php } ?>

Paste the above code wherever you like the categories to display and modify it however you please. The code listed above, when you visit the subcategory from the main category, hides the main category and only shows the subcategories.

If you want to show the main category also on subcategory pages, just remove the parameter depth=”1″ from the code above.

This is a very useful and handy category hack when it comes to designing templates for WordPress specially when using WordPress as a CMS.

For further details on parameters refer to WordPress Codex.

16 Shares
Share
Tweet
Share
Pin
Popular on WPBeginner Right Now!
  • Revealed: Why Building an Email List is so Important Today (6 Reasons)

    Revealed: Why Building an Email List is so Important Today (6 Reasons)

  • Checklist

    Checklist: 15 Things You MUST DO Before Changing WordPress Themes

  • How to Start Your Own Podcast (Step by Step)

    How to Start Your Own Podcast (Step by Step)

  • How to Fix the Error Establishing a Database Connection in WordPress

    How to Fix the Error Establishing a Database Connection in WordPress

About the Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Trusted by over 1.3 million readers worldwide.

The Ultimate WordPress Toolkit

67 Comments

Leave a Reply
  1. Sarah says:
    Aug 12, 2018 at 9:00 pm

    I inserted this code via the Code Snippets plugin, which has worked successfully with inserting other code, but now I have what I found out is called the ‘white screen of death’! Even on my website page ending in /wp-admin.

    Does anyone know how to fix this when I can’t see my admin dashboard?

    Reply
  2. Ahmad says:
    Aug 9, 2018 at 2:17 am

    this code does not work that exactly I want, I want a proper arrangement of categories like navigation.
    Parent category
    Grandchild 1
    Grandchild 2
    subchild 1
    sibling categories

    Reply
  3. Jagdev says:
    Dec 10, 2017 at 1:25 pm

    Hello,

    How can we use this for custom post taxonomy created ?

    I want to list the main categories first then sub-categories and sub etc.. untill reach upto post pages?

    Can we change this code for custom post categories?

    Thanks

    Reply
  4. Don says:
    Oct 7, 2017 at 9:18 am

    Hi! :)
    How exactly should the code be inserted?

    Reply
    • WPBeginner Support says:
      Oct 8, 2017 at 3:18 pm

      Hi Don,

      Depends on where you want to display subcategories. Please see our beginner’s guide on how to copy and paste code in WordPress.

      Reply
  5. Pradeep PL says:
    Sep 16, 2017 at 5:43 am

    But, Not to hide Parent Category, when I click on subcategory page. I want to show all the subcategory in Parent category as well as in subcategory also.

    Reply
  6. Sveinung Berntsen says:
    Sep 8, 2017 at 6:02 pm

    Thanks for this great post. I have managed to make a filter for my category page with this code. But I would like to have a link to show all posts in the main category; if you clicked on one of the subcategory filter links, and want to go back to see all posts for the main category. Kind of like this:
    All (20) Subcategory 1 (12) Subcategory 2 (5). Subcategory 3 (3)

    Is that possible? And how can I get the number as a part of the link?

    Reply
  7. Julie-Ann says:
    Nov 8, 2016 at 6:49 am

    Hi

    I don’t know anything about coding. I would really like to add subcategories to my wordpress blog so that I can organise my content better. Where do I paste this code to make it work? What exactly will happen. I would like to understand this a bit more please if you are able to assist.

    Reply
    • WPBeginner Support says:
      Nov 9, 2016 at 12:22 am

      If you just want to add sub category, then you can go to Posts » Categories page to add new sub categories. See our guide on how to add categories and subcategories in WordPress.

      Reply
  8. Eliyas Ahmed says:
    Sep 16, 2016 at 10:18 am

    how to hide parent under categorie.

    Reply
  9. Gustavo Fernandez says:
    Feb 5, 2016 at 8:47 am

    Thanks for the post..
    This works for woocommerce?

    Thanks

    Reply
  10. Amanda says:
    Nov 12, 2015 at 11:32 pm

    I know this is an old post but it is exactly what I am after for a current project.
    Is there anyway to have an image show up with the category.
    I have used this plugin in the past to add an image to a category – Categories Images

    <?php if( function_exists('z_taxonomy_image') AND get_option('z_taxonomy_image'.$cat_id)” ) z_taxonomy_image($cat_id); ?>

    I am just not sure how to implement it with your code.

    Reply
  11. Lambodar says:
    Sep 19, 2015 at 2:13 am

    Hi,

    Thanks for the code.

    I have Category Structure like:

    Main Category: Home Improvement
    Child Category: Roofing
    Grand Category: Gutters

    On this page: I want to show all child categories, which is fine it displays all.

    On this page: I want to show all grand child categories, but it show all child categories.

    On this page: I want to show nothing, as this is the last

    Pls let me know how to fix it.

    I used your code like this:

    category_parent)
    $this_category = wp_list_categories(‘orderby=id&show_count=0&hide_empty=0&title_li=&use_desc_for_title=1&child_of=’.$this_category->category_parent.
    “&echo=0”); else
    $this_category = wp_list_categories(‘orderby=id&depth=1&show_count=0&hide_empty=0&title_li=&use_desc_for_title=1&child_of=’.$this_category->cat_ID.
    “&echo=0”);
    if ($this_category) { ?>

    Reply
  12. sajib says:
    Sep 12, 2015 at 6:54 pm

    Apnake thanks.

    Reply
  13. Jay says:
    Apr 16, 2015 at 7:17 pm

    Call me stupid but where do we put this code, in header.php, index.php. functions.php?

    FYI I have a page where they click an image in the main page and it takes them (currently) to a main category.

    my goal is when they click the image it takes them to a page listing the sub cats for the cat, this will allow sorting of the posts!

    Reply
  14. Smith says:
    Dec 18, 2014 at 2:53 am

    is it possible to display posts on category pages as subcategory wise using this.

    Example :

    ** Main Category Page **

    ** Sub category #1 **
    – Post #1
    – Post #2

    ** Subcategory #2 **
    – Post #3
    – Post #4

    Reply
    • Zee says:
      Apr 10, 2015 at 12:18 pm

      Did You get any clue on this? I needed this too

      Reply
    • Asim Khan says:
      Apr 24, 2015 at 7:29 am

      hi did you find any solution to show categories plz reply me

      Reply
    • Prafulla Kumar Sahu says:
      Jun 24, 2015 at 7:43 am

      Hey, Have you got any solution to this ??

      Reply
    • Gerd Casper says:
      Feb 19, 2016 at 3:06 am

      Need this too.
      Is anyone able to give a tip?

      Reply
  15. Monique says:
    Nov 11, 2014 at 1:09 am

    Since wp 4.0 I get the following error if debug is true:

    Notice: get_all_category_ids is niet meer in gebruik sinds versie4.0! Gebruik in plaats daarvan get_terms(). in

    This is the dutch error, in english it says it is depreceated. How can the code be adjusted so it works with the new standard?

    Reply
  16. vce2pdf.com says:
    Nov 5, 2014 at 12:52 am

    Does this link directly to the sub categories as well?

    Reply
  17. carole says:
    Sep 11, 2014 at 11:05 am

    Exactly what I needed except I had to add &hide_empty=0.

    Reply
  18. Joe Librizzi says:
    Jun 17, 2014 at 4:19 pm

    Thanks for this, but changing orderby argument doesn’t seem to be having any impact on the actual displayed order. Has anyone else had a similar issue? Any solutions?

    Reply
  19. Katia says:
    Mar 21, 2014 at 4:43 pm

    Thank you for this helpful post.
    I need to exclude some of the categories , so those will not show . How can I do that?

    Reply
  20. Catalin says:
    Mar 11, 2014 at 9:48 am

    Hello

    I need some help with the script above. I have a Category list of countries like USA, UK, Italy, France etc. and each country it will have cities as sub categories.
    This script works great, when i click on Italy the cities sub categories appear in the side bar, however when a click on page or inside a post the cities disappear and it show only the country in the side bar.
    How can I modify so when i click over a post inside the cities remain and when i click on a page like About or Home the cities to disappear? Also I use Hueman theme and i will need the cities to appear in the header menu. How much do you charge for that? E-mail me at kid_punky @ yahoo.com

    Reply
  21. sourabh nigam says:
    Feb 20, 2014 at 12:04 am

    i am using jigoshop plugin for e-eCommerce clothing website
    in the jigoshop category add
    MAN
    WOMAN
    BOYS
    OTHER
    it has also sub category
    i want to display main category in sidebar and when click on category then sub category should be display;

    Reply
  22. Mitul says:
    Dec 11, 2013 at 3:27 am

    thanks great post, this tricks work but I have question..I want display sub category like your https://www.wpbeginner.com/deals/ category page. please tell me how can I add css and make sections page like your deal page.

    Reply
    • WPBeginner Support says:
      Dec 11, 2013 at 1:39 pm

      Mitul, for CSS you can view it in the source, feel free to play with it. You can use conditional tags in your template to show your sub categories differently or you can create a new template for the subcategory.

      Reply
  23. pustiu314p says:
    Jan 7, 2013 at 9:08 am

    Hi,
    I use your code with success, and thanls for that.
    I have a little trouble: I removed “depth=”1″ from code but the main category does not appear in sidebar. only subcategories.
    How can I display both the parent category and subcategories?
    Thank you.

    Reply
    • Editorial Staff says:
      Jan 10, 2013 at 11:03 am

      depth=1 is meant to keep only child categories (not grand-child categories).

      Reply
      • Pustiu314p says:
        Jan 11, 2013 at 7:25 am

        oh ok, so is any way to display grand-child categories?

        Reply
  24. rob_mod says:
    Jan 12, 2012 at 11:30 am

    Hi. Will this work with WordPress 3.3.1?

    Also, this question might seem silly, but I want to double check:

    This code will allow subcategories specific to the category page you’re on to appear in the sidebar, correct? Phrased another way: I’m on the homepage. I click on the main navigation which says “Illinois.” That takes me to a (category) archive page for Illinois, that has a sidebar. In that sidebar is: Chicago, Evanston, Skokie (subcategories). Now, If clicked on “New York” in the main navigation, I’d go to a (category) archive page for New York, and in the right hand column for that page would be: NYC, Albany, Buffalo, Rochester.

    Am I correct, or am I misunderstanding the application?

    Thanks so much!

    Reply
  25. VandeMataram says:
    Nov 5, 2011 at 12:22 am

    comment is not posted correctly … so putting it again:

    Main-Category

    Sub-category-1, Sub-category-2, Sub-category-3, Sub-category-4, Sub-category-5,

    Sub-category-6, Sub-category-7, and so on ………….

    Reply
  26. VandeMataram says:
    Nov 5, 2011 at 12:20 am

    I want to show list of sub-categories in main category archive page, for example:

    <Main Category>

    <sub-category-1>, <sub-category-2>, <sub-category-3>, <sub-category-4>, <sub-category-5>, <sub-category-6>, and so on …

    I have copied the same code provided in this article, but it’s not working … nothing is displaying in category page.

    Please help.

    Reply
  27. robolist says:
    Oct 10, 2011 at 8:27 am

    Hi there, I am hoping there is a fix for what i am trying to do as i cant seem to find a solution anywhere.

    what i have is several sub-categories under a main category. but the second tier categories are not child categories of the main. only the sub categories under the second tier are child. but i still want to contain the loop of those categories on the main category, but essentially it will never have a post nor a child. I managed to find the filter to display a loop of the categories below it, but the page only appears if there is one post in that category…

    LOL, this all sound rather complicated when i say it out loud haha… I hope you get what i am talking about.

    In short i want to have the category page displayed even without and posts under it. I am using a custom theme and template files for each category.

    Hope someone has the answer. :)

    Cheers

    Reply
    • wpbeginner says:
      Oct 10, 2011 at 8:32 am

      @robolist What’s the point of having a category with no post under it? It seems like it shouldn’t even be there. Perhaps you want to elaborate, so we can see what you are doing with that category. Maybe an alternative route should be taken.

      Reply
      • robolist says:
        Oct 10, 2011 at 8:38 am

        @wpbeginner thanks for getting back so fast :)

        ok so the reason is because i dont want the main category to appear in the URL structure. although the final URL for the post will be different. The main category will be something like ‘destinations’ then under that will have countries. with each country having a child city then posts under the city. so the main menu will display ‘destinations’ with a loop of all posts under that. then under that in the sub menu will be the country then city. with both country and city containing a loop of its respective posts.so by the time you get to the city landing page i dont want the URL to be ‘.com/destinations/country/city/ ‘ i want it to be ‘.com/country/city/’

        You see my dilemma?

        Reply
        • wpbeginner says:
          Oct 10, 2011 at 8:48 am

          @robolist It seems like there is a better way.Wouldn’t it make more sense to eliminate destination category altogether. Create a page called Destinations – use custom page template to have it output all categories that WordPress has using wp_list_categories() function. Now you will still have the urls like .com/country/city/And when the user goes on a page like .com/destinations/ << They can still see all the countries listed there. Does that make sense? If it doesn’t, then maybe we don’t understand what you are trying to do.

        • robolist says:
          Oct 10, 2011 at 8:58 am

          @wpbeginner that does sound better and makes sense… But i am not familiar with the wp_list_categories() function, although i have seen it around. This could be the one. thanks so much for your help, i will go and give that a try :) thanks so much…

          thanks also for all your amazing tutorials on this site…

        • wpbeginner says:
          Oct 10, 2011 at 9:11 am

          @robolist wp_list_categories() is a very simple and powerful function. http://codex.wordpress.org/Template_Tags/wp_list_categoriesIt will let you display your categories anywhere in a custom page template. https://www.wpbeginner.com/wp-themes/how-to-create-a-custom-page-in-wordpress/ So create a custom page template. In the template area paste the codewp_list_categories(); Make sure to set child=0 if you don’t want to show your cities in there. As I presume, you will only want to display the countries there. Then once a user clicks on a country, they go and see all the cities. Style it to your liking and there you have it.

        • robolist says:
          Oct 10, 2011 at 9:20 am

          @wpbeginner excellent :) thanks so much

        • robolist says:
          Oct 11, 2011 at 5:18 am

          @wpbeginner

          hey guys, thanks so much for your advice last night, it worked a treat :). I am however stuck on the permalink structure now and would be very grateful if you and any tips for me again :)

          My final post is now at the end of a three tier category structure, ‘continent/country/city/post/’ (destinations as you recommended is now a page). But for the final URL of the post i dont want it to be four deep and would prefer it to only be three deep. so the permalink that i would like is country/city/post/… Is there anyway i can remove the top level parent category from the permalink structure? at the moment i have it set up like this ‘/%category%/%postname%-%post_id%/’ But it automatically grabs all parent categories. , Do i have to again make the top category a page or is there a better way round this? Many thanks in advance for your help

          Cheers

        • wpbeginner says:
          Oct 11, 2011 at 7:43 am

          @robolist You can write some permalink rewrite rules, but that is a bit harder than making the top category a page. Easy solution: make continent a page.Hard solution: rewrite permalink rule.Honestly, do you need continents? most folks don’t really look by North America or South America… They just look for countries…

        • robolist says:
          Oct 11, 2011 at 8:01 am

          @wpbeginner Thanks for getting back to me.

          Well having the continents does help to organise the blog as it will get pretty big eventually, its more like regions really, not exactly continents, which is why I’d prefer to include them . I would love to learn how to do the rewrite rule because that way i wont have to be constantly adding extra category IDs to the region pages every time a new city/country is added. The way i have it set with the destinations is perfect because i will never add any more regions so i never have to touch that page again,:) as it stands there are 9 regions thats it., but countries and cities will be added over time

          i dont suppose you could point me in the right direction for the rewrite? :) I would be ever so grateful

          Many thanks for all your help so far

        • wpbeginner says:
          Oct 11, 2011 at 8:17 am

          @robolist Rewrite requires writing custom codes and which is something we charge for. You can look at google for your guide or look in the WordPress core if you like tackling code.

        • robolist says:
          Oct 11, 2011 at 8:26 am

          @wpbeginner I would love to hire you guys but just dont have a budget for that :(, plus i would love to learn how to do it myself. but thanks so much for all the help you have given me on this. if i do fail at my attempt then i will just go for the simple way out and create pages for the regions. thanks again :)

  28. sdiggles says:
    Jun 12, 2011 at 4:31 pm

    Did you ever get this? I am trying to accomplish the same thing right now. Only show subcategories on category pages if there are subcategories. That “No categories” stuff is killing me.

    Reply
    • robolist says:
      Oct 10, 2011 at 8:32 am

      @sdiggles i think i am after the same… did you find a solution?

      Reply
  29. Seosphere says:
    Jun 3, 2011 at 5:13 am

    Hi ! sorry for my english.

    I would like to use your code, but not on the sidebar. When i click on a main category, i would like to find on the nav. bar the sub menu instead to have the main menu.

    Sorry but i m not a developper, where do i have to paste your code ?

    In category.php ? :(

    Thank you

    Reply
  30. giriayoga says:
    May 1, 2011 at 1:49 am

    thanks you for your information

    Reply
  31. Aleksandr says:
    Sep 15, 2010 at 3:39 am

    The code is not finished.

    «…
    if ($this_category) {
    //There is must be a code
    //to show the list of subcategories.
    }?>
    …»

    Something like that:
    if ($this_category) {
    printf( $this_category );
    }

    P.S. working on «Twenty Ten» 3.0.1

    Reply
  32. tes says:
    Jun 20, 2010 at 3:12 am

    testing with v 3.0 doesnot work.. buggy

    Reply
  33. Emily says:
    Apr 20, 2010 at 9:32 am

    I’ve heard that this code no longer works since the WP upgrade. I also got a parse error.

    Reply
    • Editorial Staff says:
      Apr 20, 2010 at 2:04 pm

      Where did you hear this?

      Reply
  34. Rachel says:
    Apr 19, 2010 at 10:00 am

    Hi,
    This code is exactly what I need, only I want to use it in the actual category.php content section, not in the sidebar. Anyway, I pasted it in and I get a parse error. Is there something missing at the end of the code snippet?
    Thanks.
    -Rachel

    Reply
    • Editorial Staff says:
      Apr 19, 2010 at 10:56 am

      So many things can matter. Where exactly did you place it… please contact us via our contact form for help.

      Reply
    • David says:
      May 27, 2010 at 11:13 am

      Rachel, did you get this figured out? I’m getting the same error.

      Reply
  35. Karl B says:
    Apr 11, 2010 at 11:03 am

    This is a great starting point for me as I had been searching high and low for this.

    I wondered if there was a way to elaborate on this and allow say, 1 post title and excerpt then 4 more titles from each subcategory, displayed in a div.

    I have been trying to find a way to do this for months but have never found anyone able to assist. I even offered a small payment but no-one came forward :)

    Thanks if anyone can offer any advice :)

    Karl

    Reply
    • Editorial Staff says:
      Apr 12, 2010 at 5:39 pm

      We can help you if you contact via email. There is a way to do it that can be explained either via email, or we can do it for you for a small payment :)

      Reply
  36. Jerry says:
    Mar 28, 2010 at 1:05 am

    I’m getting a “Parse error: syntax error, unexpected ‘='” error from this?

    Ideas?

    Reply
    • Editorial Staff says:
      Mar 28, 2010 at 8:32 am

      Try it now :) It should work. The code just converted the quotes into curly quotes.

      Reply
  37. Jacqueline says:
    Jan 18, 2010 at 2:39 am

    Hi, thanks so much for this code and I have it working on my template. How would I prevent this entire code from running if a category has NO children? If there are no children, it creates an empty list and prints the text “No Categories.” Here’s how I had it setup with Yoast’s code:

    cat_ID) != “”) { ?>

    Subcategories:
    cat_ID);?>



    If there were no subcategories, nothing would show up. Your code is better, but I need it to only show up ONLY if there are subcategories. How would I achieve this? Thanks for any suggestions.

    Reply
  38. Victor says:
    Nov 3, 2009 at 5:28 pm

    Thanks for posting this. I got my posts displaying fine, but had forgotten about the sub cats…it makes more sense this way.

    Reply
  39. Nick says:
    Oct 21, 2009 at 2:56 pm

    Hi,

    I’m trying to accomplish this in the sidebar, only instead of links, I want to list recent posts in subcategories.

    and of course, this would occur in all category and subcategory pages, as well as single posts.

    Don’t know if this is possible. But, I’ve been looking around like crazy, and not being a programmer isn’t helping either.

    Reply
    • Editorial Staff says:
      Oct 21, 2009 at 5:38 pm

      Here try this post and use Hack #4 (Display Recent Posts from Specific Categories)

      Reply
  40. FAQPAL says:
    Oct 8, 2009 at 8:54 pm

    Excellent post, thanks for the snippet.

    Reply

Leave a Reply Cancel reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

Over 1,320,000+ Readers

Get fresh content from WPBeginner

Featured WordPress Plugin
PushEngage
PushEngage
Increase your website traffic & revenue with push notifications. Learn More »
How to Start a Blog How to Start a Blog
I need help with ...
Starting a
Blog
WordPress
Performance
WordPress
Security
WordPress
SEO
WordPress
Errors
Building an
Online Store
Useful WordPress Guides
    • 7 Best WordPress Backup Plugins Compared (Pros and Cons)
    • How to Fix the Error Establishing a Database Connection in WordPress
    • Why You Need a CDN for your WordPress Blog? [Infographic]
    • 30 Legit Ways to Make Money Online Blogging with WordPress
    • Self Hosted WordPress.org vs. Free WordPress.com [Infograph]
    • Free Recording: WordPress Workshop for Beginners
    • 24 Must Have WordPress Plugins for Business Websites
    • How to Properly Move Your Blog from WordPress.com to WordPress.org
    • 5 Best Contact Form Plugins for WordPress Compared
    • Which is the Best WordPress Popup Plugin? (Comparison)
    • Best WooCommerce Hosting in 2020 (Comparison)
    • How to Fix the Internal Server Error in WordPress
    • How to Install WordPress - Complete WordPress Installation Tutorial
    • Why You Should Start Building an Email List Right Away
    • How to Properly Move WordPress to a New Domain Without Losing SEO
    • How to Choose the Best WordPress Hosting for Your Website
    • How to Choose the Best Blogging Platform (Comparison)
    • WordPress Tutorials - 200+ Step by Step WordPress Tutorials
    • 5 Best WordPress Ecommerce Plugins Compared
    • 5 Best WordPress Membership Plugins (Compared)
    • 7 Best Email Marketing Services for Small Business (2020)
    • How to Choose the Best Domain Registrar (Compared)
    • The Truth About Shared WordPress Web Hosting
    • When Do You Really Need Managed WordPress Hosting?
    • 5 Best Drag and Drop WordPress Page Builders Compared
    • How to Switch from Blogger to WordPress without Losing Google Rankings
    • How to Properly Switch From Wix to WordPress (Step by Step)
    • How to Properly Move from Weebly to WordPress (Step by Step)
    • Do You Really Need a VPS? Best WordPress VPS Hosting Compared
    • How to Properly Move from Squarespace to WordPress
    • How to Register a Domain Name (+ tip to get it for FREE)
    • HostGator Review - An Honest Look at Speed & Uptime (2020)
    • SiteGround Reviews from 4196 Users & Our Experts (2020)
    • Bluehost Review from Real Users + Performance Stats (2020)
    • How Much Does It Really Cost to Build a WordPress Website?
    • How to Create an Email Newsletter the RIGHT WAY (Step by Step)
    • Free Business Name Generator (A.I Powered)
    • How to Create a Free Business Email Address in 5 Minutes (Step by Step)
    • How to Install Google Analytics in WordPress for Beginners
    • How to Move WordPress to a New Host or Server With No Downtime
    • Why is WordPress Free? What are the Costs? What is the Catch?
    • How to Make a Website in 2020 – Step by Step Guide
Deals & Coupons (view all)
FancyThemes Logo
FancyThemes Coupon
Get 15% off on all FancyThemes when you use this exclusive coupon for WPBeginner users.
SiteGround
SiteGround Coupon
Get up to 63% off off SiteGround's WordPress hosting. Don't miss out!
Featured In
About WPBeginner®

WPBeginner is a free WordPress resource site for Beginners. WPBeginner was founded in July 2009 by Syed Balkhi. The main goal of this site is to provide quality tips, tricks, hacks, and other WordPress resources that allows WordPress beginners to improve their site(s).
Join our team: We are Hiring!

Site Links
  • About Us
  • Contact Us
  • FTC Disclosure
  • Privacy Policy
  • Terms of Service
  • Free Blog Setup
  • Free Business Tools
Our Sites
  • OptinMonster
  • MonsterInsights
  • WPForms
  • SeedProd
  • Nameboy
  • RafflePress
  • Smash Balloon

Copyright © 2009 - 2021 WPBeginner LLC. All Rights Reserved. WPBeginner® is a registered trademark.

Managed by Awesome Motive | WordPress hosting by SiteGround | WordPress CDN by MaxCDN | WordPress Security by Sucuri.