How to list all the posts of a category in WordPress?

0

I have a Wordpress site where I see his posts on the site, okay?

The links work, however I have a category called "TIPS".

On page dominio.com/dicas , posts in the tips category do not open. How to do this? Remembering that a post in the dominio.com/dicas/meu-post-aqui URL works!

But I want the dominio.com/dicas link to show only posts in the tips category. I do not know how to do it.

So, I would like to make a page where I list all posts in a certain category. I do not have any page in wp-admin , just categories.

    
asked by anonymous 18.07.2014 / 23:35

3 answers

1

The address to list all posts in a category is www.example.com/category/dicas , but it is not very recommended to remove the /category/ base from URLs. For example, a wp-admin category can block access to the admin panel; and other conflicts can occur when the site has many posts / pages and the permanent link structure is set to /%postname%/ . Use the Monkeyman Rewrite Analyzer plugin to check for potential conflicts (the plugin has not been updated for more than two years, but this is no problem, the author is a star).

If you use the WordPress SEO plugin by Yoast, it has this functionality:

The WP No Category Base plugin is usually recommended as well.

    
28.07.2014 / 00:16
0

See this plugin link . I think it solves for what it needs.

    
28.07.2014 / 01:59
0

One option, but perhaps not so good would be to create the Page Tips, and then create the page-tips.php file where you could make your WP_Query pass as argument to category_name = tips.

    
05.08.2014 / 21:49