adamccc
Forum Replies Created
-
Forum: Plugins
In reply to: [User Email Verification for WooCommerce] Cart empty after login / registerHaving the same issue (although it does not empty on login)
Did you ever find a solution?
- This reply was modified 6 years ago by adamccc.
Forum: Plugins
In reply to: [IdeaPush] Conflict with Woocommerce Product SearchAfter Googling, I found I had this issue before had to comment out tagging (obviously updating wiped those changes).
https://ww.wp.xz.cn/support/topic/conflict-with-woocommerce-search/I’d appreciate/buy the pro version if this could be fixed as I’d like the ability to use tags (and not have to keep commenting out things)
Thanks
AdamForum: Plugins
In reply to: [IdeaPush] Conflict with Woocommerce SearchHere’s our page: https://wuzci.com/suggestions-for-wuzci/
Great plugin again – as a suggestion, I’d love an option to make voting anonymous. I’ve used and created previous plugins where voting was monitored by IP or a session token – if someone were to game that, then that’s completely fine by me but I’d love to get less friction from prospective customers. I’d definitely consider a pro purchase if this was a feature
Thanks
Forum: Plugins
In reply to: [IdeaPush] Conflict with Woocommerce SearchThanks for your reply – I’ve commented out these lines for now – it means no tags on ideas but everything else works.
Thanks
AdamForum: Plugins
In reply to: [IdeaPush] Conflict with Woocommerce SearchI’ve limited it down to this function that’s causing the issue:
// Now register the non-hierarchical taxonomy like tag
register_taxonomy(‘tags’,’idea’,array(
‘hierarchical’ => false,
‘labels’ => $labels,
‘show_ui’ => true,
‘show_in_menu’ => true,
‘show_in_nav_menus’ => false,
‘show_admin_column’ => true,
‘update_count_callback’ => ‘_update_post_term_count’,
‘query_var’ => true,
‘rewrite’ => array( ‘slug’ => ‘ip-tag’ ),
‘capabilities’ => array (
‘manage_terms’ => ‘read’, //by default only admin
‘edit_terms’ => ‘manage_tags’,
‘delete_terms’ => ‘manage_tags’,
‘assign_terms’ => ‘edit_tags’
),
));Forum: Plugins
In reply to: [WooCommerce] Woocommerce crazily slowThanks for the replies guys – We’re hosted on wpengine on the $99 account, which I think is shared.
@caleb
I’ve created a duplicate instance: https://skatepharmy.wpengine.com & put a base theme onDue to the sidebar not being there in this theme the slow queries are just down down to one: get_posts = 2.4s
Forum: Plugins
In reply to: [[Woocommerce]] – Displaying product variation inside loopStill looking for help with this -> http://stackoverflow.com/questions/13645085/woocommerce-displaying-variations-inside-the-loop
Forum: Fixing WordPress
In reply to: Pagination with Multiple loopsWorked perfectly! I think I owe you a beer, what’s your Paypal address?
Forum: Fixing WordPress
In reply to: Pagination with Multiple loopsOkay thanks
Forum: Fixing WordPress
In reply to: Pagination with Multiple loopsThanks for all your help by the way.
Forum: Fixing WordPress
In reply to: Pagination with Multiple loops*Realising i’m sounding like an annoying noob right now* but managed to get it to display posts from the correct category on a template page but:
-navigation to older posts doesn’t display
-doesn’t inherit the styles from content.php, content-4.php etc<?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $the_query = new WP_Query('cat=24&paged='.$paged); ?> <?php if ( have_posts() ) : ?> <?php $temp_content=''; ?> <?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?> <?php // first post $post_count = $wp_query->current_post+1; if($post_count == 1){ $content_template = get_post_format(); echo '<div id="top_story">'; } if($post_count == 2 || $post_count == 4){ $content_template = $post_count; // close the last column and start a new one echo '</div><div class="linebreak"></div>'; echo '<div class="row-fluid">'; } if($post_count == 8){ $content_template = $post_count; // close the last column and start a new one echo '</div>'; echo '<div class="row-fluid">'; } ?> <!-- normal loop stuff --> <?php get_template_part( 'content', $content_template ); ?> <?php if($post_count == $wp_query->post_count){ // close the last column on the page echo '</div><!-- closing last column-->'; } ?> <?php endwhile; ?> <?php else : ?> <h1 class="entry-title">Nothing Found</h1> <?php endif; ?> <div class="linebreak"></div> <?php twentyeleven_content_nav( 'nav-below' ); ?>Forum: Fixing WordPress
In reply to: Pagination with Multiple loopsShould of probably been a bit clearer – need to do this about 10 times on different pages, is there anyway it can be in the loop.
Although I’ve just tried using the same loop on a template page (http://www.hushtv.co.uk/tv/) and it just shows a link?
Forum: Fixing WordPress
In reply to: Pagination with Multiple loopsThe whole loop
Forum: Fixing WordPress
In reply to: Pagination with Multiple loopsBrilliant, your first example with content template works perfectly!
Thanks so much!
Quick last question, how would I filter the posts by category with this method?
Cheers
Forum: Fixing WordPress
In reply to: Pagination with Multiple loops@keesiemeijer is it possible for me to split the if($post_count == 2/4/8) out and have each if statement with a different div layout?