Tag: PHP
-
List All Users in WordPress
The possibility in WordPress to display all users is not available in a standard installation. To get a simple list of all users, you can use following function. To display just specific user groups or users, there are many template tags available to do so, go to WordPress-Codex – Author Tags.
-
Publish The Feed Later
Some of you know this problem already, you publish a post and while you are publishing you notice an error. That’s very annoying, the error is in your feed an published to the whole world. That happened quite often to me, my fellow readers a writing comments so fast, right after publishing, to tell me…
-
The Perfect Title Tag
In Version 2.5 Template Tag wp_title got an update, therefore Plugins became useless for that. By the way, the code came from the Plugin „Optimal Title“. The title tag is in the header, therefore in header.php . The following syntax works in all WP-versions, but it’s not a perfect way for WordPress higher than 2.5.…
-
Secure Include Plugin In WordPress
Some people use more and other less Plugins in WordPress. but it is allways advisable to check via code if a Plugin is active or not. That makes sure the theme wouldn’t break if the Plugin is not active. It’s pretty easy to include a little bit code to check for inactivity. I show you…
-
Use Metaboxes In Your Theme Or Plugin
Not only the design changed since version 2.5. Also the markup was changed immensely, so there might be changes in the editor area, if you use pluigns, which implements data there. Here a little workaround, how to keep the design in editor area.