Forum replies created
Thanks for you Roman.
Now I could continue using evolve premium. 😀
Thank you very mutch.
Hi Roman!
Problem is still active.
I am using free evolve, because premium evolve is broken. I also have a lot of users visiting our pages so I can’t keep brogen theme on.
But When I turn evolve premium back on. There is only last article widget.
Then I add wordpress widget “article archive”. After that theme is broken.
If you tell when you could visit in our pages I could turn evolve premium on.
I live in Finland and our time zone is GMT +3 hours.
Regards:
Mr Keijo Salakari
First widget in sidebar 2 is last articles.
If I add second widget it always brakes site.
It doesn’t matter what widget it is.
And this is full sidebvar-2.php
—-
<?php
/**
* Template: Sidebar.php
*
* @package EvoLve
* @subpackage Template
*/
$evl_layout = evl_get_option(‘evl_layout’,’2cl’);
$sidebar_css = ”;
if(class_exists(‘Woocommerce’)) {
if(is_cart() || is_checkout() || is_account_page() || (get_option(‘woocommerce_thanks_page_id’) && is_page(get_option(‘woocommerce_thanks_page_id’)))) {
$sidebar_css = ‘display:none’;
}
}
?>
<!–BEGIN #secondary-2 .aside–>
<div id=”secondary-2″ class=”aside <?php if (($evl_layout == “1c”)) {} if (($evl_layout == “3cm” || $evl_layout == “3cl” || $evl_layout == “3cr”)) {echo ‘col-xs-12 col-sm-6 col-md-3’;} else {echo ‘col-sm-6 col-md-4’;} ?>”
<?php if(class_exists(‘Woocommerce’)):
echo ‘style=”‘.$sidebar_css.'”‘;endif;?>
<?php /* Widgetized Area */
if (dynamic_sidebar( ‘sidebar-2’ )) : ?>
<?php endif; /* (!function_exists(‘dynamic_sidebar’) */ ?>
<!–END #secondary-2 .aside–>
</div>
This is code from sidebar.php
—-
<?php /* Widgetized Area */
if (is_single() || is_page()) {
generated_dynamic_sidebar();
}
elseif(is_archive() || is_author()) {
$blog_archive_sidebar = evl_get_option(‘evl_blog_archive_sidebar’,’None’);
if ($blog_archive_sidebar != ‘0’ && function_exists(‘dynamic_sidebar’)) {
generated_dynamic_sidebar($blog_archive_sidebar);
}
}
elseif(is_home()) {
$name = get_post_meta(get_option(‘page_for_posts’), ‘sbg_selected_sidebar_replacement’, true);
if($name) {
generated_dynamic_sidebar($name[0]);
}
else {
if (!function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘sidebar-1’)):
endif;
}
}
elseif(is_front_page()) {
if (!function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘sidebar-1’)):
endif;
}
?>
<!–END #secondary .aside–>
</div>
Sorry, but could you tell to which file I should look?
Here is code of sidebar 2
—-
<?php
/**
* Template: Sidebar.php
*
* @package EvoLve
* @subpackage Template
*/
$evl_layout = evl_get_option(‘evl_layout’,’2cl’);
$sidebar_css = ”;
if(class_exists(‘Woocommerce’)) {
if(is_cart() || is_checkout() || is_account_page() || (get_option(‘woocommerce_thanks_page_id’) && is_page(get_option(‘woocommerce_thanks_page_id’)))) {
$sidebar_css = ‘display:none’;
}
}
?>
<!–BEGIN #secondary-2 .aside–>
<div id=”secondary-2″ class=”aside <?php if (($evl_layout == “1c”)) {} if (($evl_layout == “3cm” || $evl_layout == “3cl” || $evl_layout == “3cr”)) {echo ‘col-xs-12 col-sm-6 col-md-3’;} else {echo ‘col-sm-6 col-md-4’;} ?>”
<?php if(class_exists(‘Woocommerce’)):
echo ‘style=”‘.$sidebar_css.'”‘;endif;?>
<?php /* Widgetized Area */
if (dynamic_sidebar( ‘sidebar-2’ )) : ?>
<?php endif; /* (!function_exists(‘dynamic_sidebar’) */ ?>
<!–END #secondary-2 .aside–>
</div>
—-
It was similar before installation and after.
I choosed sidebar to both side from theme options. sidebar 2 is in the left. Sidebar 1 is in the right.
When I add new widgets to sidebar 2, page looks like this one http://www.smoto.fi/wp-content/uploads/2014/08/Screenshot-from-2014-08-24-140757.png
What I should do?
Best Regards:
Mr Keijo Salakari