Snippet Shortcodes
  • Welcome
  • Getting Started
    • Page
    • Quickstart
    • What is the Premium Plugin?
    • Creating your first shortcode
  • Features
    • Overview
      • Auto-insert into Header / Footer
      • Limit to Device Types
    • Your own Shortcodes
    • Ready-made Shortcodes
      • Premium
        • Database values by ID
        • WooCommerce Meta Fields
        • WordPress User fields
      • Core
    • CSV Import
  • Further Info
    • Pricing & getting a license
  • Release notes
  • Contact / Issues
  • Download Links
    • Core plugin
  • Premium Plugin
Powered by GitBook
On this page
  • Introduction
  • How to enable
Edit on GitHub
  1. Features
  2. Overview

Auto-insert into Header / Footer

PreviousOverviewNextLimit to Device Types

Last updated 5 days ago

Introduction

By default, your shortcodes are only rendered on your site when placed, say [sv slug="business-development"], in the desired location.

In some instances, you may wish for a shortcode's content to be rendered automatically into your websites header or footer, for example for custom CSS or GA code.

How to enable

When creating or editing a shortcode, you will notice a section under the editor called "Automatically inserting into the the selected locations below". It's really as simple as checking one or both of these check boxes and saving the shortcode.