• Resolved georgeruellan

    (@georgeruellan)


    I’m using the Divi Builder theme with this plugin. In Divi Visual Builder, I placed my custom nav bar (not the default wordpress template nav bar/header) in a row ABOVE my row of code with the inventory tag. So why is the nav bar being displayed UNDER my car listings? Thanks

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Virender Singh

    (@virendrapalsingh5)

    Virender Singh

    (@virendrapalsingh5)

    I found a work around.

    Go to Plugin Folder and navigate to includes/templates.php

    Change following function:

    
    function stm_add_listing_inventory($atts)
    {
        stm_listings_load_template('filter/inventory/main');
    }
    add_shortcode('stm_add_listing_inventory', 'stm_add_listing_inventory');

    to

    function stm_add_listing_inventory($atts)
    {
    	ob_start();
        stm_listings_load_template('filter/inventory/main');
    	$output = ob_get_clean();
         return $output;
    }
    if (!is_admin()) {
    add_shortcode('stm_add_listing_inventory', 'stm_add_listing_inventory');
    }

    You must also be seeing listing page loading in admin panel. I have included workaround for that too in above code.

    Plugin Author Stylemix

    (@stylemix)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Can’t get listings to display UNDER my custom nav bar’ is closed to new replies.