New answers tagged recent-posts
2
http://codex.wordpress.org/Function_Reference/get_comments#Parameters
your problem is using author_email, you need user_id
i just use similar script.
<?php
$args = array(
'user_id' => $user->ID,
'number' => 10, // how many comments to retrieve
'status' => 'approve'
);
$comments = get_comments( $args ...
0
Check This Show Comments by User ID in WordPress
0
The line below the one you edited computes the edited words based on the height and width of the slider box. The value you added is changed on the next line. Avoid editing the plugin file. Next time you update the plugin your changes will be lost.
You should be able to change the Excerpt length on the plugin options page on the Excerpt Words option. ...
2
The default Recent Posts Widget code is in includes/default-widgets.php but you should not be hacking Core code. Copy that function to your theme's functions.php, rename it, and create your own customized widget.
1
Have a look in wp-includes\default-widgets.php.
/**
* Recent_Posts widget class
*
* @since 2.8.0
*/
class WP_Widget_Recent_Posts extends WP_Widget {
function __construct() {
$widget_ops = array('classname' => 'widget_recent_entries', 'description' => __( "The most recent posts on your site") );
...
Top 50 recent answers are included