Support » Plugin: Essential Real Estate » No Side Bar On ERE Pages

  • Resolved UgoDimma

    (@lovecoinz)


    Hey there,

    The side bar and its widgets on every pages of this plugin are being shifted beneath the pages and the property posts.

    I am using Astra Theam. I have tried various options available, but could not get it align at left or right hand side.

    How do I get the side bar and its widget to appear on the right or left hand side of the pages and property posts?

    The page I need help with: [log in to see the link]

Viewing 11 replies - 16 through 26 (of 26 total)
  • Plugin Author g5theme

    (@g5theme)

    Hi, you have to create sidebar in your theme.
    And you can override all files on your theme all in folder “templates” here: http://prntscr.com/q01gwv
    Hope help you.

    Thread Starter UgoDimma

    (@lovecoinz)

    I tried to move the template folder to my theme template section, and make some modification, but the plugin isn’t picking the files from the theme folders. So I made the modification directly on the plugin, which I know is a bad way of modifying plugin files. But at last, I was able to get the sidebar positioned where it needed to be.

    So, I have to keep my eye on update and make the necessary modification once update is done on the plugin.

    I’m using astra theme.

    Hi UgoDimma
    I am trying to get rid of the sidebar at the bottom of the page. Could u please be so kind as to share the code changes you made on the property page to delete the sidebar ie the before and after images of the code with a few tips as to exactly where the coding starts and and stops. I know you wanted to move the display and I want to get rid of it but it should show me exactly what code to delete? or do I say no dispalay and where do I insert that.
    I wish ere would delete this sidebar as everyone has a problem with it.
    I am using the CosmosWP theme (cwp).
    The property page on my site is the following: https://bestbidonline.co.za/property/renovators-dream-2/
    Thank u very much if you can assist.
    I would also love to see your website…
    Kind regards Jean Pierre

    Thread Starter UgoDimma

    (@lovecoinz)

    Hey @horizondigital

    Sorry for the delay response.

    For you to get rid of the sidebar that appears beneath the single properties and archive property pages, you have to go to navigate to .../wp-content/plugins/essential-real-estate/public/templates and edit these two files
    archive-propeprty.php and single-property.php.

    On archive-propeprty.php, go to the line 234 and comment out this line of code
    do_action('ere_sidebar_property'); to become
    // do_action('ere_sidebar_property');

    Then on single-property.php, go to line 31 and comment out the same line of code
    do_action('ere_sidebar_property'); to become
    // do_action('ere_sidebar_property');

    NOTE: This code will be over write whenever you update the plugin. So, you have to manually update that line of code. To position the sidebar to its position, you will need to find the right <div> class that positions your blog and page content and use it on those files as I did on my site

    Until I find how to push the plugin template file to my child team template section, I have to manually edit those files anytime the plugin is updated.

    Thread Starter UgoDimma

    (@lovecoinz)

    All is now as I want it to be.
    Files are now in my child theme, sidebars are up and running as expected.

    Thanks for this awesome plugin.

    Thanks a million UgoDimma, I will let you know as soon as I have it fixed.
    I would love to compare notes on the websites that you and myself are building….my email address is jpn.horizon@gmail.com. Regards Jean Pierre.
    My website is http://www.bestbidonline.co.za

    Hi Ugo

    When I go to Plugins on my WP Dashboard and select Edit Plugins
    It takes me to an editing page where I found the Public Templates and the code lines as recommended by you. I made the changes and then clicked on Update File after each change…but I then get the following error message…

    Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.

    Help Please.

    Thread Starter UgoDimma

    (@lovecoinz)

    Hey @horizondigital
    Commenting that line of code shouldn’t throw up an error, but I recommend you edit the file using ftp client or through ssh client like putty.

    Is not recommended to edit files from WordPress dashboard.

    But if I log on to my PC, I can share the modified file here.

    Hi I also posted my sidebar issue on the CosmosWP Theme Forum and they provided the following solution.
    For the quick solution, you can use custom CSS, Go to Appearance => Customize => Additional CSS and copy-paste the following codes:

    main#cwp-main #sidebar {
    display: none;
    }

    Works like a dream…..Yaaaaaaaaaaay!

    At the same time I am learning from you how to edit the Plugin if I have to…so we will talk some more please…..Regards Jean Pierre.

    Thread Starter UgoDimma

    (@lovecoinz)

    Hey @horizondigital

    You can see the modified version of archive-agent.php at https://pastebin.com/g8pwZdq0
    You can do the same at other files of the plugin that outputs sidebar beneath the page contents, such as, archive-agent.php, single-agent.php, single-property.php, and taxonomy-agency.php.

    Just go to the second last line of each file, and you will see the code to comment out, which is do_action('ere_sidebar_property');.

    Remember to copy those files to your child theme folder.

    To anyone dealing with these issue, I digged on templates ans found the bug:
    …/essential-real-estate/public/templates/global/wrapper-end.php

    There is an extra close div on default theme switch case
    Only one is required

    	default :
    		echo '</div>';
    		break;
    

    Godspeed

Viewing 11 replies - 16 through 26 (of 26 total)
  • You must be logged in to reply to this topic.