Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding multiple get_component( );
#7
(2014-02-13, 22:01:14)cyberviews Wrote: So I added the tag
Code:
<?php getPageContent('right-column'); ?>
in my template.php and went to the "pages" area in the backend.

On your screenshot there were options added but in my backend there were none.

You need to create a page with the 'slug' right-column and insert the content of the page into your template with the tag
<?php getPageContent('right-column'); ?>

The page is not automatically created when you use the tag. If you make the page right-column the child of the main page it is tidier in the admin display.

Ask anything, anytime, you are welcome.

I belive GSv4 is to have an improved system for secondary content blocks, 'snippets'?
Reply


Messages In This Thread
Adding multiple get_component( ); - by cyberviews - 2014-02-13, 19:13:03
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)