Viewing 13 replies - 1 through 13 (of 13 total)
  • Just came across this myself. Were you able to resolve?

    Came across this myself and solved, were you able to find a solution?

    Thread Starter MagineM

    (@maginem)

    Hi,

    Haven’t found a solution… Did you manage to solve it?

    I did, but it was tricky. What theme are you using? I found in my theme there was a conditional that had everything but the brands page. What I did was remove the action and then add it into my own functions.php file. I can try to help you further if you need it.

    Plugin Author MagniumThemes

    (@magniumthemes)

    Hello, we don’t provide technical support for free plugin version. Purchase PRO version to get support.

    Plugin Author MagniumThemes

    (@magniumthemes)

    Hello, we don’t provide technical support for free plugin version. Purchase PRO version to get support.

    I wouldn’t call it “support”, sweetheart! Your plugin is simply not functioning as promised!

    Thread Starter MagineM

    (@maginem)

    @fr0styc0d3r – I’m using Divi. If you could point me in the right direction that would be great!

    Do you have a child theme? I would highly recommend a child theme and then copying the entire Woocommerce directory into that child theme (do NOT remove it from the plugins folder though, just copy it over).

    Either way this is the solution. If you need further assistance, it doesn’t work or make sense just let me know.

    //This overrides the standard divi sidebar conditionals so that it shows up on the brands page in addition to the other shop pages
    function my_content_wrapper_end() {
    echo ‘</div> <!– #left-area –>’;
    woocommerce_get_sidebar();
    echo ‘
    </div> <!– #content-area –>
    </div> <!– .container –>
    </div> <!– #main-content –>’;
    }

    // Remove the default Divi theme sidebar function
    function remove_et_divi_output_content_wrapper_end() {
    remove_action(‘woocommerce_after_main_content’, ‘et_divi_output_content_wrapper_end’, 10);
    }
    // Call the remove function (above) during WP initialization
    add_action(‘init’,’remove_et_divi_output_content_wrapper_end’);

    // Add custom function for sidebar on all pages
    add_action(‘woocommerce_after_main_content’, ‘my_content_wrapper_end’, 10);

    Thread Starter MagineM

    (@maginem)

    Thanks for that. I’m however getting syntax errors were you’ve got the </div>

    Thread Starter MagineM

    (@maginem)

    @fr0styc0d3r – I think I figured out the syntax error. The ” after echo need to be a “”. Then there are no errors.

    So I put this into the functions.php (of my child theme), but nothing seems to have changed. I am running a child a theme, but do I really need to copy all woocommerce files over or is there not a specific one I can copy? Ideally I’d like to avoid copying all files across.

    Thread Starter MagineM

    (@maginem)

    @fr0styc0d3r – All sorted and working 100% The syntax was just converted funny during copy and paste. So I just corrected the “” & ” and all good.
    Thanks for the help! ??

    All sorted and working.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Sidebar not showing on brand page…’ is closed to new replies.