

Sometimes you have a post type that needs to stay private, like video tutorials for your clients or a quotes for products that should not be seen by the public or indexed by the search engines. The snippet below will allow you to set all posts from a given post type to private by default.…

By the default if you create Custom Post Type attaching Category to it is not possible. On the line: array( ‘post’, ‘resource_libraries’ ), replace “resource_libraries” slug to your custom post type slug. Code Snippet Add Code Snippet Open Scripts Organizer Hit Add new. Scripts Organizer Settings Trigger Location: EverywhereScript Location: PHP
3rd party plugins actions admin archive attachment block-themes Blocks build Category compression config CPT CSS Custom Post Developer development editor Front End full site editing githubpages gutenberg hook Image img livereload load styles malware mu-plugin Must Have npm Oxygen pages php port redirect repeater security single product Taxonomy Tips Topbar webpack WooCommerce wordpress WP Admin