In case you need to test multiple themes with same plugin you are higly likely create a multisite for comparison or ease of testing Install WordPress Importer plugin
Author: milindmore22
Why is blue so rare In nature?
Look up at the sky, glance at the ocean, or pick up a piece of lapis lazuli—the color blue is everywhere. It is a symbol of peace, depth, and vastness. Yet, when you look closely at the living world around you, true, vibrant blue is surprisingly hard to find.
Optimizing default WordPress REST API user endpoint for redundant DB calls made for permissions check.
While working with one of our client at rtCamp who was using REST API for thier website with PWA theme, We found out that it was taking way too much time at user endpoint wp/v2/users/{id}
Setting up WordPress.com VIP Development Environment with EasyEngine (Nginx)
Hey there, As you know VIP Quickstart has been deprecated recently. Here is some easy way to get started with VIP development, We hope soon EasyEngine will V4 launch with VIP support but for now, lets do all thing manually.You need Ubuntu 14 / 16 LTS with sudo access also we need svn and git… Continue reading Setting up WordPress.com VIP Development Environment with EasyEngine (Nginx)
Google Maps API drawing polygon with JSTS Library
One of our clients has asked for a roadmap feature for their website. Basically what he needs is a road map that lists all places around the route. Now getting the distance between two points was effortless. The important thing is how to draw a polygon around the route. After lot of browsing and Googling,… Continue reading Google Maps API drawing polygon with JSTS Library
WordPress Order by Last Word in Title
Try this. First, add the following orderby filter in functions.php, which will allow you to customize the way your posts are sorted in the WordPress loop. By implementing this filter, you can specify different criteria for ordering your content beyond the default options, making it easier to present your posts in a way that aligns… Continue reading WordPress Order by Last Word in Title
Sending Rich Emails: How to Set WordPress Mail Type to HTML
Are your WordPress-sent emails looking a little… drab? By default, WordPress sends emails in plain text, which means no formatting, no nice colors, and definitely no images. If you want your welcome emails, password resets, or contact form notifications to look professional and engaging, you need to switch the mail type to HTML. Here’s a… Continue reading Sending Rich Emails: How to Set WordPress Mail Type to HTML
Redirect WordPress users to a particular page based on the user’s role.
WordPress has many user roles, including subscriber, contributor, author, editor, and administrator; you can redirect particular users by role with the following function, which allows for customized user experiences based on their assigned capabilities and permissions. This functionality is particularly useful when managing a large number of users, as it enables site administrators to ensure… Continue reading Redirect WordPress users to a particular page based on the user’s role.
WordPress Plugin Template Redirects Custom Post, Page, Taxonomy
This PHP code, typically found in a WordPress plugin or theme, intercepts the template loading process using the template_redirect action to load custom template files based on the current URL query. It checks the global $wp query variables to determine the page context: if the pagename is ‘agenda’, it loads page-event-list.php; if the post_type is… Continue reading WordPress Plugin Template Redirects Custom Post, Page, Taxonomy
