Working with paginate_links

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…

Read more Working with paginate_links

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…

Read more Fun with template tags: comment_form

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,…

Read more Fun with template tags: comments_template

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…

Read more Fun with template tags: dynamic_sidebar

Learning with practice

The progress of my theme is decent. I have been learning how to work with Git and SVN more and more. I did recently have a little conversation with @ipstenuĀ on Twitter about learning version control. Yes, I am still learning how to harness the power of simple commits and getting the hang of how to…

Read more Learning with practice

Code – some random javascript conditionals

Warning: what you are about to read deals with code. Working with PHP is fun for me. At times it can be a pain but I still love it. One thing that I have been trying to find is an AJAX media query for loading certain stylesheets when the viewport is at certain widths. I…

Read more Code – some random javascript conditionals