Tag archives for wordpress hack

If you’re white labeling WordPress as your own CMS or simply want to add your own text and links to the WordPress dashboard footer area, this is a simple customization that you can do in under a minute. Simply paste this into your functions.php file: function remove_footer_admin () { echo “Your own text”; } add_filter(‘admin_footer_text’, [...]

Ever want to post an article submitted to your blog by someone else? Here’s an easy way to post it yourself as admin and rewrite the author name to whatever you want on a case by case basis. Add this to your single.php and/or page.php file where you want the author name to show up: [...]

I found this simple, handy tip over at wprecipes.com. You can set the automatic interval at which WordPress must empty the trash by adding this to your wp-config.php file: define(‘EMPTY_TRASH_DAYS’, 10 ); The number 10 refers to how many days between WordPress trash dumps. Set a “Garbage Day” interval that is convenient for you and [...]

If you’ve every wanted to use different sidebars for different post categories or even individual posts, here’s a quick and easy way to put a little more customization into your templates. Open your single.php file and locate the sidebar: < ?php get_sidebar(); ?> Replace it with this: <?php $sidebar = get_post_meta($post->ID, “sidebar”, true); get_sidebar($sidebar); ?> [...]

Somebody asked on Twitter for a way to add author avatars to posts, so this tutorial is partially in response to that. It’s also a helpful community building tool, because readers know where they are and who is speaking to them. This is a quick hack that will instantly add more personality to your posts, [...]

backtotop