Tag: reference

  • Working with the WordPress Customizer

    Recently the Theme Review Team chose to make the customizer as the format of creating theme options. I love it! Yes, I was in favor of it. I have my reasons. I know there are some people that still don’t fully grasp the customizer and most likely won’t. All good! Some take a little more…

  • Fun with template tags: comment_form

    This time I’ll focus on the comment_form(). Neat, fun and with plenty of hooks and filters. The code Like usual we will look at the core code of the comment_form. There are approximately 230 lines of code that make up this template tag. Does sound like a lot, right? Yes, but when you look a…

  • Fun with template tags: comments_template

    On my last post I talked about dynamic_sidebar and some uses. It was a fun little experiment I wanted to do and share. Yes, I said experiment. That is how I learn. I read, do and then share. I know I’m not the only one that does that. This time I dabbled with comments_template(). Yes,…

  • Fun with template tags: dynamic_sidebar

    The last couple of weeks I’ve been reading the core code more and more. I like it. Came to the conclusion I really don’t know every hook or filter. I don’t claim to though. I like knowing enough to make a functional theme or even a plugin. Yes, I’ve been recently dabbling with one but…

  • Using the_post_thumbnail

    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…

  • Child theme friendly post-formats

    It’s no surprise I will always preach the making of child themes. Part of the reason is because you can make modifications without losing all that when it comes time to update the parent theme. I mean nothing more exciting than having to recall what files you changed, what code you added, deleted to brighten…

  • Getting the image count in WordPress

    A long time ago I had a bit of an issue on how to get the image count from a post. At the time there wasn’t a way that I could think of to properly getting all the needed information; but then again I didn’t know as much as I do now. I wanted to…

  • Using a post as a menu item

    Truly a neat little find for many people. I know when I saw this for the first I was beyond astounded. It does seem a little odd to use one but there are some random cases when it can be useful. Rather than having to use a page you can use a post. Granted it…

  • Vary all the vagrants

    It’s no secret that creating a proper web hosting environment can be a pain. Main reason being that there are many things that you have to take into consideration. Processor, storage, memory and sometimes if the motherboard can support it all. And I’m getting far ahead of myself again. When it comes to creating WordPress…

  • Playing nice with plugins

    Yep, you read that right. Playing nice. With plugins. I know what you’re thinking and are probably wondering what I mean by that. Don’t lie You know you want to ask. What do you mean by that? What I mean is that as a themer you shouldn’t be adding frivolous things to your theme. What…