often early on in a given request lifecycle. Get your current database version from the database (WordPress core stores its database version number in thedb_versionoption; don’t change this), compare that with the version of the loaded plugin/theme, etc. If the saved version is ...
To create a custom login in WordPress, you can either create a plugin or create a page template in your theme. For the purpose of this tutorial, I will focus on the latter. Creating a custom login page for your theme allows you to ship the theme with the feature, something that might ...
In this article we show you how to use the Advanced Custom Fields plugin (ACF) and ACF flexible content fields to create stunning designs using WordPress.
So, let’s go the custom way, creating custom post status via functions.php is quite easy or you may even bundle it as a tiny custom plugin and use it. I registered the custom post statusIn Writingin my theme’s functions.php. I used the WordPress action hook to call the function to...
custom theme. Therefore, you need to either always specify a swatch letter for all your elements or their parent using for example thedata-themeattribute, or you will need to provide a swatch in your custom theme for the possible defaults. Additionally, the error messages use the swatch "e"...
If you scroll to the bottom of the page in the WordPress editor, you will find an AIOSEO Settings section. You need to click on the ‘Redirects’ tab. The source URL has been filled in for you. Simply enter the new URL in the ‘Target URL’ field, and select ‘301 Moved Permanently...
When Gravity PDF is installed, it automatically creates a folder calledPDF_EXTENDED_TEMPLATESin your WordPress upload directory. This folder is used to store temporary files, fonts and custom PDF templates. Any PHP files in the root of this folder will be classified as aPDF Template, and the ...
A site-specific plugin allows you to easily add code snippets to your WordPress website without relying on your theme. It allows you to use custom code to improve your site and not worry about having to redo everything when your theme gets updated. ...
Get affordable and hassle-free WordPress hosting plans with Cloudways —start your free trial today. Before the advent ofCSS custom properties(we might call them “variables” in this article as that’s the spirit of them), implementing multiple color schemes on the same website usually mea...
Plugins are part of what makes WordPress be what it is, the most used content management system in the world, present in more than 30% of sites worldwide! Learning how to deal with the WordPress plugin engine will set you free from third-party tools.