Using transients to store captchas

I think that, while this method could be secure, there are many advantages to using an off-the-shelf captcha system, both in terms of the security of the captcha images/audio/media, and also in terms of performance advantages like caching. If you use a captcha widget which is JavaScript based, for example, the underlying WordPress-generated page could … Read more

Add filename to attachment page url

This doesn’t require a WordPress modification per se, but if you prefer to do it that way, here is a decent tutorial: http://shibashake.com/wordpress-theme/wordpress-page-redirect. Some people would, however, prefer to do this via the .htaccess file, here is a quick guide on how to do redirects that way: http://perishablepress.com/press/2006/01/10/stupid-htaccess-tricks/#red1.

Show Custom Taxonomy Slug(s)?

$term->slug Here is an example return of $term: stdClass Object ( [term_id] => 31 [name] => Architectural Items / Salvage [slug] => architectural-items-salvage [term_group] => 0 [term_taxonomy_id] => 31 [taxonomy] => dcategory Show Custom Taxonomy Slug(s)? => [parent] => 5 [count] => 10 [object_id] => 197 ) If you don’t know what’s in $term or … Read more

How to use get_option() without any filter?

I’m guessing that you are using language tags around ‘polish textdeutschland text’ i.e. <!–:pl–>polish text<!–:–><!–:de–>deutschland text<!–:–> but that they got ignored when you posted your answer. I’m pretty sure what you need to be doing is using the __() (which returns the translation for use in php code) and _e() (echo’s direct to screen) wordpress … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)