plugin-icon

sidebarAutomizer

作者 damiroquai·
This little plugin will remove last widget or widgets from sidebar if content area height is smaller than sidebar area height.
評價
5/5
版本
1.0
活躍安裝總數
40
最近更新:
Dec 8, 2016
sidebarAutomizer

Plugin will prevent sidebar height to overgrown content height and as a result we got a equalized content and sidebar heights. It is based on javascript that will remove last widget from sidebar while sidebar height is higher than content height. Settings are localized and by default work with Twenty Thirteen theme. Plugin unique settings approach to choose css class for content and sidebar allow us to set it up and use on any theme, and possibly in different ways that was originally meant to be used.

Settings are located in Dashboard / Settings / sidebarAutomizer:

Content Class or ID – This must be content CSS class or ID which will define max height for your sidebar area.

Sidebar Class or ID – CSS class or ID of the sidebar element that contains widgets.

Add extra height to Sidebar – In some cases you want your sidebar a bit higher than content. If that is the case add number of pixels here.

Define Element to remove – It can be aside, div, or whatever HTML element that your theme uses to display single widget. Wrong setting can cause unresponsive script behavior in front end.

Plugin Home: http://wordpress.transformnews.com/plugins/sidebarautomizer-equalize-content-and-sidebar-heights-664

免費使用Business方案
目前已測試版本
WordPress 4.7.31
此外掛程式已可供下載,並可用於你 系統。