Posts Tagged ‘Code’

Pretty permalinks without mod_rewrite
WordPress Hacks | December 8th, 2011 | by Thomas | 7 Comments
There are still some third-class web hosters who do allow the .htaccess files … and turn off the standard module mod_rewrite. But without mod_rewrite, WordPress cannot use pretty permalinks, right? Wrong! There’s another directive we... read more...

Advent Calendar – WordPress Editor: Preserve the scroll position
WordPress Hacks | December 5th, 2011 | by Frank | 11 Comments
WordPress has a nice editor, with which are several hundreds of articles written daily. But in my opinion the editor has an usability issue. Every time you save a post the scroll position of the... read more...

Advent Calendar – Predefined callback functions for filters
WordPress Tutorials | December 4th, 2011 | by Latz | 6 Comments
Filters are often used for removing content. For example, if you want to hide the admin bar you can do the following: function hide_admin_bar() { return FALSE; } add_filter( 'show_admin_bar' , 'hide_admin_bar' ); It's a... read more...

Advent Calendar- How to disable comments for WordPress pages in any theme
WordPress Plugins | December 2nd, 2011 | by Thomas | 9 Comments
Usually you don’t need comments on pages. Unfortunately, WordPress doesn’t offer a separate option to leave comments on posts on and turn them off for pages. If your theme calls comments_template(); in its page.php and... read more...

Advent Calendar – Only Update The Core – The Fast Way!
WordPress Hacks | December 1st, 2011 | by Frank | 6 Comments
Same procedure as every year! Most of our readers already know of our Advent Calendar tradition, which we have every year before Christmas. What exactly an Advent Calendar is all about, that is explained on... read more...

Use Constants for deactivate the Editor in WordPress Backend
WordPress Hacks | November 23rd, 2011 | by Frank | Comments Off
WordPress is known for, that several constants lie dormant in the core and often provide quick solutions. In this context I have recently come across two little strings in the core of the backend editor... read more...

