Sometimes when a security hole is found in WordPress, the cyber-baddies will target specific versions of WordPress that are vulnerable to the exploit. There’s no easier way for them to see which version a site is running, than by looking for the “generator” meta tag, which is added by the wp_head() function.
WordPress Development
WordPress Snippet: Display multiple loops on the same page
December 12th, 2009
Comments Off on WordPress Snippet: Display multiple loops on the same page
Let’s say that on a category page of your WordPress blog, you want to display a secondary list of posts, for example the 3 latest posts from a “featured” category. You have a couple of good options here.
Let’s say that on a category page of your WordPress blog, you want to display a secondary list of posts, for example the 3 latest posts from a “featured” category. You have a couple of good options here.
WordPress Function: in_category_extended()
November 30th, 2009
3 Comments
The core WordPress function in_category() is pretty handy but it’s also pretty basic. in_category_extended() is designed to extend the functionality of in_category() by examining descendant categories aswell as the current one.
The core WordPress function in_category() is pretty handy but it’s also pretty basic. in_category_extended() is designed to extend the functionality of in_category() by examining descendant categories aswell as the current one.