You don’t need a child theme in order to add custom CSS to your WordPress theme. If all you need is to add custom CSS, there is a quicker, easier way. Child themes are only needed when you want to change .php files or add custom functions. The easiest way to add custom CSS … Read more →
Posts Tagged “building custom WordPress Themes”
This lets you force a certain page to use a specified page template file. This is useful if you want it to use some custom page template for a certain page, and for whatever your reason, you must assign it via a function file. Replace $page_template with your custom template file, relative to your theme’s … Read more →
This is a function for a weird case. In the strange case that you are including or packaging a plugin with a theme, and you only allow the plugin to be activated if they mark a checkbox in the Theme Options page, and you don’t want the plugin to ever remain activated if they UNCHECK … Read more →
This function checks for/detects the listed browsers, and outputs the browser name as a body class in WordPress.
If you use post excerpts instead of the entire content on your WordPress blog posts index page, and on archives pages, you may notice that your excerpts end with this: “[…]”. You may also notice that it doesn’t link to the post. WordPress automatically appends that bracket/ellipses to excerpts. Here I show you how to … Read more →