January 26th, 2012

Display File Download Count in WordPress

In some posts, I’ve attached source code and files allowing user to download. Now I’m interested to check how many times file downloaded and how to display it with download link as in other sites. I found different WordPress plugins like WP-DownloadManager, Downloads Manager, WordPress Download Monitor, WordPress Download Counter..etc. All are doing file management perfectly, But I like WordPress Download Monitor the most. It allows you to upload files, store it on your server and share it with your readers. You can install and activate it easily as normal plugin. Read More Display File Download Count in WordPress

December 1st, 2010

Configure ‘Google Analytics for WordPress’ plugin for Subdomain tracking

Yesterday, I created a sub-domain in my site. To configure Google analytics to track content and visitor data for sub-domain, I searched and found following in Google code:

a default setup of Google Analytics is designed to track content and visitor data for a single domain, such as www.example.com. This means that even if you manage both a domain and a sub-domain, you must make modifications to the tracking code in order to share visitor data across both domains.
Read More Configure ‘Google Analytics for WordPress’ plugin for Subdomain tracking

November 21st, 2010

Create a Project Collection Theme using WordPress 3.0 Custom Post Type

I faced many problems to manage my shared content on skydrive, google Docs, dropbox…etc. I decided to create a wordpress theme where I could share my content properly. I like wordpress 3.0 custom post type feature. It gives me option to create this feature. In this post, A project collection theme using wordpress 3.0 custom post type is explained.

Object:

1. To create Custom post type for Projects with following options:
Report(s)
Presentation(s)
Submitted By
Other Attachment(s)
2. To add different external shared file (Google Docs, Windows SkyDrive..etc) in Options.
3. To create Index page and new feed for the Projects
4. To create catalog for Projects.
Read More Create a Project Collection Theme using WordPress 3.0 Custom Post Type

October 13th, 2010

Exclude Posts by Category Name from Home page in WordPress

I have created a new category ‘Idhar-Udhar’, But I don’t want to show posts related to this category on home page. I saw “Function Reference/query posts”. there is parameter category_name which displays posts from only one category by name. There is no parameter to exclude posts by category_name. I tried -(minus sign) in following way, but not worked.
query_posts(‘category_name=-Idhar-Udhar’);
I tried ! sign also, but no luck.
query_posts(‘category_name!=Idhar-Udhar’);
Read More Exclude Posts by Category Name from Home page in WordPress