Project Category Heading

Firstly, are you sure they don’t have more than one category selected for those posts? wp_get_object_terms will attempt to get the terms in the order they have been added, so maybe there is an “Active Projects” term in play? Alternatively, they could be hooking into the wp_get_object_terms filter elsewhere in the code, and modifying what … Read more

WP_Query doesn’t accept Category ID

If your category is custom taxonomy you’ll have to use tax_query in you WP_Query(). See: https://codex.wordpress.org/Class_Reference/WP_Query#Taxonomy_Parameters I guess it’s a typo that you have &catid instead of $catid. Edit: Something like: $args_query = array( ‘posts_per_page’ => 6, ‘post_type’ => ‘video’, ‘tax_query’ => array( array( ‘taxonomy’ => $taxonomy, ‘field’ => ‘term_id’, ‘terms’ => $catid ) ) … Read more

Custom user roles

To add a role see: https://codex.wordpress.org/Function_Reference/add_role To add capabilities see: click add_cap link on the bottom A list of all caps see: https://codex.wordpress.org/Roles_and_Capabilities For all the roles you can also use them for different post types. if post type is “books” edit_pages -> edit_books. N.B.: This setting is saved to the database (in table wp_options, … Read more