inc/sidebars.php¶
Register our sidebars and other widget areas
(currently in inc/wp-taxonomy-landing/functions/cftl-admin.php)Todo: move $he taxonomy landing page sidebar registration here Since: 0.3
Builds a dropdown menu of the custom sidebars Used in the meta box on post/page edit screen $skip_default was deprecated in Largo 0.4
Since: 0.3
Builds a dropdown menu of the custom sidebars for use on custom landing pages Used in the meta box on post/page edit screen $skip_default was deprecated in Largo 0.4
Parameters: - $tring ($selected) – one of ‘left’ or ‘right’ to signal which landing page region to build a dropdown for
- $tring – the id of the sidebar that should be marked as selected when the dropdown is generated
- $nteger ($post_id) – optionally specify which custom landing page post ID you want to generate a dropdown for
Since: 0.4
Returns sidebars that users should not be able to select for post, page and taxonomy layouts
Returns slug of custom sidebar that should be used
Determines if is_single or is_singular context requires a sidebar
Output the “Header Widget” sidebar
Action: largo_header_after_largo_header Since: 0.5.5
-
largo_post_bottom_widget_area
()¶ Output the “Article Bottom” sidebar
Action: largo_header_after_largo_header Since: 0.5.5