Remove wp_list_pages() Links for Parent Pages
Creating a page list in WordPress is super easy. All it takes is one function call: <?php wp_list_pages(); ?>. The only problem with the list is if you have sub-pages…
Creating a page list in WordPress is super easy. All it takes is one function call: <?php wp_list_pages(); ?>. The only problem with the list is if you have sub-pages…
I know that the way most people treat multiple forms on one page is to have each form post to another PHP file where the form is validated, its information…
I just came across an issue where I needed to make sure that the text within a <pre> tag wrapped. The default for this tag it to just let the…
I have been spending a lot of time developing my Magazine Basic theme so I guess I have magazines on the brain. While speaking with a colleague, I got the…
I have already mentioned a few ways to do this but I have discovered a few problems with my old code. I have improved this one quite a bit so…
When WordPress 2.7 came out, there were a lot of new features, most of which probably passed by under your radar. I know I missed a bunch and thankfully, I…
I just had someone ask me why everything on their front page became bolded when they placed <?php the_content(‘(more’)); ?> in their code to use in conjunction with the more…
This is just a revamp of a function I wrote a while back to add the ability to limit the number of words displayed when you call the excerpt or…
I was just putting together a WordPress widget for a client and I came across a small road block. I was using <?php query_post(); ?> to set the loop to…
When you build a custom theme in WordPress that you would eventually like to share with the WordPress community, you can’t hard code certain elements like the blog’s name or…