1

I don't want to use the category page as usual (list of posts). I would like to add more content: text, images, columns. Which is the best solution?

  • Maybe redirect from a category page to a page?
  • Or get the content of page and show it in the category page?

Thanks.

  • Rather than worry about re-directing, you can just create your own archive template and change it to be how you want it to be, assuming all your category archives are going to behave like that "page" you have in mind. If you want editable content on your archive, you can use your 2nd suggestion of just pulling that content into your template. codex.wordpress.org/Category_Templates Hope that helps! – RachieVee Nov 14 '14 at 21:38
0

As said in one of the comments, this is really simple. Within your theme folder, you can create a file called category.php. Once in place, you can modify to your hearts content without the need to do anything fancy such as redirection. If you want to target a specific category, let's say music, then the file would be category-music.php

It's also worth noting, that if you're using a theme you did not develop, to create a child theme and put this file in that directory instead. You should never modify an existing themes files, including creating new files, because all your changes will be lost once you update the theme.

  • Thanks for your answer, but I want to edit the content: text, images... using the content editor. I don't want to modify my template files. – user1443216 Nov 18 '14 at 12:19
  • So to clarify, you want it to act like a category page, listing the posts of that category, but you dont want to edit the template, and instead want to edit the page via the backend editor? – Hybrid Web Dev Nov 19 '14 at 17:18
  • Yes, that is the question. – user1443216 Nov 19 '14 at 20:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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