Skip to main content

mbr_is_bot

Usage​

This shortcode determines the content to be displayed based upon whether the current visitor is a search engine bot.

The content between the shortcode’s start and end tags will be displayed to the visiting bot.

This shortcode allows you to define what content search engines should "see", and consequently index, while keeping your other content separate and protected from bots.

Parameters​

None.

Validity​

This shortcode is evaluated for any type of visitor.

Conditional Branching​

This shortcode does NOT support conditional branching with [ELSE_is_bot].

Nesting​

Shortcode nesting is NOT supported.

Examples​

Display "Content only shown to the bot." if the visitor is a bot:

[mbr_is_bot]
Content only shown to the bot.
[/mbr_is_bot]

API​

info

There is currently no ActiveMember360 API function equivalent for this shortcode.