member login using photo

You could use a plugin like SB Welcome Email Editor to edit the welcome message. You can use HTML here, so adding an image is easy. To make sure only invited members can see the site untick the Anyone can register setting on wp-admin/options-general.php and install a plugin like Members to require users to log … Read more

Function to get a list of all comments on 1 post [closed]

You should use get_comments( $args ) and add the post ID in the arguments ($args) array: $post_id = 1; // post ID here from the submitted data $comments = get_comments(array( ‘post_id’ => (int) $post_id )); // dump the comments found print_r( $comments ); That would get you a comments list on that post. Hope that … Read more

Show count comments under the title

First, you should look at creating a child theme. That way, any modifications you make won’t be removed by a WordPress update. Next, edit wp-content/themes/twentyseventeen/template-parts/post/content.php and look for the following code: if ( is_single() ) { the_title( ‘<h1 class=”entry-title”>’, ‘</h1>’ ); } elseif ( is_front_page() && is_home() ) { the_title( ‘<h3 class=”entry-title”><a href=”‘ . esc_url( … Read more

Incude comments in search

Whether you put custom code in your theme’s functions.php or in a plugin, you’re still using custom code. So I’m going to ignore your “without a plugin” requirement and instead suggest these two plugins: Search Everything Relevanssi There is absolutely no reason to use custom functionality in functions.php rather than a plugin. When you’re asking … Read more

comments are going to spam

You should not add http:// or wwww. to your Comment Moderation or Blacklist boxes. This will send all comments to a pending status, or WP removes them. If you want stuff to be blacklisted that contains a certain url, add a fully qualified domain name.

Comments on pages not appearing, even though I enabled them

As @SaurabhShukla mentioned in one of the comments, the problem was probably the theme. I use Virtue. Its great and got tons of options, and in one of them, under misc settings (a place which is totally unlooked-for), sits an option/out button. Hope this will help someone else in the future. Thank you all for … Read more

Reply to a specific comment?

Yes, it is possible.You can integrate a custom template for comment detail page where users will start thread on particular comment. You can create a URL using add_rewrite_rule. also add query vars for URL. Here you can get that query var and use template_redirect hook to to include a template by apply condition for that … Read more

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