A list of all articles for the tag "hooks".
Add Default Text for WordPress Pages and Posts
Making the WordPress ‘default_content’ hook work in your favor by easily adding default text to new pages, new posts or both. The code for this is slightly adapted from other ‘default text’ code I’ve seen online because it allows you to distinguish between whether you’re adding a new page or a new post.
Prevent Profile View for Users in WP
Prevent ‘Subscribers’ from viewing any portion of your WordPress administration area. The code can be adapted to fit your needs – block out any WordPress user based on level from various parts of the admin section. Very handy if you’re working with user registration at your blog.
WordPress Theme Options – Round 2
Re-exploring WordPress Theme Options to make using WordPress features easier to use as options. Looking for a way to add input fields for things like pages, posts, categories, tags and authors and why I think it’s a good addition.
DMG WordPress Theme Options
Looking to add easily add options to your WordPress themes? Look no further – the DMG WP Theme Options (version 2.0) is now available for download. Powerful and feature packed, yet a snap to use. Have a look, try it out and peek at the manual on the page as well. Let me know what you think.
Removing the WordPress Version
Make use of ‘hooks’ in your themes function.php file to remove the WordPress version number from being displayed anywhere on your website. See the different methods and learn which is the best to use.