• Jason Paul

    (@jasontrasaterracom)


    This looks to be the best carousel slider I’ve seen. Is there anyway to activate Custom Post Type Support in addition to Categories and regular pasts?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author sumolari

    (@sumolari)

    I’ve added this feature as an Extra in WP Carousel 1.0. You can use it now by updating to WP Carousel 1.0 Beta 2.

    Thread Starter Jason Paul

    (@jasontrasaterracom)

    thanks for the info! I don’t see where the Extras are. I think using ‘Tags’ may work for what I’m trying to do for the short term.

    Thread Starter Jason Paul

    (@jasontrasaterracom)

    Bummer, unfortunately it just won’t see my custom post types at all even if I tag and categorize them. Let me know if you have a way to get CPTs in the carousel. thanks!

    Plugin Author sumolari

    (@sumolari)

    Don’t panic ?? .

    These are the steps to add any kind of Custom Post Types in the carousel:

    1. Make a backup of your WP Carousel content (copy the Export Code and save it in a file)
    2. Update to WP Carousel 1.0 Beta 2 (download)
    3. Drag a “Custom Post Type” item to the carousel
    4. Write the ID of the post you want to show

    To add a custom taxonomy, it’s the same, but you have to set up the taxonomy you want to the the term from (you’ll see a dropdown list to select it).

    It’s very easy, but you have to update to WP Carousel 1.0 Beta 2. WP Carousel 1.0 introduces a new version of the Extras API that allows Extras to be easier and more useful, so without that version, those Extras won’t work. And Beta 2 introduces the Custom Post Type Extra, so that is the version you have to use.

    You have two screenshots here and here.

    Thread Starter Jason Paul

    (@jasontrasaterracom)

    Thanks for that! The individual CPTs work. The taxonomy archive would actually be perfect but I can’t seem to get that to work. When I put in taxonomies the actual carousel displays categories from the blog and ignores the taxonomy request. But for now, having the CPTs is huge, even if I have to manually put them in.

    Thread Starter Jason Paul

    (@jasontrasaterracom)

    FYI…Editing Carousel theme options gives me ‘white screen of death’ on the site I’m working on. I can get out of it when I switch themes but it’s something you probably should know about. I understand it’s a beta so them’s the breaks for now.

    Plugin Author sumolari

    (@sumolari)

    Thank you for the information! That bug will be fixed in next release.

    Plugin Author sumolari

    (@sumolari)

    Ok, I think I have the solution for this bug.

    This is the situation: when you save WP Carousel standard options, it’s created a variable called $new_config in update_db.php. Later, update_db.php checks if that variable is set. If it is set, WP Carousel assumes that you have sent the standard options form, so it tries to update your Database with the content of that variable, but that variable does not have the correct kind of content, because it has not been processed the same way that it had been processed if you had sent the standard content form. In short, that variable should be unset when you send themes options form. That is the bug.

    To fix it, simply open file update_db.php.

    Go to line 172, you’ll see:

    unset($config); // Eliminamos contenido innecesario

    Replace it with:

    unset($config); // Eliminamos contenido innecesario
    			unset($new_config);

    Fixed!

    I think this should fix the bug.

    Thanks for reporting!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Any way to add Support for Custom Post Types?’ is closed to new replies.