Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

review

Preview page/post revisions without overwriting current content

WordPress has built in Revision Management. You can set the saved revisions to a custom number in the wp-config.php file in your installation. define( ‘WP_POST_REVISIONS’, 30 ); NOTE: You should be aware of the »autosave« mechanism, which also sets post revisions. So leaving a tab open for 1 hour with a Post Revision interval of … Read more

Categories posts Tags content, draft, pages, posts, review

Create reviews and star-rating for user accounts in wp-admin [closed]

You can store the ratings as user meta. When a rating is added, add it to the user’s ratings using add_user_meta(): add_user_meta( $user_id, ‘_ratings’, $rating, false ); The last parameter tells it to add the current rating to the meta as a new item, not to replace the existing. All ratings can then be retrieved … Read more

Categories wp-admin Tags rating, review, user-meta, wp-admin

Send a review notification email to admin when a post is 12 months old

You ask a good question, where I would put it or how I would call it? I don’t think you want to loop over all the posts everytime somebody visiting your site checking if any of them are more than one year old. Here is some thoughts about how this could be realized. Assume you … Read more

Categories posts Tags automation, email, notifications, posts, review

Organizing and grouping an array by year

if you fix your date format to be yyyy-mm-dd they’ll just naturally order themselves and you won’t have to do all this complicated output.

Categories array Tags array, review

Plugin Repository commit doesn’t show up in activity

If your plugin is already in the repository, you don’t need to submit the form to ADD a new plugin, you only need to update the trunk folder to make your update via svn. Sure WordPress will send you an email to tell you that the name is already use by another plugin and ask … Read more

Categories plugins Tags plugins, repository, review, svn

How to apply excerpt length only on front end?

How to apply excerpt length only on front end?

Categories excerpt Tags excerpt, review, theme-review

How to implement a rating and review system for WordPress custom posts?

How to implement a rating and review system for WordPress custom posts?

Categories PHP Tags comments, php, rating, review

How to force authors to ‘submit for review’?

How to force authors to ‘submit for review’?

Categories users Tags author, permissions, review, users

Woocommerce: custom loop in product tabs breaks reviews tab

I found the solution which is probably quite basic for experienced WP developers. I’m gonna post it here instead of deleting the question though, I hope this might help someone someday… The issue was that the post data wasn’t reset, so all I needed is to add a function call wp_reset_postdata(); after my while loop. … Read more

Categories woocommerce-offtopic Tags bug, review, tabs, woocommerce-offtopic

Woocommerce reviews xss issue [closed]

Go ahead and disable WooCommerce and comment on a post; you can do the same thing because you’re logged in as admin. Admin users are able to post unfiltered content. If you repeat the test logged out, you’ll notice you’re not able to exploit anything. See this trac ticket from WordPress https://core.trac.wordpress.org/ticket/33402 And this article … Read more

Categories woocommerce-offtopic Tags review, security, woocommerce-offtopic
Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 Page5 Next →
+ More

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
Next Page »
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress