inc/post-metaboxes.php

largo_remove_default_post_screen_metaboxes()

Hide some of the less commonly used metaboxes to cleanup the post and page edit screens

Since:0.3
largo_remove_other_post_screen_metaboxes()

Remove meta boxes that are generated automatically by WordPress (i.e. for custom taxonomies) or other non-default WordPress meta boxes that we want to hide or customize.

Since:0.4
largo_change_default_hidden_metaboxes()

Show all of the other metaboxes by default (particularly to show the excerpt)

Since:0.3
largo_add_custom_prominence_meta_box()

Add our prominence taxonomy meta box with custom behavior.

Parameters:
  • $largoProminenceTerms (array) – list of prominence terms
See:

largo_custom_taxonomies

largo_byline_meta_box_display()

Contents for the ‘byline’ metabox

Allows user to set a custom byline text and link.

Global:$post
largo_layout_meta_box_display()

Contents for the Layout Options metabox

Allows user to choose: - the post template used by the post, if the current post is not a page - the sidebar used by this post

Global:$post
largo_custom_sidebar_js()

Load JS for custom sidebar choice dropdown

Global:$typenow
Global:$wp_registered_sidebars
Global:LARGO_DEBUG

Custom related meta box option

Allows the user to set custom related posts for a post.

Global:$post
largo_custom_disclaimer_meta_box_display()

Disclaimer text area for the Additional Options metabox

If the post’s disclaimer field is empty, then the default disclaimer is the option set in the theme options.

Global:$post
largo_top_tag_display()

Metabox option to choose the top tag for the posto

Includes the option for “None”, which is not the default option, but is an option.

Global:$post
Since:0.5.5
Link:https://github.com/INN/Largo/issues/1082
largo_top_terms_js()

Load JS for our top-terms select

Global:LARGO_DEBUG
Global:$typenow
largo_prominence_meta_box()

Callback function to draw our custom meta box for the prominence taxonomy