Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Plugin Request: Page Templates
#2
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:

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.
Reply


Messages In This Thread
Plugin Request: Page Templates - by alienee2 - 2012-04-19, 03:05:43
Plugin Request: Page Templates - by Angryboy - 2012-04-19, 03:22:42
Plugin Request: Page Templates - by alienee2 - 2012-04-19, 03:39:32
Plugin Request: Page Templates - by n00dles101 - 2012-04-19, 06:13:50
Plugin Request: Page Templates - by Angryboy - 2012-04-19, 06:26:54
Plugin Request: Page Templates - by Carlos - 2012-04-19, 06:35:14
Plugin Request: Page Templates - by alienee2 - 2012-04-19, 06:50:40
Plugin Request: Page Templates - by alienee2 - 2012-04-19, 06:53:43
Plugin Request: Page Templates - by alienee2 - 2012-04-19, 06:55:08
Plugin Request: Page Templates - by Angryboy - 2012-04-19, 07:14:02
Plugin Request: Page Templates - by n00dles101 - 2012-04-19, 07:21:06
Plugin Request: Page Templates - by alienee2 - 2012-04-19, 11:47:13
Plugin Request: Page Templates - by alienee2 - 2012-04-19, 12:02:09
Plugin Request: Page Templates - by alienee2 - 2012-05-13, 04:27:44
Plugin Request: Page Templates - by n00dles101 - 2012-05-13, 07:05:32



Users browsing this thread: 1 Guest(s)