Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
additional contents sections
#6
I was thinking (always dangerous) if the
Code:
get_page_content()
function accepted an optional argument of a page-slug - we could in fact have as many content areas per page as we want - each with a WYSIWYG editor - so components could stay code only
if you used a structured naming system

page_slug: 'about-us'
Code:
get_page_content()
and we could concatenate a sidebar 'sidebar-about-us'
Code:
get_page_content(<? 'sidebar-'.return_page_slug(); ?>)
etc..

a simple addition to the codex that IMHO expands the scope substantially - and since it's an optional argument - really nothing else needs to change.

thoughts?
Reply


Messages In This Thread
additional contents sections - by jeffmiller - 2009-10-08, 10:26:01
additional contents sections - by ccagle8 - 2009-10-08, 11:03:44
additional contents sections - by jeffmiller - 2009-10-09, 10:01:15
additional contents sections - by jeffmiller - 2009-10-10, 07:07:46
additional contents sections - by ccagle8 - 2009-10-14, 11:15:45
additional contents sections - by sauldraws - 2009-12-25, 15:54:45
additional contents sections - by Zegnåt - 2009-12-25, 20:32:20
additional contents sections - by sauldraws - 2009-12-27, 08:39:04
additional contents sections - by Zegnåt - 2009-12-27, 19:59:04
additional contents sections - by n00dles101 - 2009-12-28, 08:44:04
additional contents sections - by badcat - 2009-12-28, 16:13:06
additional contents sections - by sauldraws - 2009-12-30, 17:36:54
additional contents sections - by Zegnåt - 2010-09-22, 17:38:25
additional contents sections - by Zegnåt - 2010-09-22, 17:45:45
additional contents sections - by simplicity - 2012-02-21, 03:10:55
additional contents sections - by batgranny - 2012-02-28, 06:35:54
additional contents sections - by n00dles101 - 2012-02-28, 06:50:01



Users browsing this thread: 2 Guest(s)