WordPress.org

Ready to get started?Download WordPress

Forums

Creating a separate gallery shortcode with own styles? (2 posts)

  1. futurepocket
    Member
    Posted 2 years ago #

    I'm using a theme that requires a certain thumbnail size (50 x 50) for the front page, but I want to use the thumbnail size (150 x 150) for in the posts...

    I've been racking my brain and looking online but can't seem to find a solution. Can someone tell me how I can create my own cloned gallery shortcode so that I can define a different thumbnail size for it?

    Thanks!

  2. davidsword
    Member
    Posted 2 years ago #

    it depends on which theme you're using and how that author setup the thumbnails.. if you could post a link to your site or a theme name it'd help a lot

    it could be as easy as

    * changing the thumbnail size (Appearance > Media)
    * then regenerating the thumbnails with this plugin

    but your theme may of been written in such a way it also requires:

    * editing the image dimensions in your style.css file to the new thumbnail ratio
    * and/or editing the image-size name

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.