2012-04-19, 03:22:42
Could what you are asking be achieved with CustomFields? Create a field and give it a default value (basically the regular markup that would show up if it went unedited). Place the code:
in your template where you want the markup to be editable, then the user could edit the markup within the page by clicking "Page Options" and editing the content of your custom field. You can also decide whether to make it a WYSIWYG field or a Multi line text field.
Code:
<?php get_custom_field('fieldname'); ?>
in your template where you want the markup to be editable, then the user could edit the markup within the page by clicking "Page Options" and editing the content of your custom field. You can also decide whether to make it a WYSIWYG field or a Multi line text field.