inc/sidebars.php

largo_register_sidebars()

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
largo_custom_sidebars_dropdown()

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
largo_landing_page_custom_sidebars_dropdown()

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

largo_get_excluded_sidebars()

Returns sidebars that users should not be able to select for post, page and taxonomy layouts

largo_get_custom_sidebar()

Returns slug of custom sidebar that should be used

largo_is_sidebar_required()

Determines if is_single or is_singular context requires a sidebar

largo_header_widget_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