Title: Sticky Sidebar for Ads and Blocks
Author: Rasel Ahmed
Published: <strong>7 سپتامبر 2022</strong>
Last modified: 26 آگوست 2025

---

جستجوی افزونه‌ها

![](https://ps.w.org/sticky-blocks/assets/banner-772x250-rtl.png?rev=2781069)

این افزونه **با ۳ نگارش عمدهٔ اخیر وردپرس آزمایش نشده است**. ممکن است دیگر نگهداری
یا پشتیبانی نشود و هنگام استفاده با نگارش‌های تازه‌تر وردپرس مشکل سازگاری داشته 
باشد.

![](https://ps.w.org/sticky-blocks/assets/icon-256x256.png?rev=2781069)

# Sticky Sidebar for Ads and Blocks

 توسط [Rasel Ahmed](https://profiles.wordpress.org/wprasel/)

[دانلود](https://downloads.wordpress.org/plugin/sticky-blocks.1.0.5.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/sticky-blocks/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/sticky-blocks/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/sticky-blocks/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/sticky-blocks/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/sticky-blocks/)

## توضیحات

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 – Container or whole conatiner wrapper class or id – Columns class
or IDs if you have multiple column then select two columns only – Add class or id
from sticky block or section or sidebar section – [b] Please make sure you have 
proper selectors to make the block sticky.

That’s it done! for more support and information you can contact us [Support Here](https://www.webextended.com/contact/)

## عکس‌های صفحه

[⌊Backend view⌉⌊Backend view⌉[

Backend view

[⌊Frontend view⌉⌊Frontend view⌉[

Frontend view

## نصب

 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

## سوالات متداول

### 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’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’s because you’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.

## نقد و بررسی‌ها

![](https://secure.gravatar.com/avatar/9053f9681b5a0adbaa2fa5a7f6d33818ef2e05a4335a9f53eeca7174f78ca2f9?
s=60&d=retro&r=g)

### 󠀁[Great plugin worked for Google AdSense perfectly!](https://wordpress.org/support/topic/great-worked-for-google-adsense/)󠁿

 [Adam Uzzaal](https://profiles.wordpress.org/uzzal2022/) 8 سپتامبر 2022

Thank you for the great plugin! It works well for sticky Google AdSense sidebar 
and I can use multiple item as well. Also, it helps me to keep sticky a sidebar &
all important ads banner.

 [ خواندن تمامی 1 نقد و بررسی‌ ](https://wordpress.org/support/plugin/sticky-blocks/reviews/)

## توسعه دهندگان و همکاران

“Sticky Sidebar for Ads and Blocks” نرم افزار متن باز است. افراد زیر در این افزونه
مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ Rasel Ahmed ](https://profiles.wordpress.org/wprasel/)

[ترجمه “Sticky Sidebar for Ads and Blocks” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/sticky-blocks)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/sticky-blocks/)، [مخزن SVN](https://plugins.svn.wordpress.org/sticky-blocks/)
را بررسی کنید، یا از طریق [RSS](https://plugins.trac.wordpress.org/log/sticky-blocks/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/sticky-blocks/) مشترک شوید.

## گزارش تغییرات

#### 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

## اطلاعات

 *  نگارش **1.0.5**
 *  آخرین به‌روزرسانی **1 سال پیش**
 *  نصب‌های فعال **40+**
 *  نگارش وردپرس ** 5.6 یا بالاتر **
 *  آزمایش‌شده تا **6.8.8**
 *  زبان
 * [English (US)](https://wordpress.org/plugins/sticky-blocks/)
 * برچسب
 * [ads](https://fa.wordpress.org/plugins/tags/ads/)[block](https://fa.wordpress.org/plugins/tags/block/)
   [sidebar](https://fa.wordpress.org/plugins/tags/sidebar/)[sticky](https://fa.wordpress.org/plugins/tags/sticky/)
   [widget](https://fa.wordpress.org/plugins/tags/widget/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/sticky-blocks/advanced/)

## امتیازها

 5 از 5 ستاره.

 *  [  امتیاز 1 5-ستاره     ](https://wordpress.org/support/plugin/sticky-blocks/reviews/?filter=5)
 *  [  امتیاز 0 4-ستاره     ](https://wordpress.org/support/plugin/sticky-blocks/reviews/?filter=4)
 *  [  امتیاز 0 3-ستاره     ](https://wordpress.org/support/plugin/sticky-blocks/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/sticky-blocks/reviews/?filter=2)
 *  [  امتیاز 0 1-ستاره     ](https://wordpress.org/support/plugin/sticky-blocks/reviews/?filter=1)

[بررسی شما](https://wordpress.org/support/plugin/sticky-blocks/reviews/#new-post)

[مشاهدهٔ همهٔ بررسی‌ها](https://wordpress.org/support/plugin/sticky-blocks/reviews/)

## مشارکت کنندگان

 *   [ Rasel Ahmed ](https://profiles.wordpress.org/wprasel/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/sticky-blocks/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](https://www.webextended.com/)