Jump to content
Sign in to follow this  
pehja

Shortcode in the header

Recommended Posts

pehja+    12
pehja

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.


Professionell musician | Webbdesigner | Apple freak

Pehja Production.png

Share this post


Link to post
Share on other sites
Rob    547
Rob
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.

Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites
pehja+    12
pehja
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?

Professionell musician | Webbdesigner | Apple freak

Pehja Production.png

Share this post


Link to post
Share on other sites
Danny    1,327
Danny
Hi Peter, I've moved the topic for you. What is this cart code, where is it coming from ?

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
pehja+    12
pehja
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.

Professionell musician | Webbdesigner | Apple freak

Pehja Production.png

Share this post


Link to post
Share on other sites
Danny    1,327
Danny
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.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
pehja+    12
pehja
Ok Thanks absolutely perfekt! One more thing though Could I move the widget to the far right?

Professionell musician | Webbdesigner | Apple freak

Pehja Production.png

Share this post


Link to post
Share on other sites
pehja+    12
pehja
@Danny, no ?

Professionell musician | Webbdesigner | Apple freak

Pehja Production.png

Share this post


Link to post
Share on other sites
Danny    1,327
Danny
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.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
pehja+    12
pehja
http://syrfare.com/

Professionell musician | Webbdesigner | Apple freak

Pehja Production.png

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  

×