• Resolved IT Hertz

    (@it-hertz)


    I’m using Customify theme with Slideshow SE on the home page as a right sidebar widget. No matter what I try, which have been dozens of different methods, including adding function filters in functions.php, js removal, css display:none etc etc., nothing gets rid of this section while leaving the home page sidebar intact. Your plugin is forcing my slideshow to appear on the archive listing page.

    <aside id="sidebar-primary" class="sidebar-primary">

    I need that entire aside section removed from the archive listing page while not affecting the sidebar on the homepage. I also tried removing the widget from the specific page ID instead of the the entire sidebar div; no joy. And yes, I also tried eliminating it via JS after the page loads. I deleted the various sidebar hooks from TemplateHooks.php and tried modifying the template files, all to no avail. edit: I also made sure the page wasn’t being cached. This thing is super stubborn.

    • This topic was modified 4 months, 2 weeks ago by IT Hertz.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Muhammad Ali Akbar

    (@alireyad)

    Hi,
    To remove sidebar widget from archive page, got to Admin Dashboard -> Appearance -> Widgets then remove widgets from sidebar area Classified Listing – Archive Sidebar

    https://prnt.sc/wMwGSGYWJuVN

    Thank you

    Thread Starter IT Hertz

    (@it-hertz)

    Naturally, I had checked the admin settings first before diving into the plugin code. The only sidebar is the slideshow on the front page (primary sidebar), which is being loaded into the archive page as well.

    Oh, and btw, it does this with any sidebar widget, not just the slideshow. I confirmed this by only using a simple one line of text as the primary sidebar, the only widget on the entire site, and it, too, was loaded into the archive listing page.

    edit: It’s a compatibility issue with Customify, I’m just not sure why nor how to remove it. It certainly cannot be removed via admin or customize controls, so it will have to be done somewhere in the plugin files. I tried some other themes and this abnormal widget behavior wasn’t present.

    • This reply was modified 4 months, 2 weeks ago by IT Hertz.
    • This reply was modified 4 months, 2 weeks ago by IT Hertz.
    Thread Starter IT Hertz

    (@it-hertz)

    Nevermind, I found the trick. The plugin requires a widget in that archive sidebar div (i.e., can’t be left empty) or else it will load the aforementioned primary sidebar. So, here’s how I fixed it, in case anyone else runs into this issue: I added an empty paragraph widget to the archive page, after which I was able to hide it via css (it cannot be hidden if there is no widget block for that page, at least not in Customify theme):

    .rtcl .rtcl-content-wrapper .rtcl-sidebar-wrapper {
    flex: 0 0 var(--rtcl-sidebar-width);
    max-width: var(--rtcl-sidebar-width);
    display: none;
    }

    Add the display:none declaration to the existing rule in rtcl-public.min.css (and rtcl-public.css to make it easier to find later as a reminder). The original front page slideshow no longer loads into the archive page. I’m marking this resolved.

    Thread Starter IT Hertz

    (@it-hertz)

    correction: The above code also removes the contact form sidebar from the single listing. The actual fix for Customify theme (and possibly others) is to add the widget to archive page as stated above, then add the following code directly to the archive page using the WP editor:

    <style>
    body {
    #rtcl-sidebar.rtcl-sidebar-wrapper {
    display:none;
    }
    }
    </style>

    That will remove the sidebar div only from the archive page, leaving the single listing page and primary sidebar (front page in my case) intact.

    Plugin Support Muhammad Ali Akbar

    (@alireyad)

    Hi,
    May be there theme related compatibility issue. We will check it with this theme.

    Are you facing any other issue right now or all issues resolved from your side?

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.