Tag: Code

  • First Impressions of Custom Post Type

    One of the new very interesting things in WordPress 3.0 are individual post-types you can implement with little effort. Back then, you had to expand the database and write your own interface for it, now you just have to add a few lines of code – of course this is just the current state, which…

  • Redirects To Another Page In WordPress Backend

    Redirects To Another Page In WordPress Backend

    WordPress allows using a function, to simple redirect to a URL, the function wp_redirect() enables to specify an address and a status. This makes it easy to realize a forward even in the backend of WordPress. Two different examples will illustrate this. The difference lies in the query of the URL, which will be checked.

  • Disable HTML Editor In WordPress

    In contrast to the visual editor in WordPress, you can not disable the HTML editor. WordPress does not provide a user setting or a global option. Also, there is no hook, to disable the HTML tab above the editor when writing posts or pages. But there are users who do not need this tab and…

  • Contactable – Contact Form Easy with WordPress

    The integration of a contact form in WordPress usually begins with a search of a Plugin and often ends with a great effort too. Since scripts are loaded on all pages and posts – only to be integrated on one side of a form. The blog is only as good as his technician and I…

  • Use WordPress Cron

    WordPress has its own cron to automatically and scheduled run certain themes. Therefore WordPress provides several functions to use the cron. In our first example we send every hour a mail with the help of the WordPress function wp_mail(). FYI, this is just a possibility, please don’t do it on your system! As default, WordPress…

  • 5th Post Of Our Advent Calendar: Theme Uninstaller

    Enjoy our 5th post of our Advent Calendar: More and more WordPress themes, especially commercial themes, have an option page. The settings are stored in the database. Only few themes have an uninstall button to delete these settings in your database.