…Today Example 10: Show Children of Current Page Key Points to Remember About WP_Query A Quick Tutorial on Creating a Loop With WP_Query Just as a refresher, here is a mini-tutorial on creating WordPress loops with the WP_Query class. It's no different from creating a regular loop, really. A typical…
…Today, you’ll be learning about a web technology that is known as the Document Object Model, commonly referred to as the DOM. This technology is tremendously powerful as it enables web developers to access and modify HTML elements through the use of JavaScript.Now you may wonder why we even need…
…today.Heads Up!If this article has whetted your appetite for the world of testing in Python, why not check out the book "Testing Python" written by the articles author and released on Amazon and other good retailers recently. Visit this page to purchase your copy of the book today, and support…
…while keeping any potential bugs to a minimum.Heads Up!If this article has whetted your appetite for the world of testing in Python, why not check out my book "Testing Python", released on Amazon and other good retailers recently. Visit this page to purchase your copy of the book today
…Today, we'll cover how to use Advanced Custom Fields, a popular WordPress Plugin, to quickly generate custom fields. Advanced Custom Fields Creating custom fields for a post type is time consuming, and we’ve identified key security considerations in the process. For a CRM, where we may have several, different field…
…Today, we’ll cover how to display the data stored in our custom fields right within our contacts table. All About WP_List_Table Each post type that has a dashboard uses the WP_List_Table class to render the familiar table and its associated actions: By default, WordPress will display the following columns: checkbox…
…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 a user searches for Post(s) in the WordPress Administration interface, WordPress will search the wp_posts table to…
…today is give a quick rundown of service objects as we've implemented them in Aldous. Hopefully this will tell you most of the things you need to know in order to use Aldous service objects in your own projects.The Anatomy of a Basic Service ObjectPhoto by Dennis SkleyA service object…
…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 Role has…
…Today I will look at Aldous controller actions and the benefits they can bring to your Rails application.The Case for Breaking Out Every Controller Action Into a Class Breaking out each action into a separate class was the first thing we thought of. Some of the newer frameworks such as…