- This topic has 1 reply, 2 voices, and was last updated 13 years, 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › Nextgen gallery Cart function code in sidebar.php?
Hi there,
I’m currently using the eStore widget & shortcode but I wondered if I can place a function code in a custom ‘sidebar.php’ so I’ll have better control over which pages the cart displays on.
The code I currently use to show the cart on the page is this:
[nggallery id=2 template=wp-eStore-auto-addtocart]
which works well, however it shows on pages I dont want it to. I’ve tried widget logic but cant get it to work on this widget. Any thoughts appreciated…
I tried using a function code in sidebar.php and it did display the cart but not the NextGen gallery.
The shortcode you are using is a NextGen gallery plugin shortcode. So I can’t really do much from my eStore’s end. You need to find out if NextGen gallery has a PHP equivalent function for this shortcode (the one that shows the gallery using a given template file).