AMP Sidebar Chooser allows users to associate sidebars to posts, pages, or any custom post type through the WordPress post editor.
توسط amp343
اگر با مشکلی مواجه شدهاید،
لطفاً آن را با جزئیات برای ما ارسال کنید.
🔒 برای ثبت گزارش خرابی باید وارد سایت شوید.
AMP Sidebar Chooser allows users to associate sidebars to posts, pages, or any custom post type through the WordPress post editor.
/wp-content/plugins/ directory<?php get_sidebar(); ?> with <?php amp_get_sidebar(); ?> in your templatesAt this time, no filters exist that can manipulate the native function get_sidebar() sufficiently. Rather than offer a compromised solution with get_sidebar(), we’ve opted to create an arbitrary function (amp_get_sidebar()) until better manipulation of the native function is possible.
The plugin browses your active theme file to get a list of all available sidebar files that exist. Sidebars must be named with the common convention “sidebar-(sidebarname).php”. The display name that shows up in the sidebar chooser is the parsed filename — ie, sidebar-right.php becomes “Right”.
At this time, if not sidebar is selected for each post, the option “(None)” is selected, and no sidebar will be shown. We are working on a global setting for the next release that will allow you to choose what you want the default sidebar to be.
| نسخه | حجم فایل | SHA256 | تغییرات | دانلود |
|---|---|---|---|---|
| 0.2.1 | 3 کیلوبایت | - |
دانلود
برای دانلود باید وارد سایت شوید
ورود / ثبت نام |
قیمت:
رایگان
نگارش
0.2.1
آخرین انتشار
18 اردیبهشت 1405
آخرین بروزرسانی
3 ماه پیش
نصب های فعال
10+
نگارش وردپرس
وردپرس 3.0+
تست شده از نسخه
وردپرس 3.1.4
نگارش PHP
-
نسخه ها
1 نسخه