In this tutorial, we are going to check how to create a popular post widget without any plugins. Lots of themes have popular post widgets built-in. In our previous tutorial, we learned how to create a child theme in GeneratePress. GeneratePress doesn’t have a Popular Posts widget. So it can be achieved either through a […]
In this tutorial, we will check how to create a child theme step by step of any WordPress theme. For this tutorial, we will are going to use GeneratePress as a parent theme. So first we need to know the parent and child concept in WordPress. What is a parent theme? The parent theme is […]
In this tutorial, we are going to learn how to check if checkbox is checked in jQuery. Let’s say we have a checkbox and button. When the button is clicked, it will check if the check box is checked or not. In the above code, we are using .is() to check the checkbox property checked […]
Insert CSS to html in 4 ways: external CSS file using a LINK tag, using STYLE, IMPORT in the style tag, INLINE as a style attribute in the HTML tag.
We have seen on social media platforms that if someone posts something, the time is given below that post, such as 5 minutes ago or 2 days ago. In today’s tutorial, I will show you how to convert timestamp to time ago in PHP. Now we need to make a custom function for that. For […]
To disable and enable a button in jQuery, we need to change its disabled property to true or false by using jQuery. The basic function to change the disabled property is attr() and prop(). So lets check the basic example first. First, create a button and give an id to it. For example “submitBtn”. Select […]