background preloader

Wordpress

Facebook Twitter

Code Styling Project » PHP function setlocale() … and numbers can be damaged. At many Blogs and forums you can read the same story about localized month name issues if a theme or plugin doesn’t use the WordPress build in functions for that purpose. In most cases this will be roughly handled by just take the setlocale() function and override the OS locale settings.

There are also WordPress plugins in the wild used for blogging multi-lingual. Those plugins mostly set the locale depending on choosen language hardly without any chance to suppress it at backend. Let’s take a common practical example to show up what the differences can be, if you switch from US locale (standard) to german locale. The next code block demonstrates how the german locale would be activated: or the better known short form (if OS supports it): This may solve your issue with monthly names returned by the PHP date() function but produces much more bigger and sometimes hidden problems. <? What would you expect in your browsers HTML view? <div style='width:32.5%;'>Hallo</div>

Themes

Wordpress général. WordPress Tavern: Where Every Drink Is On The House. Aide WordPress - ou comment utiliser son blog WordPress. Faq de wordpress en français. Force WordPress to use the Latest Version of jQuery. Extensions.