This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

WP Menu Cart Pro for WooCommerce in Vantage

Resolved 4 replies premiumthemetheme-vantage
10 years ago · Last reply by Andrew Misplon 10 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

4
  1. Todd Wheeler 10 years, 5 months ago

    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. Andrew Misplon Staff 10 years, 5 months ago

    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. Todd Wheeler 10 years, 5 months ago

    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. Andrew Misplon Staff 10 years, 5 months ago

    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.

Have a different question or issue?

Start New Thread