Here are just a few nuggets of wisdom – things I am doing to help protect my site and hopefully prevent an attack like what I experienced yesterday from happening again.
How to Add Post Thumbnails in WordPress
Post Thumbnails are getting more popular every day. Many magazine themes associate an image with a specific post which they later display on either homepage or on the post page. We display a thumbnail with our posts on both the post page and the category page. In older versions, this functionality was obtained with the use of custom-field method which was not very user friendly. Thanks to WordPress Core Developers along with many notable features in WordPress 2.9, this function was also added to the core.
Display sticky post and exclude it from recent posts list in WordPress
We were working on a WordPress site that needed to display a sticky post at the top of the blog page with one style, and then below it a list of the most recent posts with a completely different style.
Most Commented Posts The Right Way
Just a very quick tip but nonetheless an important one. Many of you will be using any number of plugins or the database query that’s been doing the rounds recently to display your most popular posts. That code/plugin is no longer needed as WordPress’ query_posts can now display your most commented posts.
Include the Category ID via post_class
The default output for WordPress’ post_class template tag includes class names for just about every type of page view imaginable, but not the Category ID.
How To Add a Flickr Gallery to Your Theme Without a Plugin
I wanted to integrate a Flickr gallery and found that it was actually pretty easy to do by parsing the Flickr RSS feed using the fetch_feed() function already built into WordPress
The Right Way To Build WordPress As A Community News
Today, I would like to put all my love for WordPress into this tutorial to explain how to build WordPress as a Community News, … but in a right way.
Display Always All Subpages in Sidebar
In this article I want to show an example in which are the main pages in a horizontal navigation. The related sub-pages are displayed in the sidebar when you click on the main page.
How to preset text in the Post Editor
This tutorial comes handy when you have a similar structure for writing your Post. Maybe you end or start with some exact lines and you probably hate writing them when you write a new post every time. Or this also works when you have guest authors or new authors. You can preset text in your Wordpress editors with rules to write a Post or what tags are allowed, etc. Let’s see how’s it done.
Can themes style the visual editor?
Short answer: yes. This has been available for quite some time but don’t think I’ve seen themes that do it. Things like typefaces, headings, image padding and borders, etc. can easily be set by the current theme making the visual editor… more WYSIWYG. All it takes is a stylesheet and a small function in the theme’s functions.php file



Processing your request, Please wait....




