The dropdown shows only the child categories not Post or Pages. If you would have 100 posts in a category the dropdown would be very long.
hmm. i understand, thank you very much for explaining.
But is there a way to display posts automatically for a category?
Obviously i would only select a category with 5 or so posts, hence my question
Thanks again for any help in advance
You can do something like this:
<ul>
<?php
global $post;
$myposts = get_posts('numberposts=5&category=1');
foreach($myposts as $post) :
setup_postdata($post);
?>
<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
<?php endforeach; ?>
</ul>
Where category=1
is the category ID. This gives you a list of 5 post titles in category “1” linked to the actual post.
ahh some people are just so nice and helpful!
i will for sure try that and report back!
I am so grateful!