Parent Page and Breadcrumb URL’s for Custom Post Types Not Working

Okay, I was overthinking this by a mile, because it didn’t occur to me that WordPress automatically generates archive pages for custom post types if you set “has archive” to “true” when you’re registering post types. What Wound Up Working I created customized archive-{slug}.php templates in my theme files for the “brands”, “careers”, and “news” … Read more

What’s the equivalent of Hide From Menus on MODX on WordPress?

You can create a Custom Field radio button called hide_from_menus with values yes or no t then use Query posts by custom fields. Then in your query, add meta_key and meta_value. Example: $args=array( ‘post_type’ => custom-post-type, ‘post_status’ => ‘publish’, ‘posts_per_page’ => -1, ‘meta_key’ => ‘hide_from_menus’, ‘meta_value’ => ‘yes’ ); Be sure though that you update … Read more