I need help about wordpress of members section

If I understand correctly you don’t need a shortcode or a filter. Just paste your yg_yorumsuz_link_gizle function into functions.php and call it from any template file (they all reside in your theme folder) such as single.php, or from a plugin. if(function_exists(‘yg_yorumsuz_link_gizle’)){ // just in case yg_yorumsuz_link_gizle(); } If you’re only doing it in one place … Read more

How to show recent comments on WordPress homepage with post title?

There’s this built-in function for querying comments get_comments and here’s something that would help in your template: $comments = get_comments( array( ‘number’ => 10 ) ); if ( !empty( $comments ) ) { ?> <ul> <?php foreach ( $comments as $comment ) : ?> <li><?php echo sprintf( “<strong>%s</strong> on <a href=\”%s\”>%s</a> : \”%s\” &mdash; <a … Read more

Customize comment notification e-mails with HTML

I found out it my self. we should add the following code to the Functions.php ti be able to sent Email via HTML codes: <?php function wpse27856_set_content_type(){ return “text/html”; } add_filter( ‘wp_mail_content_type’,’wpse27856_set_content_type’ ); ?> and then for customize the email, we should do like bellow to use HTML code in it: <?php function wpd_comment_notification_text( $notify_message, … Read more

list / show comments of post author in special page

I found out it my self: <?php $post_ids = get_posts(array( ‘fields’ => ‘ids’, // Only get post IDs ‘posts_per_page’ => -1, ‘author’ => get_current_user_id(), ‘post_type’ => ‘post’, ‘category’ => 0, ‘orderby’ => ‘date’, ‘order’ => ‘DESC’, )); foreach($post_ids as $post_id) : $argss = array( ‘post_id’ => $post_id, ‘status’ => ‘approve’, ‘author__not_in’ => get_current_user_id(), ); $comments … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)