22.May.2008 at 1:22 pm | 1 Comment
During a recent site redesign, the client required the site dynamically generate a unique promotional banner (in the sidebar) on certain high profile writers “about the author” page.
Before WordPress version 2.5.x, we had to rely on conditional tags such as is_page() or is_category() and numerous lines of code to accomplish it. For most parts it worked well, especially when you had only one or two conditions to satisfy, but when the number of such exceptions increased, the code became bulky and was prone to err.
With WordPress version 2.5.x, you can simplify the task by applying the conditions over an array of pages (categories, tags…), here’s an example:
Our conditional tag was required to automatically generate a banner when the author page of specific authors was queried.
Tagged: Code, Conditional, Design, HTML, PHP, Projects, Theme, WP, Web Design, hacks, how to, resources, tag, techniques, technology, tips, wordpress
26.Apr.2008 at 8:52 pm | 10 Comments
For good SEO, it is preferential to open your comment authors URI in a new page. Why you might ask? Google and other search engines track sites you visit, they can tell what that site contains (obviously), how long you stayed there and where you went next. The intended use of this information is to find if the sites you visited were relevant to your search keyword and/or if all the sites you visit are related. That could also work against you if your site get a lot of spammers commenting on it. Here’s how.
Let’s say you get a comment on your site that look legit, so you want …
Tagged: Akismet, Blogging Tips, Code, Conditional, Design, Google, HTML, Javascript, PHP, Pop-up, SEO, Search Engine Optimization, Spam, WP, Web Design, Yahoo, blog, hacks, how to, resources, site validation, tag, techniques, tips, wordpress, xhtml
19.Apr.2008 at 11:07 am | 2 Comments
As the tutorials run longer than we prefer, we have broken section 3 into 3 sub-sections, you can find sub-section 1 regarding second level menu here.
The navigational aspect of a site, especially one that is database driven, should have menus that are dynamically generated just like the rest of its content, but is seldom the case. The reason is not the lack of information or techniques, but rather the developer underestimating the role of effective navigation to the success of a site. A site with poor navigation is just as or bad or worse than a site with poor content.

Magazine style themes have overcome …
Tagged: CSS, Code, Conditional, Design, HTML, Magazine Style WordPress Themes, PHP, Theme, WP, Web Design, hacks, how to, resources, tag, techniques, tips, web 2.0, wordpress, wordpress themes