woocommerce / FlexSlider

An awesome, fully responsive jQuery slider plugin
http://www.woocommerce.com/flexslider/
GNU General Public License v2.0
4.91k stars 1.69k forks source link

Not an issue, needing help using within WordPress #1611

Closed nwtech closed 8 years ago

nwtech commented 8 years ago

Currently using this in WordPress to show the top 5 posts from a certain category.

I'd like to change the Slider's control navigation. Without styling, it's currently setup in an

    and displaying sequential numbering. I'd like to replace the numbering with the posts' title and category, so I can style it similar to this: https://imgur.com/a/oNjXt

    Is there a way to pull in that post info using jquery and maybe data fields from the loop of posts?

    I think, on line 222, I might be able to replace j with something like ("h2.slider-post-title").attr("data-original-title")

    Any ideas?

jeffikus commented 8 years ago

You would follow the example here http://flexslider.woothemes.com/thumbnail-slider.html where the 2 are sync'd - however in your case, you would have the post titles instead of the second sliders images. Make sense?

jeffikus commented 8 years ago

Reopen if you get stuck.