1

I'm very ( VERY! ) new to WordPress and I'm having some issues with the following:

I created multiple pages like so: wordpress pages

and I created categories too: wordpress categories

Now how do I assign each post in a category to appear in it's page? ( A post with category 'Dicas' should appear on page 'Dicas' )

I'm running version 3.1.4

1 Answer 1

0

Generally, pages cannot be added to categories or tags by default. Posts can can be categorized and tags.

If you google search "WordPress categorize pages" at least a couple of plugins can probably help you figure it out.

Otherwise, you can check out the code for some of those plugins to see how it's done and do it yourself, fairly simply. The main thing to note is that you're adding pages to the list of post types that categories and tags can be associated with:

register_taxonomy_for_object_type( 'post_tag', 'page' );
register_taxonomy_for_object_type( 'category', 'page' );

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.