Similar to the standard include() or require() PHP functions, WordPress provides its own function for loading templates (PHP files), called get_template_part(). As its name suggests, it is designed to call parts of templates in WordPress sites. While using the get_template_part() [...]
Posts about: WordPress Development | Page 8
WordPress users are familiar with the wp-config.php file as the one used to set up the database information, such as the database name, the username, password, and its location (as well as table prefixes, security keys, and language). However, many [...]
In this post, we will show how to create a filter with Isotope that allows filtering elements based on any attribute, in our case, we will enable filtering posts by taxonomy. To create the filter we gonna use Isotope which [...]
It is reasonable to assume that all of us have had to use these shortcodes in one constellation or another. Generally, these come together with plugins or themes, and what they do is search and replace whenever you input something [...]
Recently I was required to add an editing option to an Archive Page on a website that works with Polylang. Since it’s not possible to add fields to an archive page using ACF, I had to add the editing option [...]
I really love Advanced Custom Fields, and I’ve already written about it in the past. And although there are interesting alternatives for creating new content fields, in 99% of the cases, the ACF plugin in its PRO version provides everything [...]
I recently wrote about Isotope and how to use this library to create a filter or post filtering in WordPress. As mentioned, Isotope has a young sibling called masonry.js, which allows you to create nice layouts and essentially enables creating [...]
Lity is a lightweight, accessible, and responsive lightbox library that supports images, videos, iframes, and even inline content. The library weighs only about 3K when minified and gzipped on your server. In this short post, we’ll see how to use [...]