You are now in Themes
Output which theme template file a post/page is using in the header of WordPress
This is a tip to help developers when creating or editing a WordPress template. This is a dead simple code and is especially useful for big templates (like a magazine style or e-commerce). It will show which template are being currently used by WordPress. add_action(‘wp_head’, ‘show_template’); function show_template() { global $template; print_r($template); }
Veja MaisHow To Add Custom WordPress User Profile Fields
Ever wondered how to add that piece of extra information about the users in your WordPress site? Fear no more! Bellow is a very easy code to implement in your functions.php file that will allow you to add any and every type of information you want to save about your users. // CUSTOM USER PROFILE [...]
Veja MaisRemove Update Notification for all users except ADMIN User
Are you tired of all that notification on your WordPress Admin showing to every user (no mater which level of permission they might have) that log in? The code bellow you make sure that only the Admin permission level will be able to see the available updates. // REMOVE THE WORDPRESS UPDATE NOTIFICATION FOR ALL [...]
Veja MaisHow To Disable Comments on Wordpres
This is a very common question i have been asked lately. Specially because of the Seo Facebook Comments Plugin. Which many people don’t know is that you can easily disable a comment for a specific post or page by changing a configuration on the edit page of this post or page. All you have to [...]
Veja MaisHow to Pass WordPress Database Information to the Front-End for Javascript/Ajax
Thats one of the nicest things I have recently come across while playing around with wordpress, i was currently trying to pass information from the database, dynamically, to the front end to use this information in ajax requests and dynamic validation with javascript. The key, in this case my friends, is to use the wp_localize_script() [...]
Veja MaisWhy I stop using the default include functions built in with WordPress
This post will be a bit more technical then the others, so be advised if you’re not much into WordPress design or programming. So WordPress comes with many built in functions created to make life easier when you want to include a template part in other template files. The most well known are: get_header() get_footer() [...]
Veja MaisSoon: Plulz Exclusive Themes
One of the reasons we haven’t released any Theme for WordPress is that we’re looking into ways that would make really good ones with a really good code. By good code we mean code that have very good performance, easy to maintain and extensible, something we already do with the plugins. So far we have [...]
Veja Mais