Category: WordPress Hacks

  • Disable password fields for non-admins

    Disable password fields for non-admins

    So you’ve created a user and added a strong password because you care for your blog’s security? Unfortunately you can’t be sure that the user will keep this strong password since he/she can change it to a much weaker one on his profile page. This problem can be solved by adding a filter:

  • Change the Search-URL of WordPress

    With WordPress it is easy to activate readable URLs. Only the search page is not affected by the setting yet, it comes with the syntax ?s as default. But there is a solution to change the URL as you wish. The following example shows that even if you have permalinks activated, that the URL for…

  • Use WordPress Custom Post Type In CSS-Class for Styling

    Today I would like to show you, how to assign CSS classes to custom post types for styling your website.

  • Publish Your Posts Later On Your Website

    I explained quite a while ago about publishing a feed with a certain delay. Of course you can do this also for your frontend. Thus, the content will be published to the reader only after a certain period of time. A little script as an example will show you how.

  • 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,…

  • View Blog ID in WordPress Multisite

    When you work quite a bit with WordPress Multisites, sometimes you need the IDs for some functions or Plugins. The easiest way is via the hover effect with your mouse or you use a little code snippet to add a column with the ID in the table view.