Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • The sticky post at the top of the forum states that this forum is not actively monitored. Perhaps contact them through their own support pages.

    No pages support here either. Error received is as follows :

    social_controller=auth&social_action=authorized&salt=6a29b317c6142976581d8a306259309f&is_admin=true&user_id=1&use_pages=true failed: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

    You are welcome!

    It does need a tweak to not overwrite the title and description of the home page. The code below takes care of it :

    add_filter('wpseo_metadesc','my_custom_description');
    function my_custom_description($description) {
    	if( tribe_is_month() && !is_tax() ) { // The Main Calendar Page
    		return '**PUT MAIN CALENDAR PAGE META DESCRIPTION HERE**';
    	} elseif( tribe_is_month() && is_tax() ) { // Calendar Category Pages
    		return single_term_title('', false) . '**PUT CALENDAR CATEGORY PAGE META DESCRIPTION HERE**';
    	} elseif( tribe_is_event() && !tribe_is_day() && !is_single() && !is_home() ) { // The Main Events List
    		return '**PUT EVENTS LIST PAGE META DESCRIPTION HERE**';
    	} elseif( tribe_is_day() ) { // Single Event Days
    		return 'Events on: ' . date('F j, Y', strtotime($wp_query->query_vars['eventDate'])) . ' **PUT SINGLE EVENT DAY META DESCRIPTION HERE**';
    	} elseif( tribe_is_venue() ) { // Single Venues
    		return '**PUT VENUE PAGE META DESCRIPTION HERE**';
    	} else {
    		return $description;
    	}
    }

    Have not tested this, as I haven’t installed 2.1 yet, but I would guess that you could deactivate and delete 2.1, and install 2.0.20 which can be found here :

    http://downloads.wordpress.org/plugin/woocommerce.2.0.20.zip

    You could then restore a backup of your database from before the 2.1 install. You did back up your database before install, right?

    If you have success, let us know.

    In the related.php file you mentioned, at the end of the apply filters code, paste this :
    ‘post__not_in’ => array($product->id),
    ‘tax_query’ => array(array(
    ‘taxonomy’ => ‘product_cat’,
    ‘field’ => ‘slug’,
    ‘terms’ => array( ‘sold’ ), // Don’t display products in the sold category in related products
    ‘operator’ => ‘NOT IN’))

    I left the ‘post_not_in’ line in there so you could see where the ‘tax_queryโ€™ portion needs to be added.
    You will need to change the ‘sold’ text to whatever the slug is for the category you want to exclude. Enclose the slugs in single quotes (‘), separate multiple categories by commas eg. ‘mycategory1′,’mycategory2′,’mycategory3’

    One side effect I have found with this code is that it will break the loop when it hits an excluded category, so if you normally display 4 related products, it may only display 1, or 2, or maybe even none…or it may display all 4. Refreshing the page will change the related products and generate a new loop, thus the number of relateds displayed. Not a particularly nice side effect, but better than displaying related products that aren’t in stock ๐Ÿ˜‰

    Forum: Plugins
    In reply to: [Social] Duplicating posts?
    mredinius

    (@mredinius)

    Wow. OK. Here’s a suggestion :

    Check to see if your Twitter account is auto-posting to your Facebook account or vice-versa. Maybe they are cross-posting to each other after a broadcast…

    That wouldn’t seem to make it happen randomly, but it’s worth checking so more
    DATA can be collected. More data = a good thing.

    If this one disappears, then I’ll know it’s just personal…..

    mredinius

    (@mredinius)

    +1 (heh)

    Forum: Plugins
    In reply to: [Social] Duplicating posts?
    mredinius

    (@mredinius)

    I have had this happen too. Seems to be rather random. I know, not much help, just chiming in to say “me too” ๐Ÿ˜‰

Viewing 9 replies - 1 through 9 (of 9 total)