Tag: WordPress Hacks

  • WordPress Pulse? – Heartbeat API

    With WordPress 3.6, there will be a new API – Heartbeat. On Ticket 23216 in Trac all discussions and information be gathered together. Because Heartbeat may also have influences for users, here are some words and clues. Heartbeat is introduced to various activities, such as Autosave, locks of articles and to handle logon and logoff…

  • First or Last Page in Page-Structures of WordPress

    Now and then little snippets are pretty useful. For a fix in a Premium-Theme, I needed a kind of evaluation, where I am in the site structure and with little effort I was able to expand the classes and react with CSS. The following code shows the basic for it and get_pages() is the key…

  • Create a Separate Page for Blog Posts in WordPress

    WPBeginner wrote a nice post today, how to create a separate page for blog posts. And we appreciate WPBeginners great posts, but before you start to use their solution, here is a 3 second solution to make this work faster, I hope WPBeginner doesn’t mind:

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

  • Feed Cache in WordPress

    WordPress already offers the possibility of own functions to read feeds and use it in your blog. Since version 2.8 of WordPress, a new feature is in use for that. So there are two ways to work with feeds in WordPress, and in both functions, the data is cached. But this is not always wanted,…

  • Easier And Better Solutions To Get Pictures On Your Posts

    WordPress makes it pretty easy to upload picture on posts and pages. Thereby are various data stored, which can be used. Again and again, you can read tutorials on how to bring photos to posts, normally this is a solution via the custom fields. But there is a different and simpler solution, I think. The…