I am creating a theme for wordpress but I am not able to call certain category on a page (which is in the menu).
For example: I have a page in the MUSIC menu and I would like it to call 1 example category: ROCK.
I tried the code below but it appeared all categories not just the one I mentioned above ( link )
<?php
/* Template name: solo */
?>
<?php get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?Php
query_posts ('cat = 15 ');
while (have_posts ()): the_post ();
the_content ();
endwhile;
?>
</main>
</div>
<?php get_sidebar(); ?>