Register Now


By registering, you agree to the Terms of Service and Privacy Policy.

Login

Forget


Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.


Add question

Please type your username .

Please type your E-Mail .

Please choose an appropriate title for the question to answer it even easier .

Please choose the appropriate category so others can easily search your question.

Please choose suitable Keywords Ex : question , poll .

This question is a poll ? If you want to be doing a poll click here .

Browse

Anonymous asks

Do you need a video to description the problem better ?

Choose from here the video type .

Put here the video id : https://www.youtube.com/watch?v=sdUUx5FdySs EX : 'sdUUx5FdySs'.

Notified by e-mail at incoming answers.

By asking your question, you agree to the Terms of Service and Privacy Policy.


x

Login

Forget


Register Now

Thank you for registering with WPTricks

Create an account
x
  • Login
  • Add Post
  • Badges
  • Contact Us
Ask a Question
  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

Login

Forget


Register Now

Thank you for registering with WPTricks

Create an account
  • Login
  • Add Post
  • Badges
  • Contact Us

wptricks

  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

comments

Home/ comments

query – How to get comment images stored as serialized comment meta

Question
I want to display images under for each comment but images store in database as serialized a:3:{i:0;i:775;i:1;i:776;i:2;i:777;} I wrote this code print_r (get_comment_meta( $comment->comment_ID , 'reviews-images', true ));
0
Teymur Abbasov 2 days 0 Answers 0 views

admin – Prvent users to delete comments from trash

Question
As told in the title, I am looking for a way to prevent users to delete comments from the trash. Only admins should be able to. I tested the scripts at:
0
Self 2 days 0 Answers 0 views

query – Comment Table Size Results in Slow Page Loads and 500 Errors

Question
I manage a small site that has a very active comment area. The site is on shared hosting. There is a daily post entry, then a robust comment area. It is not untypical to have more than 100 comments on a day's post. The result is that loading or re
0
Rick Hellewell 4 days 0 Answers 0 views

help add_theme_support(‘html5’); to list comments

Question
I have an html template, I am converting it to WordPress This template is written in html 5, Bootstrap 5 I put this code in the functions.php file, it gets stuck in this preloader and does not load add_theme_support( 'html5', array(
0
Moinds 3 weeks 0 Answers 0 views

Sort post comments from newest to oldest in pagination

Question
I searched for a whole day before asking this question, but couldn't find anything to help me. How can I sort the comments on all my posts from most recent to oldest? I made a custom theme and that's why I'm asking. This is my setting in Se
0
Matteo Feduzi 3 months 0 Answers 0 views

How to only show current user’s comments and comments on current user’s posts in wp admin

Question
I want "Comments" in wp admin to only show comments that the current user made and comments made on current user's posts, also comment count should only show count for current user. How can this be achieved?
0
Justano 3 months 0 Answers 0 views

wordpress.org – How to make author comment name to “Editorial Staff” no matter which ever author is replying to comments from his/her account?

Question
We know that by default WordPress shows the author display name in the comments. But I want to make make it turn the name to "Editorial Staff" for every author who posts comments from their account. Not an expert at the backend, so can somebody he
0
Mekakie 3 months 0 Answers 0 views

How to make comments private for commentor and post author

Question
I am trying to make comments private. I mean comment must be visible for post author and comment author. I create custom comment section. <?php // My custom comments output html function better_comments( $comment, $args, $depth ) {
0
Teymur Abbasov 3 months 0 Answers 0 views

How to output comments in Descending order by date using wp_list_comments?

Question
I am using the following code to output comment html: $args = array ( 'post_id' => 805, 'status' => 'approve' ); $comments = get_comments( $args ); $comments_html = wp_list_comments( apply_filters(
0
dc09 4 months 0 Answers 0 views

spam – How to block comments and pings?

Question
If you had posts and pages live before you made that change above you will have to go to those pages and turn off pings and comments as well.
0
Duck 4 months 0 Answers 0 views
1 2 … 4
  • Recent
  • How to Fix the Error

    If you get an error message “Error Establishing Database Connection,” this means that your website is unable to connect to ...

    May 30, 2021
  • Onitir – IT Solutions WordPress theme

    Onitir - IT Solutions WordPress

    LIVE PREVIEWBUY FOR $29 Onitir is a Modern & ...

    September 18, 2020
  • WhatsApp Chat – WordPress WhatsApp Chat plugin

    WhatsApp Chat - WordPress WhatsApp

    March 19, 2020
  • Tabula – Art, Music & Language School

    Tabula - Art, Music &

    Tabula – Art & Language School WordPress Theme Tabula is a Multi-Purpose WordPress Theme for all kinds of ...

    March 19, 2020
  • Mega Posts Display for Elementor – Premium WordPress Plugin

    Mega Posts Display for Elementor

    Welcome to Mega Posts Display for Elementor. With this awesome plugin for Elementor you can create a posts layout ...

    March 19, 2020
  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

Recent

  • How to Fix the Error

    If you get an error message “Error Establishing Database Connection,” this means ...

  • Onitir – IT Solutions WordPress theme

    Onitir - IT Solutions WordPress

    LIVE PREVIEWBUY ...

  • WhatsApp Chat – WordPress WhatsApp Chat plugin

    WhatsApp Chat - WordPress WhatsApp

Popular Questions

  • 404 error - Page not

    ...

  • How to echo the_excerpt without

    In the code snippet below, I trying to get the_excerpt to be ...

  • How to update meta fields

    I have an app written in Delphi and Indy components for Windows ...

Copyright 2019 WPTricks - WordPress Tips, Tricks and Hacks | Privacy | Terms

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.