Query multiple post of which one by taxonomy

I solved my problem by automatically adding the tag ‘light’ to all my projects. And then query all the post and projects with the light tag like this: Query post by taxonomy tag ‘light’: $args = array( ‘post_type’ => array( ‘projects’ , ‘post’ ), ‘tax_query’ => array( ‘relation’ => ‘OR’, array( ‘taxonomy’ => ‘post_tag’, ‘field’ … Read more

Adding a third custom taxonomies

For every taxonomy you have to choose a unique name, which is used in the database. so so your new e.g. players_region. <?php add_action( ‘init’, ‘build_taxonomies’ ); function build_taxonomies() { register_taxonomy( ‘players_team’, // Unique name. ‘player’, // Post type. array( ‘hierarchical’ => true, ‘label’ => ‘Players Team’, ‘query_var’ => true, ‘rewrite’ => true, ) ); … Read more

menu customization

I’m not sure, but if I understand correctly you should create a second menu which is only visible on your Spanish language page. if (is_page($english_page_id)) { wp_nav_menu( array(‘menu’=>$english_menu) ); } if (is_page($spanish_page_id)) { wp_nav_menu( array(‘menu’=>$spanish_menu) ) } is_page() wp_nav_menu()