I am creating blog website for my client. I want to create couple of buttons and put them in the page. When clicking theese buttons user gotta be directed to certain categories.
Thank you in advance
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community
If you know the id of the category, this is how you can output a link to category.
<a href="<?php echo get_category_link( $idofcategory ); ?>" title="Category Name">Category Name</a>
Above page also shows how you can get the category link from category name, in case if you don't know id of the category.