Sticky Sidebar for Ads and Blocks

Àpèjúwe

Make a sticky sidebar or widget or any block you want for any ads or Google adsense just adding the class or ids from the sticky section. You can add multiple sticky block within same page or post even any custom post and taxonomy as well.

Manage Sticky Blocks

In wp dashboard , there is a menu called “Sticky Blocks & Sticky Ads” to Add and Remove a Sticky Block from there.
You have to put the four different selector from settings
Ìtumọ̀ Yorùbá: – Container or whole conatiner wrapper class or id
Ìtumọ̀ Yorùbá: – Columns class or IDs if you have multiple column then select two columns only
Ìtumọ̀ Yorùbá: – Add class or id from sticky block or section or sidebar section
Ìtumọ̀ Yorùbá: – [b] Please make sure you have proper selectors to make the block sticky.

ThatÌtumọ̀ Yorùbá: ’s it done! for more support and information you can contact us Support Here

Àwọn àwòrán ìbòjú

  • Backend view
  • Frontend view

Ìgbéwọlẹ̀

  1. Add plugin to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use Sticky Blocks from settings to set the selectors

FAQ

How to use this plugin?

First create a sticky Blocks(Through Sticky Blocks) calling it through selectors.

How to manage sticky sidebars?

Go here : Dashboard >> Sticky Blocks

Is it possible to display the sticky sidebars in a page or a template?

Yes, you can add it out anywhere you want! even in custom post type template!

Is it possible to display multiple sticky sidebars in a page or a template?

Yes you can.

Is it possible to add some styles to the element but only when itÌtumọ̀ Yorùbá: ’s sticky?

Yes you can. Just add css as usual you do using class or ids from the sticky block

My sticky element stops scrolling too early. Why?

A sticky element can only scroll within the boundaries of its direct parent container. If your sticky element stops, itÌtumọ̀ Yorùbá: ’s because youÌtumọ̀ Yorùbá: ’ve reached the bottom of its parent. To make it scroll longer, you need to ensure the parent container is tall enough to accommodate the desired scrolling distance. This is a fundamental rule of how the CSS position: sticky property works.

Àwọn àgbéyẹ̀wò

Ka gbogbo àgbéyẹ̀wò 1

Àwọn Olùkópa & Olùgbéejáde

“Sticky Sidebar for Ads and Blocks” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.

Àwọn Olùkópa

Túmọ̀ “Sticky Sidebar for Ads and Blocks” sí èdè rẹ.

Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.

Àkọsílẹ̀ àwọn àyípadà

1.0.5

  • August 26, 2025
  • Enhancement: Moved “Custom CSS” to its own submenu page for a cleaner admin interface.
  • Fix: Corrected a data type mismatch that prevented the “Specific Page ID” display option from working.
  • Fix: Implemented a JavaScript solution to ensure nested sticky elements can scroll within the full height of the parent column by dynamically adjusting container height.

1.0.4

  • August 25, 2025
  • Fix: Custom CSS is now correctly loaded on the frontend.
  • Fix: Resolved issue where position: sticky was blocked by parent elements with overflow: hidden.
  • Fix: Saving settings without changes now shows a success message instead of an error.
  • Enhancement: Admin table now shows specific display rules (IDs or URL parts) for better clarity.
  • Enhancement: Improved admin notices for saving and updating sticky blocks.

1.0.2

  • July 10, 2023
  • Updated minor issues, compatibility, WP version

1.0.1

  • Dec 03, 2022
  • Updated minor issues, compatibility, best user experience
  • Optimized functions

1.0.0

  • Sept 01, 2022
  • Built this plugin