Yesterday I was able to change out the theme to this site. I spent most of the day just fiddling and trying to get things to just work. I took a theme from the free repository and scrapped a lot the unused files. Yeah. There were quite a few that I didn’t really need. Many… Continue reading Always a work in progress
I’ve seen quite a few themes that have been doing this thing of passing an argument to the function when they could be using a filter. I get it we all have our methods. But when there is a better practice would you rather use the better practice or a wrong one? I choose the… Continue reading Copy paste is hurting your theme
It’s been some time since I was last able to record some video on theme reviews. The last time I did it was a quick overview of my review process. Super simplistic overview of a theme review. Today I was able to record an overview of what an admin review can be. As you can see I… Continue reading Some theme review videos
It is no secret that I try to advocate the use of core functions when possible. The idea of maintaining less code is a great one for any developer. It’s the old set it and forget mentality. What I do see a lot of is the use of my_theme_pagination that uses get_pagenum_link in order to get… Continue reading Working with paginate_links
I am not a huge fan of sliders until they are used in a decent way. The only way I sort of like them is in an image gallery but even then it has to be somewhat incorporated with a lightbox, colorbox, whatever you would like to call it. These sliders are slowly becoming a bit more popular with theme developers because it can solve a few issues for the user. The biggest drawback is that they will no longer have that slider when they ultimately redesign the site and switch themes.
So, you have a theme in the WordPress repository and have some documentation but you only have the basic information. How can you improve upon that?
Setting up a front page is hard. So many things to think. Do you want a page of your latest writings to be what a visitor first encounters or do you want a static page? Perhaps a unique template so as to differentiate between the rest of the site?
One thing I haven’t seen many themes use is active callbacks to their advantage. What are they and how can they used? It’s actually quite simple and there are two methods that the customizer has available. The first one is when you first create the section, panel, or control. Great! We have a section but… Continue reading Using active callbacks in the Customizer
Using the get_categories function with the customizer can be tricky. This is a code snippet to help out.
For some time I’ve noticed one thing that many people like doing. Recreating core functions. One being the_post_thumbnail(). The reason it drives me crazy is because it means maintaining more code in your theme. Why would you do that to yourself? One of the common things is to wrap it in a conditional check and… Continue reading Using the_post_thumbnail