Directory Statistics
Active Directories:
Pending Directories:
Rejected Directories:

Categories:
Unique Outgoing Hits:
539
38
606

75
24222

Pagerank Statistics
PR 7
   
1 site(s)
PR 6
   
4 site(s)
PR 5
   
7 site(s)
PR 4
   
32 site(s)
PR 3
   
55 site(s)
PR 2
   
48 site(s)
PR 1
   
26 site(s)
PR 0
   
366 site(s)

Regional Directories

Niche Directories

WP Recent Post By Category in IndexU

 Thursday, April 24th, 2008
Mods Compatibility
IndexU 5.4.X
IndexU Deluxe

Recently we change our site again, instead of showing WP recent post from all we decide to show the recent post grouped by their categories. You can see this in our right panel : IndexU Tips & MODs and What's Up section. With this, now we can give more exposure to categories we want. This mods still related to the Wordpress and IndexU Integration that we did last year.

If you like it, here is how to do it :

  1. Make sure that you have done the initial Wordpress and IndexU integration first.
  2. Edit your indexu-blocks.php script, and add the following code at the bottom :
    Content visible to member only. Please register or login first.

  3. Ok, everything is ready now. You can call the blocks anywhere from your template (Ex : header.html, footer.html).

    Content visible to member only. Please register or login first.

    Change the $category_id with Wordpress category ID that you want to show.
    For example, here is the block calls that we use in our site :

    Content visible to member only. Please register or login first.

That's all, hope it is useful.
Comments and feedbacks to improve this mods are welcome.

Related Mods
- Integrating Wordpress to Your Directory
- WP Calendar in IndexU
- WP Search Result in IndexU
- WP Meta Keywords and Description in IndexU

Leave a Reply