Show parent page title regardless of what subpage you are on: Find Page’s Top Level Parent ID This code can be used for displaying 2nd and 3rd level navigation links based on the current section. Code taken from the CSS Globe here: http://cssglobe.com/post/5812/wordpress-find-pages-top-level-parent-id Display a link to the top-level page of a section Find all Full Article…
Search the Wiki
Navigation Menu for sections based on parent and grandparent
This is pretty awesome! I needed to have a sub-navigation links menu using the wp_list_pages function for sections and child pages. I needed the menu to display appropriately if it’s a second-level page with only a parent page? and also if it is a third-level page making the top-level page of the section a grandparent Full Article…
Embed Website Fonts with CSS
As you’ve already known, Firefox 3.5+ , Safari 3.1+, Opera 10+ and Internet Explorer 4.0+, all of them support @font-face embedding and Google’s Chrome 3.0 beta does as well. Although embedding the @font-face is easy by just few line code in CSS, create these font file for each type of web browser is not easy. Full Article…
Replace the WordPress login & dashboard logos
Original code taken from here: http://www.problogdesign.com/wordpress/custom-wordpress-login-screen/ The WordPress admin login page is very easy to customize. With the code below, you can add your own CSS to the login page and make it look however you like. Best of all, your customizations are all done in your theme files, so the changes will stay when Full Article…
Get fake WordPress Tiny URLs
With the rise of Twitter and its 140 characters limit, bloggers have to use short urls to fully take advantage of this new social media phenomenon. Lots of quality url shorteners are available, but this trick will create a shorter version of your urls automatically, making you save time and hassle. Paste the following code Full Article…
Run WordPress Locally In Just Few Clicks
It’s always a good idea to have a copy of WordPress running on your local PC for anyone who wants to create a new WordPress Theme, test some plugins or try the latest version of WordPress. One of the quickest ways to install WordPress locally was to use the popular XAMPP on Windows machine: but Full Article…
Post Thumbnail Images
Introduction: Many WordPress themes, especially those with “magazine-like” layouts, use an image to represent each post. It might just be on the front page. It might be alone, or alongside an excerpt. Until now, there was no standardized way to do this. Many themes would require you to tediously enter a Custom Field with the Full Article…