Skip to main content
added 60 characters in body
Source Link
Christoph
  • 282
  • 1
  • 3
  • 12

Check if you have registered a custom post type thats' slug is 'politics' ('rewrite' => array('slug' => 'politics')). If you use a custom post type that has the same slug as one of your pages, it is likely that WordPress will show you the archive page of your cpt instead of the page in your menu. If you do not need the cpt's archive you can set 'has_archive' => false for this custom post type.

Flush your permalinks after modifying the rewrite rules.

Check if you have registered a custom post type thats' slug is 'politics' ('rewrite' => array('slug' => 'politics')). If you use a custom post type that has the same slug as one of your pages, it is likely that WordPress will show you the archive page of your cpt instead of the page in your menu. If you do not need the cpt's archive you can set 'has_archive' => false for this custom post type.

Check if you have registered a custom post type thats' slug is 'politics' ('rewrite' => array('slug' => 'politics')). If you use a custom post type that has the same slug as one of your pages, it is likely that WordPress will show you the archive page of your cpt instead of the page in your menu. If you do not need the cpt's archive you can set 'has_archive' => false for this custom post type.

Flush your permalinks after modifying the rewrite rules.

clarified
Source Link
Christoph
  • 282
  • 1
  • 3
  • 12

Check if you have registered a custom post type namedthats' slug is 'politics' ('rewrite' => array('slug' => 'politics')). If you use a custom post type that has the same slug as one of your pages, it is likely that WordPress will show you the archive page of your cpt instead of the page in your menu. If you do not need the cpt's archive you can set 'has_archive' => false for this custom post type.

Check if you have registered a custom post type named 'politics'. If you use a custom post type that has the same slug as one of your pages, it is likely that WordPress will show you the archive page of your cpt instead of the page in your menu. If you do not need the cpt's archive you can set 'has_archive' => false for this custom post type.

Check if you have registered a custom post type thats' slug is 'politics' ('rewrite' => array('slug' => 'politics')). If you use a custom post type that has the same slug as one of your pages, it is likely that WordPress will show you the archive page of your cpt instead of the page in your menu. If you do not need the cpt's archive you can set 'has_archive' => false for this custom post type.

Source Link
Christoph
  • 282
  • 1
  • 3
  • 12

Check if you have registered a custom post type named 'politics'. If you use a custom post type that has the same slug as one of your pages, it is likely that WordPress will show you the archive page of your cpt instead of the page in your menu. If you do not need the cpt's archive you can set 'has_archive' => false for this custom post type.