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 specify which devices
Edit on GitHub
  1. Features
  2. Overview

Limit to Device Types

PreviousAuto-insert into Header / FooterNextYour own Shortcodes

Last updated 5 days ago

Introduction

By default, your shortcodes are only rendered on all devices.

In some instances, you may wish for a shortcode's content only to be rendered for certain device types i.e. Desktop, Mobile, Tablet or a combination of the three.

How to specify which devices

When creating or editing a shortcode, you will notice an option labelled "Show on". It's really as simple as checking one or more of these check boxes and saving the shortcode.