674 posts
  • Has attended an Envato Live event
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Referred between 500 and 999 users
  • Envato Staff
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Support Staff
+7 more
cudazi Staff says

Hello!

I’m looking for opinions from buyers (and sellers!) on populating WordPress content sliders with content.

Although there’s not really a correct or incorrect method, I would love to hear your preferred method so we can make your life a little easier when using themes.

A. ) Pull images from a category of posts with a featured image set

B. ) Grab all attached images of a specific page/post

C. ) Enter the images/links via a theme settings page

D. ) Enter images/urls via custom fields

Thanks in advance for any votes or opinions. :)

116 posts
  • Bought between 1 and 9 items
  • Europe
  • Exclusive Author
  • Has been a member for 4-5 years
dejans7 says

A. ) + C. )

Because i want to have both pages and posts in content slider or maybe even something external. So the best option IMO would be to show all the posts from one category + the images/link/descriptions entered via settings page.

1383 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 10 and 49 users
  • Serbia
wpCanyonThemes says

None of the above :)

In the theme i’m developing now it’s gonna be made using shortcodes. The content will be inserted manually but there will also be a feature to pull the content from blog posts and portfolio posts (latest or by IDs the user will specify).

674 posts
  • Has attended an Envato Live event
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Referred between 500 and 999 users
  • Envato Staff
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Support Staff
+7 more
cudazi Staff says

None of the above :) In the theme i’m developing now it’s gonna be made using shortcodes. The content will be inserted manually but there will also be a feature to pull the content from blog posts and portfolio posts (latest or by IDs the user will specify).

Kinda sounds like was I’m brewing up too, I’m just worried it’ll generate a lot of support questions vs a simple UI. It’s that tricky balance of features, flexibility, ease of use…

Just a dummy mockup...

// This would generate a slider from featured images/attachments based on
// settings given you could enter in content, the header or a text widget...
[slider settings='x']

// This would generate a slider from the content inside the tag...
[slider settings='x']
   [slide]<img src="x' alt='x' />[/slide]
   [slide]img<img src="x' alt='x' />[/slide]
   [slide]Text/video/html/etc....[/slide]
[/slider]
5 posts
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
masud7827 says

C. ) Enter the images/links via a theme settings page, I think this one is the best :)

63 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Sold between 100 and 1 000 dollars
IWDstudios says

does anyone actually have a code snippet to show how this is done?

by
by
by
by
by
by