Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding multiple get_component( );
#5
(2014-02-13, 20:51:27)cyberviews Wrote: Hello datiswous,

first thank you for your quick reply and your help

So I could predefine compoennts and leave them empty (I have read somewhere that components can be empty)?

As far as I understood the
Code:
getPageContent()
can be used only once?

Best regards,

Rob
There's
Code:
<?php get_page_content(); ?>
Which gives the content of that specific page.
Then there's
Code:
<?php getPageContent('slug'); ?>
, which is for showing the content of a specific page in every page (with that template active). If you want different content boxes on different pages, you can use different template files for pages.
See also: http://get-simple.info/wiki/components-d...n-the_page (don't know if something like that is possible with pages as well).

Timbow Wrote:..and you can have a component in a component
Why wohould someone want to have a component in a component?
Reply


Messages In This Thread
Adding multiple get_component( ); - by cyberviews - 2014-02-13, 19:13:03
RE: Adding multiple get_component( ); - by datiswous - 2014-02-13, 21:44:45
RE: Adding multiple get_component( ); - by Timbow - 2014-02-13, 22:35:52
RE: Adding multiple get_component( ); - by Timbow - 2014-02-13, 20:57:59
RE: Adding multiple get_component( ); - by Timbow - 2014-02-13, 22:21:25
RE: Adding multiple get_component( ); - by Timbow - 2014-02-13, 22:49:25



Users browsing this thread: 1 Guest(s)