2012-12-31, 12:30:42
(2012-12-29, 03:20:31)Timbow Wrote: Holding Text - text that would appear on the page saying 'This is Column2 please edit this text in the Col2 tab'
Would writing the message in the second input do what you want? ie:
Code:
insert_page_content("col2" , "This is Column2 please edit this text in the Col2 tab");
(2012-12-30, 09:16:59)lukastaylor Wrote: Hi,
Firstly thankyou for a great plugin. I have a question about accessing the content of a tab from a parent page....
I have created a function in the "theme_functions.php" file that accesses all children pages, loops them and and obviously I can access stuff like so:
"$page['url']"
But how can access the content of a specific tab from there?
Any help appreciated.
xx
No problem. Glad you're enjoying it!
Does page['parent'] give you a page slug? You might be able to use:
Code:
insert_page_content( page['parent'] . "->tabname" );