Hi zouper,
I don’t konw what category list is. It is output by wp_list_categories() tag or get_categories() function? Or it is the code you wrote manually?
In my understand, you want to show a post with ThickBox on the current page. Is that right?
Thread Starter
zouper
(@zouper)
So Basically Ι use this plugin:
http://wordpress.org/extend/plugins/list-category-posts/
All these posts in that category appear in a div or tab. I would like for them to appear automatically in a lightbox when clicked on. Could I do that with the plugin, or in any kind of way? I am currently using lightbox plus for the images but I would definitely switch to thickbox if it can do this. The example is in:
http://erer.ee-ip.org/category/matrixentries/
Lightbox needs rel="lightbox"
attribute, and ThickBox needs class="thickbox"
attribute to overlay a content. But “List category posts” plugin does not seem to have parameters to add rel/class attribute to each list item.
I can think of the following solutions for now.
- Modify “List category posts” plugin to implement a parameter to add rel/class attribute
- Write PHP code to add rel/class attribute using filer hooks
- Write JavaScript code to add rel/class attribute