Posts: 119
Threads: 47
Joined: Feb 2016
Hi, just started delving into the theme creation and learning how to convert existing sites into GS.
What would be the best approach for converting the following site (as an example)
http://foundation.zurb.com/templates-pre...orbit.html
As there are several editable areas (text blocks and images) how does this fit in with the get_page_content function?
Many thanks
Posts: 1,927
Threads: 88
Joined: Apr 2010
I use plugins I18N, I18N Search and I18N Special Pages
http://demo.getsimplethemes.ru/demo-en/
Posts: 119
Threads: 47
Joined: Feb 2016
(2016-02-19, 22:45:31)Oleg06 Wrote: I use plugins I18N, I18N Search and I18N Special Pages http://demo.getsimplethemes.ru/demo-en/
Hi Oleg
Had a look but that's not what I am looking for (I think).
When a page is created then there is one editable area which is accessed via the get_page_content function.
If I wanted to have six areas of editable content on one page, what would be the most sensible approach.
many thanks for the reply
Posts: 1,127
Threads: 136
Joined: Feb 2012
(2016-02-19, 23:42:44)cobber Wrote: (2016-02-19, 22:45:31)Oleg06 Wrote: I use plugins I18N, I18N Search and I18N Special Pages http://demo.getsimplethemes.ru/demo-en/
Hi Oleg
Had a look but that's not what I am looking for (I think).
When a page is created then there is one editable area which is accessed via the get_page_content function.
If I wanted to have six areas of editable content on one page, what would be the most sensible approach.
many thanks for the reply
You can use components
You can use get_page_content(slug) - like a page within a page
You can use a plugin like 'special pages', 'custom fields' or 'simple input tabs'
EDITED! I got it wrong - it's <?php getPageContent('slug'); ?> or <?php returnPageContent('slug'); ?> for a page within a page. subtley different to get_page_content()
But really it's your choice. I think Shawn is planning an improved method of dealing with different content areas.
Posts: 119
Threads: 47
Joined: Feb 2016
(2016-02-19, 23:52:25)Timbow Wrote: (2016-02-19, 23:42:44)cobber Wrote: (2016-02-19, 22:45:31)Oleg06 Wrote: I use plugins I18N, I18N Search and I18N Special Pages http://demo.getsimplethemes.ru/demo-en/
Hi Oleg
Had a look but that's not what I am looking for (I think).
When a page is created then there is one editable area which is accessed via the get_page_content function.
If I wanted to have six areas of editable content on one page, what would be the most sensible approach.
many thanks for the reply
You can use components
You can use get_page_content(slug) - like a page within a page
You can use a plugin like 'special pages', 'custom fields' or 'simple input tabs'
But really it's your choice. I think Shawn is planning an improved method of dealing with different content areas.
Yeah I read about the components and even made a couple, that's why I was asking what most people do. I thought after a while you would end up with a stupid amount of components though I do like idea.
What do you mean "You can use get_page_content(slug) - like a page within a page" (apologies just trying to get a clearer picture)
Posts: 1,927
Threads: 88
Joined: Apr 2010
if you have mastered the recommended plugins, everything will be just for you.
http://prntscr.com/a5b9rx
http://prntscr.com/a5bal9
Posts: 36
Threads: 1
Joined: Oct 2013
(2016-02-20, 00:12:34)cobber Wrote: (2016-02-19, 23:52:25)Timbow Wrote: (2016-02-19, 23:42:44)cobber Wrote: (2016-02-19, 22:45:31)Oleg06 Wrote: I use plugins I18N, I18N Search and I18N Special Pages http://demo.getsimplethemes.ru/demo-en/
Hi Oleg
Had a look but that's not what I am looking for (I think).
When a page is created then there is one editable area which is accessed via the get_page_content function.
If I wanted to have six areas of editable content on one page, what would be the most sensible approach.
many thanks for the reply
You can use components
You can use get_page_content(slug) - like a page within a page
You can use a plugin like 'special pages', 'custom fields' or 'simple input tabs'
But really it's your choice. I think Shawn is planning an improved method of dealing with different content areas.
Yeah I read about the components and even made a couple, that's why I was asking what most people do. I thought after a while you would end up with a stupid amount of components though I do like idea.
What do you mean "You can use get_page_content(slug) - like a page within a page" (apologies just trying to get a clearer picture)
You can use private pages to store content for your theme areas. Use getPageContent($page) function to get content from page $page. No plugins required for this method.
Posts: 119
Threads: 47
Joined: Feb 2016
I'm beginning to get the basic idea.
Thank you to everyone who took the time to reply, it's very much appreciated.