Posts tagged ‘Code’
Add Custom Content for Your Blog’s Index Page
Most of the time we want our index page to the flashiest page on our site. A while ago I wanted to put a dynamic slideshow and special copy on my home page that wouldn’t show up on the rest of the site (and oversized, 2009-trendy intro header sentences written in first-person don’t count). It’s easy enough to do with plain ol’ CSS and HTML — even with the bulk of simple CMSs — but might be a bit more
Start Using WordPress Attachments Now
Check it out: How often have you wanted to add an attachment for a specific post in WordPress? This little snippet of PHP will let you do just that. It loads attachments into an array ($args), and then lists them (foreach…) with their respective titles (the_title).





