Title: Flexy slider implementation
Last modified: February 10, 2022

---

# Flexy slider implementation

 *  Resolved [trmkr](https://wordpress.org/support/users/trmkr/)
 * (@trmkr)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/flexy-slider-implementation/)
 * Hello,
 * I want to implement flexy slider as full-width homepage slider. However, there
   are some problems. It is not full-width and images are loaded as 300x150px. Also,
   I couldn’t remove pills.Can you help please?
 * Regards
 *     ```
       add_shortcode('flexy_slider', function () {
       return blocksy_flexy([
       'images' => [651, 650, 649],
       'images_ratio' => 'original',
       'autoplay' => '3',
       'has_pills' => 'false'
       ]);
       });
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fflexy-slider-implementation%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [Eduard](https://wordpress.org/support/users/cteduard/)
 * (@cteduard)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/flexy-slider-implementation/#post-15352590)
 * Hello [@trmkr](https://wordpress.org/support/users/trmkr/)
 * In regards to being full width, you’ll probably have to wrap your shortcode block
   into a container that’s aligned full width, as shown here — [https://ibb.co/2SYT9pD](https://ibb.co/2SYT9pD)
 * For your other inquiries, I’ll have to ask my software engineer colleague the
   first thing in the morning, as he has better knowledge than me in regards to 
   the flexy slider. Will get back to you asap.
 * Thanks.
 *  Thread Starter [trmkr](https://wordpress.org/support/users/trmkr/)
 * (@trmkr)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/flexy-slider-implementation/#post-15354757)
 * Hello Eduard,
 * Thank you for your reply!
 * Interestingly, I get “Updating failed. The response is not a valid JSON response.”
   error when I try to save the page with flexy_slider shortcode. Yesterday, there
   were no save issues.
 * Regards
 *  [Eduard](https://wordpress.org/support/users/cteduard/)
 * (@cteduard)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/flexy-slider-implementation/#post-15355482)
 * Hey [@trmkr](https://wordpress.org/support/users/trmkr/)
 * I got the issue as well, but it was just a temporary hiccup. It worked fine after
   that and saved successfully.
 * Will get back to you asap with the answer from our devs. 🙂
 * Thanks.
 *  Thread Starter [trmkr](https://wordpress.org/support/users/trmkr/)
 * (@trmkr)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/flexy-slider-implementation/#post-15355529)
 * Hi Eduard,
 * Thank you 🙂
 * Regards
 *  [Eduard](https://wordpress.org/support/users/cteduard/)
 * (@cteduard)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/flexy-slider-implementation/#post-15355737)
 * Hello [@trmkr](https://wordpress.org/support/users/trmkr/)
 * While we’re still investigating the low resolution images, here’s an updated 
   snippet that makes things work better. Yes, we are sorry that it wasn’t correct
   on our site and we’ll make the change asap.
 *     ```
       add_shortcode('flexy_slider', function () {
           return blocksy_flexy([
               'images' => [871, 1343, 1341],
               'images_ratio' => '2/1',
               'has_pills' => false,
           ]);
       });
       ```
   
 * This is how the code should look like. Will get back to you with a resolution
   for the low res images.
 * Thanks.
 *  [Eduard](https://wordpress.org/support/users/cteduard/)
 * (@cteduard)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/flexy-slider-implementation/#post-15355766)
 * Hey [@trmkr](https://wordpress.org/support/users/trmkr/)
 * Scratch that, here’s the final snippet that works and also uses higher quality
   images.
    The size attribute supports small, medium, large or full, or any other
   custom thumbnail size you might’ve defined in WordPress.
 *     ```
       add_shortcode('flexy_slider', function () {
           return blocksy_flexy([
               'images' => [1273, 871, 1343, 1341],
               'images_ratio' => '2/1',
               'size' => 'full',
               'has_pills' => false,
           ]);
       });
       ```
   
 * Hope this helps.
 * Thanks.
 *  Thread Starter [trmkr](https://wordpress.org/support/users/trmkr/)
 * (@trmkr)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/flexy-slider-implementation/#post-15356612)
 * Hi Eduard,
 * The slider is much better now 🙂 Thank you.
 * 1) The slider plays when I hover over it. Is it possible to autoplay when loaded?
   
   2) Can I add different URLs for each image?
 * Best regards
 *     ```
       add_shortcode('flexy_slider', function () {
           return blocksy_flexy([
               'images' => [651, 650, 649],
               'images_ratio' => '2/1',
       	'autoplay' => '1',
               'size' => 'full',
               'has_pills' => false,
       	'href' => ['link1','link2','link3']
           ]);
       });
       ```
   
    -  This reply was modified 4 years, 4 months ago by [trmkr](https://wordpress.org/support/users/trmkr/).

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Flexy slider implementation’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/blocksy/2.1.44/screenshot.jpg)
 * Blocksy
 * [Support Threads](https://wordpress.org/support/theme/blocksy/)
 * [Active Topics](https://wordpress.org/support/theme/blocksy/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/blocksy/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/blocksy/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [trmkr](https://wordpress.org/support/users/trmkr/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/flexy-slider-implementation/#post-15356612)
 * Status: resolved