After much digging around and trying to find a suitable plugin or PHP if/then statement, I came across a nice little site that did it for me using the functions.php page. I would love to say I wrote this handy bit of code myself but I did not. Much praise to for the skilled coder [...]
Archive | Code Snippets
RSS feed for this sectionDisplay recent comments on your WordPress blog
Sometimes you want to display a WordPress feature, such as recent comments, tags, etc., without using a widget. For me, it’s occassionally easier to STYLE, especially if I’m not using a Theme that I built or that I’m familiar with. A great code around is shown below, courtesy of to Kyle Eslick and found on [...]
Adding thumbnail support to your WordPress theme
Yea WordPress! Starting in version 2.9, thumbnail support is built into the code, which means that instead of doing all the hard work, WordPress has done it for you! For the most part anyway… It’s a pretty simple process. 1. Add a line of code to functions.php add_theme_support(‘post-thumbnails’); 2. Define the size of the thumbnails [...]
Display WordPress Blogroll Links By Category
Want to display your blogroll but maybe just a certain CATEGORY only? Such as ‘affiliate links’ or ‘friends’…. It’s easy. 1. Locate the category ID number by going into the Link manager in WordPress and hovering over the category name. That should show you the ID. If that doesn’t work, click on the category name [...]
Make your SUBMIT button an IMAGE using HTML
Code snippets You want to use something a little bit more attractive than the standard ‘SUBMIT’ button – even changing the text to ‘PUSH ME NOW’ isn’t as visually appealing as a nice graphic you’ve made to match the color and theme of your site. We all know graphics help make a website jump from [...]
Displaying Category POSTS on a WordPress Blog Page
This week I wanted to create a page that would hold all of the blog posts that I made in the category ‘Portfolio’. I didn’t create a portfolio page because I wanted to be able to add a post each time I had a new item to add to my portfolio. <authors note: I have [...]
Find Out More!
By BREAKSTS penny stock