Search results for: “current_user_can”

  • Add trash button to WordPress Admin Bar

    Add trash button to WordPress Admin Bar

    Add Custom buttons to WordPress Admin Bar Since version 3.1 of WordPress you have an Admin Bar with several functions. It’s an easy task to add custom buttons to the Admin Bar. I will show you how with an example of a “trash” button. This will be another example how to extend your Admin Bar,…

  • Control When To Display WordPress Admin Bar

    On day 10 of our Advent Calendar we show a little code snippet for the WordPress Admin Bar. At first the easiest way to remove the Admin Bar with new function __return_false; include since WordPress 3.0.

  • Know The Constants Of An WordPress Installation

    Today I will show you how to display the constants you use in your WordPress installation. Here is a small code snippet to list the defined constants.

  • Control WordPress Content via Userrights or Time

    WordPress comes with its own user administration, therefore we can control on the basis of various roles and objects the content. In some cases, it is a typical request that you give access to a complete content only to registered users. The same is possible only for parts of the content. There are certainly different…

  • Example How To Add Meta Boxes To Edit Area

    Additional fields, meta boxes, in the edit area of WordPress often are useful and easier for customers instead of using Custom Fields. A small Plugin will show you three options. Use it, make WordPress even better for your clients. Learn how easy it is to adjust the edit area in WordPress.

  • Use WordPress Login

    WordPress makes it pretty easy to log in and out of WordPress in a theme. Basically with two functions