I'm trying to make this PHP code work as usual, except I want it to stop displaying the pages that have the IDs "2" and "32" in the outputted list. How would I do it? Searched Google endlessly and can't find an answer <h1>Recent articles</h1> <ul class="recent"> <?php mdv_recent_posts(10); ?> </ul> Code (markup):
looking at the (limited) documentation of that plugin, it doesnt look like its capable of doing it. Get a different lpugin that is capable of doing it, or do away with it all together and use the get_posts function http://codex.wordpress.org/Template_Tags/get_posts (see "exclude" in the docs)