Forum Replies Created
-
Thank you so much @mercime ! All though I’m an atheist, I’m tempted to call you a God
1. I’m using version 1.3, Full Width.
2. alternating between no sidebar and right sidebar on my page, bu would do with right sidebar for BP.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.
@mercime thanks!
Here’s the source codes of the following separately in pastebin.com
– loop-page.php: http://pastebin.com/rC4W3k0Z
– functions.php: http://pastebin.com/wSt1cg15
– sidebar-page.php: http://pastebin.com/HrzsVHbF
– header.php: http://pastebin.com/MgsbGE4f
– index.php: http://pastebin.com/9Fu2EhFM
– footer.php: http://pastebin.com/U0u8WJu8