Skip to content
This repository has been archived by the owner on Feb 12, 2020. It is now read-only.

Provide end-users with the ability to customize the markup around shortcode-embeded content #50

Closed
cferdinandi opened this issue May 14, 2015 · 0 comments
Labels

Comments

@cferdinandi
Copy link
Contributor

This is achieved by adding a textarea in the settings field where users can write their markup, and providing placeholders that get replaced with key pieces of content when the shortcode renders. Examples:

{{username}}
%field.username%

If custom markup is included, you do a find/replace for the placeholders. Otherwise, you render the default markup. You can see this in action in another plugin I manage: WordPress for Web Apps

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants