Home>Support>WP Menu Cart Pro for WooCommerce in Vantage

WP Menu Cart Pro for WooCommerce in Vantage

Hi,
I have Vantage Premium, and would like to move WP Menu Cart Pro (a WooCommerce plugin) from the menu (which is where it is at the moment), and relocate it to where “Call me! Maybe?” is. The text input field within Appearance > Theme Settings > Logo > Header Text does not allow for shortcodes, so I am unsure what to do.

Here is my website: http://framella.wpengine.com

In searching for solutions, this was provided in a FAQ on WP Overnight’s website: https://wpovernight.com/faqs/menu-cart-pro-shortcode/

I’m okay with modifying a PHP template file within Vantage, but I’m unsure where best to put the [wpmenucart] PHP code.

Thanks and regards,
Todd

URL: http://framella.wpengine.com

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 1 month ago Todd Wheeler

    Hi,
    Upon further exploration, I added the following to masthead.php

    <div class="support-text">
    				<?php echo do_shortcode('[wpmenucart]'); ?>
    				<!-- <?php do_action('vantage_support_text'); ?> -->
    </div>
    

    I can further style “support-text” pretty easily, but is the above change to masthead.php the way to go? It doesn’t seem “upgrade-proof” enough.

    Thanks and regards,
    Todd

  2. 9 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Hey Todd

    Thanks for reaching out.

    To insert a widget into the header widget area just head over to Appearance > Widgets. You’ll find the header widget area there and can drag any widget you’d like into it.

    As you mentioned, changing files in the parent theme isn’t upgrade safe. I’d recommend restoring that file to it’s original state.

    https://themes.svn.wordpress.org/vantage/1.4.2/parts/masthead.php

    Let us know how you come along :)

  3. 9 years, 1 month ago Todd Wheeler

    Thanks Andrew!
    It really was that easy, too. I added a Visual Editor widget to the Header widget. Then, all I needed to add was the shortcode [wpmenucart] and viola, it appeared!

    I think that it’s a testament to how well Vantage, Page Builder, and WordPress work together that you can always find a solution to your problem, but also that a more elegant solution exists that they’ve already anticipated.

    Thanks again,
    Todd

  4. 9 years, 1 month ago Andrew Misplon
    Hi, I Work Here

    Awesome :) Glad to hear you were able to quickly resolve. Thanks for your continued support, it’s most appreciated.

    All the best.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More