WordPress Development
-
In a WordPress Network site, Editors are prevented from being able to edit html. This is for security in case that Editor should not have capabilities outside of their own site. If the Editor user is trusted, then use the code below in your theme’s functions file to allow them to modify iframe or other…
-
Modifying your hosts file will allow you to access a website on an IP address that is not publicly available in DNS. An example of this is when you are migrating a website from one host to another and want to access the site on the new host’s IP address to verify everything looks proper…
-
It is recommended that you create 301 redirects for any URLs in your website that may change either due to page renaming and organizing activities or because of a site rebuild. The guide below will assist you in creating these redirects in your website’s .htaccess file. You will find the .htaccess file in your website’s…
-
One of the current limitations of Elementor’s recent posts widget is that it can’t pull custom fields. It does, however, pull in an excerpt. This little “hack” below is an example of sending Advanced Custom Fields into the excerpt so they can be exposed in the Elementor posts widget. In this example, the post type…
-
By default, WordPress will not accept your html in a post category, or other taxonomy description field. If you add the snippet below to your WordPress theme’s functions.php file, you will be able to insert html in the description fields for your categories. foreach ( array( ‘pre_term_description’ ) as $filter ) {remove_filter( $filter, ‘wp_filter_kses’ );}foreach…