How to Remove Items from the WordPress Admin Menu

Sometimes you want to remove a link or two from the WordPress admin menu, the code below shows you a really easy way to do this. This code should be put in your functions.php file. add_action( ‘admin_init’, ‘my_remove_menu_pages’ ); function…

How can I List Recent Posts Excerpts

How can I List Recent Posts Excerpts

To list recent post excerpts in your theme you can do the following: <?php // change this to match the numbers of posts you want to display $args = array( ‘numberposts’ => ’3′ ); // get them posts $recent_posts =…