• Hello i used the shortcode in my template for listing the category archive. In my category.php file i have this:

    echo do_shortcode(“[catlist categorypage=’yes’ template=default]”);

    So this is a pretty simple post list with if you click it goes to the post. Now if possible i would like to add a system where if you click the post in the

    • it opens the content of the post (only the text) and if you click it again it closes and other posts in the list same method as well.
    • Is it possible to do this with some sort of on.click jquery ajax method? I checked over the internet some methods but i couldn’t really make it work with modifying the plugin files i guess i lack some js knowledge on how to this properly.

      I tried to add an id to the

    • via modifying default.php template so i could manipulate it but it doesn’t show up in the real html code. I would really appriciate some sort of insight on how to achieve this?
    • https://ww.wp.xz.cn/plugins/list-category-posts/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Open-Close posts on click using Ajax?’ is closed to new replies.