Provides a shortcode to wrap your content with, which will automatically be converted to the proper mbox syntax for use with Adobe Test&Target.
Provides a shortcode to wrap your content with, which will automatically be converted to the proper mbox syntax for use with Adobe Test&Target. Works as a wrapper for text and images within the WordPress post/page editor.
Also provides a settings page where you can add the URL path to your mbox.js file to be automatically included in the page head. You can upload the mbox.js file via the media uploader and copy/paste the full path.
[mbox name="myMbox"]My Test Content[/mbox]
Where "myMbox" is the name of your mbox and "My Test Content" is the content you are testing using Adobe Test&Target.
For best results, do not leave a space or line break after the first tag or after the last, even if wrapping multiple paragraphs. Doing so will likely cause extra line breaks or paragraphs to appear on the page. (Note: this is an issue with the way WordPress handles shortcodes, not with this plugin)
Good Example:
[mbox name="myMbox"]Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper.[/mbox]
Bad Example:
[mbox name="myMbox"]
Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper.
[/mbox]
- Unzip tnt-mbox-shortcode.zip and upload the contained files to the /wp-content/plugins/ directory
- Activate the plugin through the 'Plugins' menu in WordPress
- Make sure to include your mbox.js file in the header.php of your theme (plans to automate that using this plugin are coming soon).
- Place the [mbox name="myMbox"]My Test Content[/mbox] shortcode in your templates.
While this plugin is free to download and use, it requires a subscription to the Test&Target system provided by Adobe for a fee. A similar free option is to use Google Website Optimizer.
It may take a minute or two for the names to show up. You can also manually refresh in Test&Target. If they still aren't showing up, make sure to include your mbox.js file in the header.php of your theme (plans to automate that using this plugin are coming soon).
No. Dynamic Mboxes are more advanced than this plugin is currently capable of dealing with. Those will have to be manually added to your theme. Furthermore, if you are using Dynamic Mboxes, chances are you are capable of editing your theme and don't need this plugin in the first place.