![]() |
|
Home | Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]() Hello,
I have a text widget from wordpress on my sidebar... I have Widget Context plugin installed but how can I only show the text widget on my store homepage and not on the other pages? |
#2
|
||||
|
||||
![]() Set the widget to only appear on store.
![]()
__________________
![]() ![]() ![]() ![]() |
#3
|
|||
|
|||
![]() store ID: 40300
Website URL: http://www.paardensport-shop.nl/wordpress Hi Eric, I would like to have a static page for my homepage which is full width but when I change this, the whole store is full width. If it is not possible to have a full width frontpage and a sidebar in the store can I at least have a frontpage with no widgets in the sidebar. I have installed Widget Context and tried a lot and also the Show on selected: store. Whatever I try, it will show the sidebar and widgets on all pages or just none of them. I also tried Dynamic widgets but this gives the same result. |
#4
|
||||
|
||||
![]() Hi,
Those plugins aren't going to help you. You want to change the template based on the store page not change the widgets that display on a particular page. You'll need to edit your Wordpress Page template (this varies from theme to theme) and add a PHP if() conditional that sets whether to show the sidebar or not. HTML Code:
<?php if(!is_dfr('home')) : ?> <!-- This is not the store's front page so, put the sidebar code here --> <?php endif; ?> Code:
is_dfr() - Returns true if we're on a datafeedr page is_dfr('home') - Returns true if we're on the home page is_dfr('category') - Returns true if we're on a category page is_dfr('product') - Returns true if we're on a product details page Eric
__________________
![]() ![]() ![]() ![]() |
#5
|
|||
|
|||
![]() Hi Eric,
Thank you for your reply. This doesn't work so now I know this might not be possible with this theme. I have to go on with the sidebar on the frontpage..... |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Remove text from frontpage | gubbar | Questions | 2 | September 19th, 2012 03:34 PM |
Having Store on Frontpage, More Beneficial? | NuWaveFitness | Questions | 3 | March 17th, 2012 04:17 PM |
Widget on frontpage | climberism | Questions | 1 | November 30th, 2011 08:07 PM |
Can I use shortcodes in a text widget? | DogWalkingGear | Questions | 3 | September 16th, 2011 08:05 AM |
Store Frontpage Showing Blank | Rico888 | Problems | 4 | February 8th, 2011 03:58 PM |