https://millionclues.com/wordpress-tips/making-classes-php-7-compatible/
https://millionclues.com/wordpress-tips/making-classes-php-7-compatible/

https://millionclues.com/wordpress-tips/making-classes-php-7-compatible/

By default, WordPress cache feed or rather the cached feed has a lifetime of 43200 seconds, equivalent to 12 hours. There isn’t an option in WordPress admin panel to purge the cached feed and force WordPress to refresh feed manually. On a specific project you might need WordPress RSS widget to update faster than every…

By default WordPress displays “Enter title here” placeholder text in the post title field section on the post screen, where you create a new post. But in case of custom post type, while we register our custom post type, there is no parameter or option to change this default placeholder text to provide more personalized…

In version 3.1, WordPress added a fixed menu bar at the top of the website, it’s called WordPress Admin Bar. Ever since the introduction of the WordPress admin bar, it has been a topic of discussion among developers. Some developers hate it because in some cases it breaks the website design and for that matter,…

On successful registration of a user, WordPress by default shows “Registration Complete. Please check your e-mail.” message. But on a specific project/website you may want your newly registered user to display a custom registration message or you may want to redirect to custom page. In my opinion, it’s a better idea to redirect users to…

By OutsourcedContent — on October 12, 2017 You might want to read this post on how to conditionally display fields in Contact Form 7 plugin with simple JavaScript first to get some context. Here we are trying to display a line of text when all checkboxes are checked. Here is the result. Here is the…

Although it’s not really a huge deal but some people might want to replace the default welcome message “Howdy, admin” in the WordPress admin bar. To replace “Howdy, admin” in WordPress admin bar, you can use this code snippet below. Using this snippet now, your welcome message will read “Welcome! admin” instead of default “Howdy,…