Tag: Theme

  • About WordPress Post Thumbnail

    This is a complement to our previous post The Ultimative Guide For the_post_thumbnail In WordPress 2.9. In WordPress Version 2.9 probably the most discussed feature is the post thumbnail. Important for this function, it is only working when it is explicitly enabled in the theme. This can be done with the following little snippet in…

  • Extend the User Contact Info in WordPress 2.9

    Joost de Valk wrote about a month ago a really great article about his idea, to expand the user contact fields (thanks Joost!). In version 2.9 you are able to use this possibility. Here a little example, how you can use this functionality.

  • Display Private Posts to Logged in Users

    Sometimes I use the function of private posting in WordPress. These contributions can only see the user who has created the post, or the administrator. To show all these article to users who are logged into the system, you can go different ways. But I’d like to highlight just two different ways. With custom fields…

  • If Post is Older Than

    12th door of our Advent Calendar, we are half through! Sometimes you need a query that satisfies the requirement that the advertising is displayed only if the article has reached a certain age. Who does not want to rely on a Plugin, we recommend the following little solution.

  • Change Wording for Password Page

    If you create a password protected page in WordPress, you have the standard sentence: “My post is password protected. Please ask me for a password:”. To change this sentence without losing the changes after the next upgrade, just place into the functions.php of your theme the following code:

  • Display The Total Number Of Registered Users

    Anyone who operates a community using WordPress, and would like to display the total number of registered users, can easily and quickly use the following small code snippet. It reads via SQL the content of the table “users“, and the numbers of IDs getting counted. This value simply gets wrapped around a text. $myusers =…