42 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Located in Europe
+2 more
indiapart says

I am currently in the process of rethinking my theme framework. And I am pretty interested where You (purchasers are adressed, too) would like to fetch image sliders to fetch their images from.

I don’t mean shortcodes where You may specify the image url in the shortcode itself. I mean the homepage, the common frontpage slider. Where should it get it’s images from? Some of my approaches are:

  • Create a custom post type (just like posts and pages) for the images (would be still the post thumbnail image).
    • Pro: Ultimate control about images, their link destination and description with WordPress onboard technology
    • Contra: Cannot be published synchronous with post publishs. For example, if you want to link to a post and publish it, the image slide will only appear after you published the slide itself, too.
  • A slide management system from the theme panel.
    • Pro & contra: Pretty much the same like the above approach. Still more work to maintenance the code and not that much using onboard technique.
  • From post thumbnails.
    • Pro: Synchronous publish of slides and posts.
    • Contra: Slides are only published when posts are published. Problems with linking slides to custom urls. Also, slide and post thumbnail (which may be used outside the slider, too) are the same or at least generated from the same image.

There sure are more and better approaches and I would love to hear about your ideas :) Of course, there still should be an option in the theme panel how many images to fetch and so on. Maybe even define the source? But I think that would be too complicated. I want to make it as simple and intuitive as possible.

Curious for your opinions. Best regards, indiapart.

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