Featured Slider in a new theme
-
Hello,
I’ve been working on a new theme, which I would like to have a “featured” post slider, which uses the particular post(s) featured image if one is set. For this I want to use a custom size so I am currently using
add_image_size( 'sliderthumb', 640, 330, true );
which works fine for new posts, but older posts from before the theme was installed won’t have this thumb size available, the only way to get all posts to have this image size is to install and run a plugin like “Regenerate Thumbnails”.My question, is there a better way to do this? Without forcing users of my theme to install another plugin to resize the images?
Thanks for any help or advice.
Edit: Would it be better to have a separate plugin users could install if they would like to use the featured slider functionality rather than putting everything into the theme?
- The topic ‘Featured Slider in a new theme’ is closed to new replies.