MikeBrits
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Revolution Slider – different slide/slider for different pageshey itsangela,
I’m no expert but I was working on this now and have a simple solution I think:
1. Make sure you have created your slider and it has a name like ‘about’
2. Create a custom field on the page you are hoping to use (in this case the ‘About’) and name it something like rev. All the pages you wish to have a custom slider should have this field filled out.
3. In the php template where you want to place the slider it will look something like this:<span class="page_specific_slider"> <?php putRevSlider(get_post_meta(get_the_ID(), "rev", true)); ?> </span>Where “rev” is whatever you have labeled the custom field. You should probably add some checks to make sure that the field has been set and some fallbacks if it has not.
Hope that helps!
Forum: Plugins
In reply to: [Plugin: Revolution Slider]Anyone got a solution to this? After deactivating all plugins, uninstalling and reinstalling de/reactivating I cannot access the admin page of Revolution Slider, it just comes up blank.
Forum: Plugins
In reply to: [WooCommerce] [Plugin: WooCommerce – excelling eCommerce] Delete "From" priceOk, So this has been bugging me for quite some time because even though the solutions above do work, they didn’t do exactly what I needed, maybe this solution will help you.
Basically, I had 2 types of variable products in the store: One where the weight (and therefore price) changed, and the other where only the flavour changed (and therefore not the price). The problem with setting the From price to display: none is that on the fixed price (but variable flavour) the price would disappear too. So I needed some way to remove the price only if it said From before it. For me, the easiest solution was jQuery:$from = $('.summary').find('.from'); $from.css("display","none"); $from.next().css("display","none");If you have a valid js using jquery file, placing the above code in it removes the from text and the from price only if it is on a page where the from text would be visible. The reason I use the $(‘.summary’) is to ensure it removes it only from within the single product description :
Hope this helps somebody!