Weighted Categories for Wordpress 2.1



Author Orhan Toker
Profession Architect M.Sc.
  Autodesk Authorized Consultant
  Database Specialist
e-mail  

Hello dailyautocad readers,

Fig.1As you all know, our web site is created by using Wordpress. Recently, Wordpress 2.1 version has been released. Due to the fact that there are some good new features and changes, I also upgraded dailyautocad to version 2.1. However, as I directly installed it without checking if my plug-ins are working or not; I had to recheck all later.

I added wp_weighted_categories plug-in, which enables to enlarge fonts depending on the crowdness of categories as you can see on the right side. It uses list_cats() function. As this feature can group all of the categories together without looking at their hierarchy and it will enable ease on search engines, it was my favorite feature. However WP 2.1 has changed list_cats() function, so my extensions are no longer working :) .

Then I found a Turkish way of solution for the problem. I copied the old version of list_cats() function from the last working version, which is the previous version I was using (2.0.5), and pasted it into my extension as list_cats_old. I also changed the line that calls that function inside my extension accordingly, so it worked out.

If anyone use that function, you can download it from here. It works with all versions of wordpress :)

Technorati Tags: , ,

Bu yazinin Turkce’sini okumak icin basiniz.

Similar Posts

Rate this article:

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Leave a Reply