Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multiple page in template / Content Slider theme
#2
The way I would usually do it is create all the parts of your page as subpages of index.

index
--homecontent
--aboutcontent
--portfoliocontent

Edit these pages as normal, set the to private so they don't show on the menu etc...

Then to include them in your template just use

Code:
<!-- About -->
        <div id="about" class="panel">
            <div class="content">
                <h2><?php getPageField('aboutcontent','title');?></h2>
                <?php getPageContent('aboutcontent'); ?>

            </div>
        </div>
        <!-- /About -->
My Github Repos: Github
Website: DigiMute
Reply


Messages In This Thread
Multiple page in template / Content Slider theme - by n00dles101 - 2012-04-04, 20:41:54



Users browsing this thread: 1 Guest(s)