678 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 6 years
  • Has sold $250,000+ on Envato Market
  • Has referred 500+ members
+11 more
cudazi Envato team 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
  • Has been part of the Envato Community for over 4 years
  • Has collected 1+ items on Envato Market
  • Located in Europe
  • Sells items exclusively on Envato Market
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
  • Has been part of the Envato Community for over 5 years
  • Has referred 10+ members
  • Has collected 10+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
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).

678 posts
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 6 years
  • Has sold $250,000+ on Envato Market
  • Has referred 500+ members
+11 more
cudazi Envato team 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
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Sells items exclusively on Envato Market
masud7827 says

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

63 posts
  • Has been part of the Envato Community for over 4 years
  • Has sold $100+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
IWDstudios says

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

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by