Add active class in current page link in wordpress
It uses the following code to add the class "active" to any links in the header if the user is currently on that page: <style> .current_page_parent a { color:red; }…
It uses the following code to add the class "active" to any links in the header if the user is currently on that page: <style> .current_page_parent a { color:red; }…
The custom logo support should be added first to your theme using add_theme_support(), and then be called in your theme using the_custom_logo(). A custom logo is optional, but theme authors should use…
Post Thumbnail, now Featured Image, is an image that is chosen as the representative image for Posts, Pages or Custom Post Types. The display of this image is up to…
One of the most important selling points of WordPress is the idea of themes. A single theme adds great value to the design and functionality of the website. However, there…
WordPress includes an easy to use mechanism for introducing customised navigation menus into a theme. In order to incorporate menu support into your theme, you need to add a few…
Incorporating CSS and JavaScript into your WordPress theme isn't just about dropping links into your template files. WordPress provides a structured way to include these resources, ensuring they are loaded…
Have you ever been asked to add some code snippets to the <header> or <footer> section of your WordPress website? By default, WordPress doesn’t provide an option to insert code…