How to display custom WP menus?

I had the same problem some time ago and solved it by adding my custom menu in my custom theme header.php (inside tag) instead of page.php. wp_nav_menu( array( ‘theme_location’ => ‘my-custom-menu’, ‘container_class’ => ‘custom-menu-class’ ) ); Here you can find a brief explanation about how to create and insert your custom menu Hope you can … Read more

WP Query with categories only shows one post and ignores the category

Try this: ` $paged = ( get_query_var( ‘paged’ ) ) ? get_query_var( ‘paged’ ) : 1; $genral_args = array( ‘posts_per_page’ => ’50’, ‘post_type’ => ‘documents’, ‘cat’ => ‘your-category-id’, ‘paged’ => $paged ); $genral_query = new WP_Query( $genral_args ); while ( $genral_query->have_posts() ) : $genral_query->the_post(); ?> <?php //If we have the posts… if (the_field (‘title’)) : … Read more