Tag Info

New answers tagged


The posts page is not a page. For example, set a page with a page template as your posts page, and you will not get the page template. Instead, you'll likely see archive.php or index.php, because the main loop/query isn't loading a page, it's loading the primary post archive. Hence this code: if ( ! empty( $query->posts ) && ...


You can use WP Super Cache plugin and set it to make static html for any page on your WordPress website. It can be fully customized on which pages to be served as static html and which pages not.

Top 50 recent answers are included