Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION What's the best approach for page content display?
#4
(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.
Reply


Messages In This Thread
RE: What's the best approach for page content display? - by Timbow - 2016-02-19, 23:52:25



Users browsing this thread: 1 Guest(s)