$conf, $runtime; function_exists('chdir') AND chdir(APP_PATH); $r = 'mysql' == $conf['cache']['type'] ? website_set('runtime', $runtime) : cache_set('runtime', $runtime); } function runtime_truncate() { global $conf; 'mysql' == $conf['cache']['type'] ? website_set('runtime', '') : cache_delete('runtime'); } register_shutdown_function('runtime_save'); ?>Disable plugin in spesific page without plugin|Programmer puzzle solving
最新消息:Welcome to the puzzle paradise for programmers! Here, a well-designed puzzle awaits you. From code logic puzzles to algorithmic challenges, each level is closely centered on the programmer's expertise and skills. Whether you're a novice programmer or an experienced tech guru, you'll find your own challenges on this site. In the process of solving puzzles, you can not only exercise your thinking skills, but also deepen your understanding and application of programming knowledge. Come to start this puzzle journey full of wisdom and challenges, with many programmers to compete with each other and show your programming wisdom! Translated with DeepL.com (free version)

Disable plugin in spesific page without plugin

matteradmin9PV0评论

I use "Resize image after upload" plugin for my customers. Because they are lazy and dont optimize image before upload. But it is not good for sliders. I use Slider revolution. How can I do that when I work with Slider Revolution, this plugin will deactive in slider revolution pages? I think we can do it with URL stucture or another method.

I use "Resize image after upload" plugin for my customers. Because they are lazy and dont optimize image before upload. But it is not good for sliders. I use Slider revolution. How can I do that when I work with Slider Revolution, this plugin will deactive in slider revolution pages? I think we can do it with URL stucture or another method.

Share Improve this question asked Dec 29, 2018 at 14:23 Cavid MuradovCavid Muradov 215 bronze badges 2
  • That might be too late. Does the resize plugin change how the images are stored on disk, or does it resize on the fly when images are used? If it never stored the highest resolution image then you'd need to do more than just disable the plugin on the one page. – Rup Commented Dec 29, 2018 at 14:49
  • No, I mean disable this plugin in slider revolution page. I think when I upload image in Slider Revolution page, then image will not resize, because plugin is disable – Cavid Muradov Commented Dec 29, 2018 at 20:05
Add a comment  | 

1 Answer 1

Reset to default 0

Instead of disabling the plugin, you should try increasing the container of the slider. It will make the images fit there perfectly.

You can do it by adding these codes to the custom CSS of the Customizer:

#x-content-band-3 .x-container.width{
width:100%
}

.rev_slider_wrapper{
height:350px;
} 

.rev_slider{
height:350px;
}

Articles related to this article

Post a comment

comment list (0)

  1. No comments so far