Grow your CSS skills. Land your dream job.

AnythingSlider and WordPress

  • # February 21, 2010 at 11:57 am

    Hi guys, having a little trouble blending the css-tricks anythingslider into a wordpress page. I’ve a had a sniff around the forums but can’t find a solution.
    http://rootandbranchdesign.com/?cat=4
    styling very rough around the edges!
    The slider is created on the fly using this script on the archive.php page

    Code:

      < ?php while (have_posts()) : the_post(); ?>

    • < ?php the_title(); ?>

      < ?php the_content() ?>

    • < ?php endwhile; ?>

      < ?php

      endif;
      ?>

    I’ve used the navigationFormatter in the js to create the navigation panel. And here is the problem. I would like to populate the list by listing the posts sub categories.
    Any ideas how I should do this? cheers

    # February 21, 2010 at 3:56 pm

    Hi,
    Found a clunky work around for now. Using <?php if (is_category(’4′)) { ?> I’ve add a conditional menu based on Category. This is hard coded however using the static text slidejumper function in the header. I would love to populate this lsider dynamically so if anyone has a snippet out there it would be great but don’t bust a nut.
    cheers

    # February 22, 2010 at 1:43 am

    I had a look and couldn’t quite see exactly where the problem is. Listing the navigation shouldn’t really need a workaround?

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".