3rd of October, 2009 in the year of our Lord
I just finished putting my new site design up. The motivation to finally finish it came from a much needed break from work and the need to stay up as late as possible so I can work the graveyard shift tomorrow night.
This is much cleaner and hopefully much more appealing to the masses than my old one, while still retaining some of my own interest.
Read the rest of New Site Design…
30th of September, 2009 in the year of our Lord
ascetic is a template theme I designed a little while back to speed up my design process. I’ve only used it half a time since creating it, so it’s listed as beta and i’ll update it as I use it more.
I appreciate any feedback/advice you may have.
19th of July, 2009 in the year of our Lord
When developing a WordPress theme, it’s helpful to know a specific page’s ID number at times.
For instance, I’m working on a site now where I want to display some pages in the sidebar, but not all, so I use the template tag “wp list pages” and the parameter “exclude.”
Here’s how the code looks:
<?php wp_list_pages(‘title_li=&exclude=PAGE_ID’); ?>
Problem is, I don’t know the page IDs and it’s not listed anywhere in Pages > Edit. However if you choose a specific page to edit, the URL in the navigation bar will end in “post=PAGE_ID”.
If you need multiple page IDs, go to Pages > Edit. The URL that titles point to ends in the page ID. In Firefox you can just hover over the link and look in the status bar at the bottom of the screen.
My code ended up looking like this:
<?php wp_list_pages(‘title_li=&exclude=2, 308, 310, 312’); ?>