Have you ever felt a need to alter one of WordPress’s default page listings so that it doesn’t show up certain pages? I did when I was first starting out with WordPress, and for the life of me I couldn’t figure out a satisfactory way of doing it (sure I could have hard-coded the links into my template, but that’s not what I consider a satisfactory solution).
In fact, at the time, I wasn’t even sure if I was supposed to be changing any of my theme’s template files at all, after hearing all those dire warnings not to hack the core. Now that I’m a bit more experienced, it’s obvious that most people use a theme as a starting point for their site, but then customize it to suit their particular needs and taste, and to give their site a unique look.
Continue reading ‘How to exclude pages from WordPress’s page listings’