WordPress.org

Ready to get started?Download WordPress

Forums

"AJAX Tabs" Script to Open Posts (3 posts)

  1. darrensa
    Member
    Posted 4 years ago #

    Hi,

    I'm looking to implement this method, I've been searching for two days now and have found nothing like this for wordpress.

    http://spacecollective.org/recent/list

    I know they're using Cargo, but I really want to try get that functionality working on WordPress. Notice how when you open a post it shows all the content.

    I have looked at a few accordion themes, but seeing that accordion loads the content before being opened, it's useless. Plus, the title and all that remains with accordion.

    It seems spacecollective are using this script to get it working -
    http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/

    I have played with the code a little and managed to get some aspects of it working, but as soon as you add it in the wordpress loop, it all breaks....

    Has anyone had a try at this or perhaps there is a theme already using something like this...? AJAXed-Wordpress doesn't really work because it keeps the initial title in tact, doesn't load comments, no loading graphic....

    Please let me know if you are willing to have a go at this or can lead me in the right direction. Would really love to get this working!

  2. darrensa
    Member
    Posted 4 years ago #

    So, I'm winning so far. I've given the divs an unique ID thanks to $count. The only problem is that i'm using single.php to load into the content area and really need single.php to use for a permalink. Is there any way to use two single.php based on which link is clicked and not category?

  3. trusktr
    Member
    Posted 3 years ago #

    Hello, I too want to imitate this functionality in wordpress!

    Can I see what you've got so far and see what I can come up with? I just found the cargo site yesterday and started fiddling with the theme tonight.

    Very amazing. Let's see if we can get this working...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags