Skip to main content

General How To

Add/Remove Salient Image Sizes

Add Salient Metaboxes to a Custom Post Type

Disable AJAX saving in Salient options panel

Disable CSS/JS Minifcation

Register New Theme Colors

Page Builder

Remove the Salient Studio Template Library

Override A Page Builder Element Template

Create A Custom Page Builder Element

Actions

1. General Template Hooks

nectar_hook_after_body_open
Directly after body open tag open
Type: Action

Hooked:

  • nectar_skip_to_content_link
  • nectar_custom_js_after_body
nectar_hook_before_body_close
Before body close tag
Type: Action
nectar_hook_after_outer_wrap_open
After outer wrap open (#ajax-content-wrap)
Type: Action

Hooked:

  • nectar_fullscreen_blur_wrap_open
nectar_hook_before_outer_wrap_close
Before outer wrap close (#ajax-content-wrap)
Type: Action

Hooked:

  • nectar_fullscreen_blur_wrap_close
nectar_hook_before_header_nav
Before the Salient header navigation bar
Type: Action

Hooked:

  • nectar_material_skin_ocm_wrap_open
  • nectar_page_trans_markup

2. Header Navigation Hooks

nectar_hook_before_logo
Before the header navigation logo
Type: Action
nectar_hook_mobile_header_menu_items
Items to display in the mobile navigation header bar
Type: Action

Hooked:

  • nectar_mobile_header_persistent_items
nectar_hook_before_menu_items
Before the main navigation menu items
Type: Action
nectar_hook_before_pull_left_items
Before the "Pull left" navigation menu items
Type: Action
nectar_hook_pull_right_menu_items
Pull right menu items
Type: Action
nectar_before_header_button_list_items
Before the button based navigation menu items
Type: Action
nectar_hook_secondary_header_menu_items
Secondary header layout menu items
Type: Action

3. Content Hooks

nectar_hook_before_content
Before page/post content begins
Type: Action

Hooked:

  • nectar_yoast_breadcrumbs
  • nectar_buddypress_title
  • nectar_fullpage_markup_open
nectar_hook_after_content
After page/post content ends
Type: Action

Hooked:

  • nectar_fullpage_markup_close
nectar_after_archive_post_item_content
After blog post item content in blog archives
Type: Action

4. Footer Hooks

nectar_hook_before_footer_widget_areaa
Before footer widgets
Type: Action
nectar_hook_after_footer_widget_area
After footer widgets
Type: Action
nectar_hook_after_wp_footer
Before closing body tag
Type: Action

4. Off Canvas Menu Hooks

nectar_hook_ocm_before_menu
Off canvas menu before menu items
Type: Action
nectar_hook_ocm_after_menu
Off canvas menu after menu items
Type: Action
nectar_hook_ocm_bottom_meta
Off canvas menu in bottom meta section
Type: Action
nectar_hook_ocm_before_secondary_items
Off canvas menu before secondary nav items
Type: Action