Web Tips

A blog for web developers
  • Home
  • PHP
  • Symfony
  • WordPress

Home / Custom Post Type

Articles tagged with "Custom Post Type"

Exclude Custom Post Type From Search in WordPress

January 23, 2014 PHP Custom Post Type, Plugin, Wordpress

I ran into an issue the other day where I had custom post types showing up in WordPress search results. If you are manually registering your post types simply add the ‘exclude_from_search’ argument before registering. more…


Setting a WordPress Custom Post Type Parent to a Specific Page

January 23, 2014 PHP Custom Post Type, Wordpress

Custom post types in WordPress are a great way to add and structure content to a website. Unlike a page however, custom post types cannot have a parent page assigned to them, at least not directly. This could be a major drawback if you want to have a custom post type nest under a specific page in menus and in the URL. more…


Follow us on Twitter
©2020 Calc Hub, LLC | Privacy Policy