Hello muqarab !
I have visited your website and see the sidebar displayed well? problem solved?
http://prntscr.com/o9sxxo
Yes because i called sidebar function in single property page.
It’s better to call global sidebar function instead of plugin sidebar function that will resolve all theme compatibility issue.
Thanks and Regards
Hi, can you help me with this issue? I am using AVADA too but i cant see sidebar in single property page. For the other pages is sidebar visible but in my case using global sidebar not help. I see only place for sidebar but no sidebar in single property page.
Please add the below function in \plugins\essential-real-estate\public\templates\single-property.php
<aside id=”sidebar” role=”complementary” class=”sidebar fusion-widget-area fusion-content-widget-area fusion-sidebar-right fusion-blogsidebar” style=”float: right;”>
<?php dynamic_sidebar( ‘blog-sidebar’ ); ?>
</aside>
after do_action(‘ere_sidebar_property’); ?>
Note: Please change ‘blog-sidebar’ name according to your sidebar name
Thanks and Regards
Muqarab thx for reply but still dont work for me. Can you pls send screen how exactly/where in single-property.php place that function? I rly dont know whats could be wrong.
<?php
if ( ! defined( ‘ABSPATH’ ) ) {
exit; // Exit if accessed directly
}
get_header(‘ere’);
/**
* ere_before_main_content hook.
*
* @hooked ere_output_content_wrapper_start – 10 (outputs opening divs for the content)
*/
do_action( ‘ere_before_main_content’ );
do_action(‘ere_single_property_before_main_content’);
if (have_posts()):
while (have_posts()): the_post(); ?>
<?php ere_get_template_part(‘content’, ‘single-property’); ?>
<?php endwhile;
endif;
do_action(‘ere_single_property_after_main_content’);
/**
* ere_after_main_content hook.
*
* @hooked ere_output_content_wrapper_end – 10 (outputs closing divs for the content)
*/
do_action( ‘ere_after_main_content’ );
/**
* ere_sidebar_property hook.
*
* @hooked ere_sidebar_property – 10
*/
do_action(‘ere_sidebar_property’); ?>
<aside id=”sidebar” role=”complementary” class=”sidebar fusion-widget-area fusion-content-widget-area fusion-sidebar-right fusion-blogsidebar” style=”float: right;”>
<?php dynamic_sidebar( ‘blog-sidebar’ ); ?>
</aside>
<?php
get_footer(‘ere’);
THX very much. That is what exactly i did first but nothing happened. Sidebar not showing. I tried every tip here but finally i have to change plugin :/ nothing helped
Dear madflow,
after adding the code. next step is to go widgets and add different widgets in blog-sidebar.
if you still facing issue please send email on muqarabkhan12@gmail.com