Archived topic
Replace the category page with a custom elementor page
5 replies · Started by Scott on November 10, 2021
Hi,
I would like to replace the category page (that currently displays a list of posts in that category) with a custom elementor page.
I'd like to do that for just a single category. For example:
example.com/category1/ << Custom page like any normal page on my site
example.com/category2 << Normal category page that lists posts
Is that possible? How would I do that?
Hi there,
simplest method would be a redirect - example PHP snippet on this stackexchange:
I need the URL to be the same, a redirect won't do it, unfortunately.
Non simple methods are fine too.
Doesn't the Elementor Theme Builder options allow you to do this ?
Not as far as i know? I could be missing something though?
Not sure - all i know is you can create custom templates with specific display conditions. Might be worth checking with their support.
Alternatively there is the request filter in WP. Tom provides an example of it here where it will swap out specific categories with identically named pages:
https://wpshowposts.com/support/topic/use-static-pages-as-category-archives/#post-28750