WordPress.org

Ready to get started?Download WordPress

Forums

Auto ThickBox Plus
[resolved] Auto thick box for category list posts (4 posts)

  1. zouper
    Member
    Posted 2 years ago #

    Anyway you can have auto thickbox for posts? I have a category listing and I want to have this attribute added automatically to the posts appearing there. Any idea how to do it or if I can do it with thickbox?

    http://wordpress.org/extend/plugins/auto-thickbox-plus/

  2. attosoft
    Member
    Plugin Author

    Posted 2 years ago #

    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?

  3. zouper
    Member
    Posted 2 years ago #

    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/

  4. attosoft
    Member
    Plugin Author

    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic