Changeset 389410
- Timestamp:
- 05/26/2011 03:15:38 PM (15 years ago)
- Location:
- page-specific-sidebars/trunk
- Files:
-
- 2 added
- 1 edited
-
readme.txt (modified) (1 diff)
-
screenshot-1.png (added)
-
screenshot-2.png (added)
Legend:
- Unmodified
- Added
- Removed
-
page-specific-sidebars/trunk/readme.txt
r388131 r389410 36 36 These allow the location and priority of the metabox on the "Edit Page" view to be changed. 37 37 38 $home_slug = apply_filters( 'page-sidebar-homeslug', $home_slug ) 39 40 Use this filter if your home page slug is different than "home" : 41 42 Any page that has a custom loop pulling in multiple posts will throw this plugin off. For some reason it always outputs the post ID as the last 43 post output on the page. Also, the homepage is most likely the latest blog posts in WordPress so I created a check. It will get the Home page ID and 44 use the Home page ID to get it's sidebar. (uses is_frontpage() ) to check. 45 46 38 47 Contact me if you want some more filters or actions added. 39 48
Note: See TracChangeset
for help on using the changeset viewer.