Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: [Resolved] Nevada Theme and Step Three: Tweaking your layout. Help?

@elmindo

Participant

Got this from the UnitedThemes Suport guys, if it will help:

Quote: UnitedThemes

… it seems like that you need to move the mentioned files above into the theme directory. And when moving you need to apply the settings for the basic setup.

Therefore we made use of functions instead of hardcoded HTML inside our files. So when having a look at the page.php we are using a functions to open the content part and another to close:

Code:
lambda_before_content($columns=”);

will create a div:

Code:
<div id="content-wrap" class="fluid clearfix" data-content="content"><!– /#start content-wrap –>
<div class="container"><div id="content" class="’.$columns.’ columns">

and

Code:
lambda_after_content();

will close it. So use this skeleton here to create the single template files:

Code:
<?php

//includes the header.php
get_header();

//includes the template-part-slider.php
get_template_part( ‘template-part’, ‘slider’ );

//includes the template-part-teaser.php
get_template_part( ‘template-part’, ‘teaser’ );

//set column layout depending if user wants to display a sidebar
lambda_before_content($columns=”);

//the content loop
get_template_part( ‘loop’, ‘page’ );

//content closer – this function can be found in functions/theme-layout-functions.php line 56-61
lambda_after_content();

//include the sidebar-page.php
if(empty($columns))
get_sidebar();

//includes the footer.php
get_footer();
?>

But I’m still a bit lost.

Skip to toolbar