…vant parts of this series. Your theme shouldn't contain any references to your domain name—it should use a function such as get_bloginfo('url') instead—but if there are some rogue URLs in your theme files, you'll need to change those as well. I'll show you how to change them correctly, so that…
…vanced tag, there are Admin, System, Advanced and Developer sections. In our case, we'll have a Custom Configuration Settings section under the Custom Configuration Tab.Next, we use the <groups> tag to group similar configuration fields together. For example, you would like to display image related fields and email related fields…
…vanced Form Add-Ons.Is Gravity Forms the Right eCommerce Solution for You?Gravity Forms isn't a replacement for a full shopping cart functionality, but it could be the right solution if you want to:sell tickets for an event that requires registrationaccept donations of different amounts onlinesell something that requires users to fill…
…vanced settings to make the most of it. All of the algorithms it uses (jpegtran, optipng, pngout and gifsicle) are lossless algorithms, meaning that it won't change any pixels but will reduce the sizes of your images by re-coding and cleaning up the files. It might not optimize images like…
…vant ID, while if an archive page is being viewed, the query will retrieve all posts in that archive.But sometimes you want to do things a bit differently. Either in your page's main content or elsewhere on the page (such as in the sidebar or footer), you might want to…
…vanced Custom Fields in the WordPress List Table (WP_List_Table), and sort our data alphabetically by those new fields.Today we’ll cover how to extend the search functionality to include the data stored in our Custom Fields.Search FunctionalityEach Post Type that has an Administration Interface comes with a search box:By default, when…
…vant plugin on the WordPress plugin repository for help.Finding a Plugin to Help You Move Your SiteThere are a number of migration plugins to help you move your site, but for a very simple move you might find that plugins to import content do the job.I'm going to look at…
…vanced Custom Fields.Today we’ll cover how to restrict access to WordPress Administration Menu items.Roles and CapabilitiesWordPress uses the concept of Roles, where a Role can be assigned to a WordPress User. This Role defines what the User can and cannot do.By default, WordPress has six roles:Super AdminAdministratorEditorAuthorContributorSubscriberThe permissions that a…
…vantage of this.Controller actions that are a single if..else statement are a straw man. Even modest-sized apps have a lot more stuff than that, creeping into the controller domain. There is authentication, authorization, and various controller-level business rules (e.g. if a person goes here and they are not logged in,…
…vanced StuffNow you have a tool that can be used for creating multiple themes, so let's move the theme files to another folder in the wp-content/themes/wp-gulp-automation/theme-boilerplate directory.Copy the index.php and style.css files and the css, img and js folders to theme-boilerplate.This is a very basic theme-boilerplate. You may extend this…