• 0
Sign in to follow this  
Followers 0

Shortcode in the header

Question

Posted · Report post

Hi! I am trying to put a shortcode in the header. I am creating a shop and would like to put a shortcode snippet from jigoshop in the header. I am not so good at the hook thing. But if someone could point me in the right direction. This is the code [jigoshop-mini-cart] And I would like it to be visible on all pages.

Share this post


Link to post
Share on other sites

9 answers to this question

  • 0

Posted · Report post

You can add a sidebar to the header in Drag & Drop, then, using a text widget in that sidebar, apply your shortcode... However, it will not be aligned with the branding or menus. It will be on its own with lots of padding.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi, this topic should be in framework not platform pro. Should I make a new thread? Question is, I would like som help adding a hook in the header to put a cart-shortcode. Could this be done?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi Peter, I've moved the topic for you. What is this cart code, where is it coming from ?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

HI Danny! It is a Jigoshop cart code, a widget i have bought. [jigoshop-mini-cart]. I can probably find a way, and leran how. But there are so many things I want to learn and there??s just not enough time at this point.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi Peter, I don't think you can add shortcode to a hook, if you wish to use the shortcode you will need to use the Universal Sidebar.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Ok Thanks absolutely perfekt! One more thing though Could I move the widget to the far right?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

@Danny, no ?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Hi Peter, Yes you can, you need to apply CSS to the Universal sidebar. Something like: position:absolute; right:0 It's difficult to assist you without a link to the site.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

http://syrfare.com/

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0