Compability with ivory plugin

Hello!

Ich have the standard filter widget area in sidebar at category listing pages.
For example here:

If you will change filter (click on some radio filter button) there ist an error “nothing found”.

For Testing: click to the listing category “Eltern-Apps” and “Filter” and there are no results. Why?

I see the filtering URL is set “https://kinderklar.de/?_sort=&s=&post_type=hp_listing&_category=46” but the listing is normaly “/listing-category/eltern-apps/”

Thanks!

I found an issue: I installed the plugin ivory search von standard search tool on my website für landingpages, blogposts and listings. if I deactivate ivory search plugin the filter works finde. any idea to use hivepress listing filter on category pages an ivory search bar both on my website?

Hi,

Unfortunately, we do not have integration with this plugin and cannot guarantee 100% compatibility with third-party plugins. If you need an integration and you are familiar with coding, please check out this documentation: Getting started | Developer Docs. As an alternative option, you can consider hiring experts: Customize your website | HivePress

ok thanks. and is there an option/code snippet to remove the sidebar completly?

if I set a new template there are many restrictions for SEO performance, for example there is no block to insert the current category description.

I tried with this snippet but is it the best way?

add_action('wp_footer', function () {
    ?>
    <script>
        function removeSidebar() {
            const sidebar = document.querySelector('.hp-page__sidebar');
            if (sidebar) {
                sidebar.style.display = 'none';
            }

            const mainContent = document.querySelector('.hp-col-sm-8');
            if (mainContent) {
                mainContent.style.flexBasis = '100%';
                mainContent.style.maxWidth = '100%';
            }
        }

        document.addEventListener("DOMContentLoaded", removeSidebar);

        const observer = new MutationObserver(removeSidebar);
        observer.observe(document.body, { childList: true, subtree: true });
    </script>
    <?php
});

and this code for 3 columns:

add_action('wp_head', function () {
    ?>
    <style>
        @media (min-width: 768px) {
            .hp-col-sm-6 {
                flex: 0 0 33.3333% !important;
                max-width: 33.3333% !important;
            }
        }
    </style>
    <?php
});

Hi,

The easiest option is to overwrite the Listings template in HivePress > Templates using this documentation How to customize templates - HivePress Help Center, and thus not add the Filter block.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.