Decoding the template attribute for Inner Blocks in WordPress

InnerBlocks is quite a nifty feature in WordPress. It allows you to set up a new block comprised of existing blocks in a pre-defined layout in the content of a post. They prove to be very useful when dealing with sites having monotonous content on a number of posts. It can be a real time saver. In order to set up a block containing InnerBlocks, refer to the official documentation. It will clear a lot of things for you. However, in this article, we will not be talking about setting up InnerBlocks. In this post, we'll focus on one particular attribute template. The layout of a block is set up with the help of this attribute and frankly, it's not very well explained in the official docs. So, I thought of shedding some light on it.

How to use wp_add_inline_style the right way

Whenever developing a WordPress Theme or plugin, you might have surely felt the need to modify some CSS properties such as colors, font size, transitions, hovers and other CSS elements using PHP. There are many ways to do so but we are going to focus on the most recommended one i.e. wp_add_inline_style. This function is used to add custom CSS styles to already enqueued files. Let's see how it works.

How to Create a Range Slider Control WordPress Widget

WordPress offers a range of Widgets by default to include in sidebars. These include Image, Gallery, Recent Posts, Recent Comments, Archives, Text and many others. If you have ever developed a WordPress Theme, you would be familiar with the concept of Custom Widgets. These are widgets specific to a Theme. I would not go in the details about creating a custom widgets as I'm assuming you already know that if you are reading this article. In this article, we'll be creating a Range Slider Control for a Custom WordPress Widget. I'll be creating the default slider but each one of them is possible.

How to Integrate bxSlider in WordPress(No Plugin!)

bxSlider is one of the best and most useful jQuery plugins to include slider, carousel or ticker functionality to your WordPress Theme or website. What makes bxSlider so popular is its ease of use and very high level of customisability. It is very easy to integrate and provides a ton of customization options so that you always feel in control. In this article, we will see how to integrate bxSlider in a WordPress Theme or website the right way without using any external plugin.