ThemeForest

Opinions needed / slider source

636 posts
  • Has been a member for 3-4 years
  • Author had a File in an Envato Bundle
  • Interviewed on the Envato Notes blog
  • Envato Staff
  • Support Staff
  • Beta Tester
  • Exclusive Author
  • Sold between 250 000 and 1 000 000 dollars
  • Elite Author
  • Bought between 1 and 9 items
  • United States
  • Referred between 500 and 999 users
cudazi 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. :)

1 year ago
cudazi is an Envato staff member
116 posts
  • Has been a member for 1-2 years
  • Exclusive Author
  • Serbia
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.

1 year ago
1374 posts
  • Has been a member for 2-3 years
  • Exclusive Author
  • Bought between 10 and 49 items
  • Serbia
  • Referred between 10 and 49 users
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).

1 year ago
636 posts
  • Has been a member for 3-4 years
  • Author had a File in an Envato Bundle
  • Interviewed on the Envato Notes blog
  • Envato Staff
  • Support Staff
  • Beta Tester
  • Exclusive Author
  • Sold between 250 000 and 1 000 000 dollars
  • Elite Author
  • Bought between 1 and 9 items
  • United States
  • Referred between 500 and 999 users
cudazi 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]
1 year ago
cudazi is an Envato staff member
5 posts
  • Has been a member for 2-3 years
  • Exclusive Author
  • 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 :)

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

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

1 year ago
by
by
by
by
by