Created
April 25, 2014 18:15
-
-
Save Dianakc/56da886ea596bb531ff4 to your computer and use it in GitHub Desktop.
Remove/modifica o widget de Posts Recentes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter('widget_posts_args','modify_widget'); | |
function modify_widget() { | |
$r = array( 'cat' => '6' ); | |
return $r; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment