I have added two new Custom post types to my theme, these being photo and photo365.
because of this, when I wanted to display a list of recent posts in a widget – I have to use a custom widget to list what type of posts I wanted it to display
Now, when on my home page – the ‘Recent Post’ widget displays posts of kind post, photo, and photo365
When I vie either via ‘category’ or ‘tag’
it show kind post. photo, photo365 and ‘nav_menu_item’
Now on querying the MySQL database, there are only four posts of post type ‘nav_menu_item’. All of these appear to be entries in the custom menue. (I only have four items in my custom menu)….
How do I stop Recent Posts picking up these menue item?!
Yours Confused…..
The topic ‘nav_menu_items displaying in 'Recent Posts'’ is closed to new replies.