dustjackettech
Forum Replies Created
-
Forum: Plugins
In reply to: [Contempo Real Estate Custom Posts] Contempo Real Estate Custom Posts CrashedNot to mention the Featured flag on properties has disappeared with the new update.
Forum: Plugins
In reply to: [Contempo Real Estate Custom Posts] Contempo Real Estate Custom Posts CrashedEspecially since WP will forever prompt up to update the plugin. Over. And Over. And Over. I just spent the last 2 hours trying to figure out what happened to my listings.
Forum: Plugins
In reply to: [Contempo Real Estate Custom Posts] Contempo Real Estate Custom Posts CrashedJust a thought… maybe you should fix this Chris. As in separate the different REs out so we’re not left hanging and having to buy (again) an updated RE?
Forum: Plugins
In reply to: [WooCommerce Cart Tab] Hide Tab Cart when cart is emptyIvanderb,
Go to WooCommerce–>Settings–>Products.
The Cart settings are near the bottom. No hard coding required. ??Forum: Plugins
In reply to: [WooCommerce] WooCommerce CCAvenue gateway Not workingThe interim solution can be found here.
The problem is with below deprecated option in WooCommerce version 2.1:
get_permalink(get_option(‘woocommerce_thanks_page_id’))
Above needs to be replaced with the following, where $this is an instance of WC_Order class:
$this->get_return_url($this->order)
wolnik, I wish I could like your post 100 times.
Forum: Plugins
In reply to: [The Events Calendar] Latest Update Breaks Static Front PageIndeed.
Forum: Plugins
In reply to: [The Events Calendar] Latest Update Breaks Static Front PageHiya Barry…
FYSA, still an issue (just used Kelly’s code on another less-used site.)
R,
PhilForum: Plugins
In reply to: [The Events Calendar] Latest Update Breaks Static Front PageFreaking Awesome. I’d been banging my head on the keyboard for a solid hour before I found this. BTW, works just fine if you have a Child Theme. Dropped it in at the end of the functions.php and cleared up faster than last week’s rash.
Thanks!
Forum: Plugins
In reply to: [WooCommerce Cart Tab] Hide Tab Cart when cart is emptyThe updated Plugin now handles this feature without editing the file. You can select “Hide the cart tab if the cart is empty” under WooCommerce Settings at the bottom of the Catalog tab.
Forum: Plugins
In reply to: [WooCommerce Cart Tab] Hide Tab Cart when cart is emptyThis got posted today @ https://www.ads-software.com/support/topic/make-it-hide-with-0?
Add:
if ( sizeof( $woocommerce->cart->cart_contents ) == 0 ) {
// The cart is empty
} else {before:
if ( ! is_cart() && ! is_checkout() ) {
and add an extra
}
after
echo ‘</div>’;
The whole thing should look like this:
// Display the cart tab and widget
function woocommerce_cart_tab() {
global $woocommerce;
$skin = get_option( ‘wc_ct_skin’ );
$position = get_option( ‘wc_ct_horizontal_position’ );
$widget = get_option( ‘wc_ct_cart_widget’ );
if ( sizeof( $woocommerce->cart->cart_contents ) == 0 ) {
// The cart is empty
} else {
if ( ! is_cart() && ! is_checkout() ) {
if ( $widget == ‘yes’ ) {
echo ‘<div class=”‘ . $position . ‘ cart-tab ‘ . $skin . ‘”>’;
} else {
echo ‘<div class=”‘ . $position . ‘ cart-tab no-animation ‘ . $skin . ‘”>’;
}
wcct_cart_button();
// Display the widget if specified
if ( $widget == ‘yes’ ) {
// Check for WooCommerce 2.0 and display the cart widget
if ( version_compare( WOOCOMMERCE_VERSION, “2.0.0” ) >= 0 ) {
the_widget( ‘WC_Widget_Cart’, ‘title=’ );
} else {
the_widget( ‘WooCommerce_Widget_Cart’, ‘title=’ );
}
}
echo ‘</div>’;
}}
}
}Forum: Plugins
In reply to: [WooCommerce Cart Tab] Make it hide with $0Good God I’m an idiot… This whole time I kept forgetting to add the } else { statement!
Arrrggg!!!
Thanks azhkuro! Kudos to you!!
Found an additional potential solution… check functions.php… if it doesn’t look like this:
add_theme_support( ‘post-thumbnails’, array( ‘post’, ‘page’, ‘movie’, ‘product’ ) );
…add what you need.
Forum: Fixing WordPress
In reply to: featured image troubleFound an additional potential solution… check functions.php… if it doesn’t look like this:
add_theme_support( ‘post-thumbnails’, array( ‘post’, ‘page’, ‘movie’, ‘product’ ) );
…add what you need.