r1987
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] WooCommerce pages permalinks 404Mhhh…
Well, it seems that its Polylang plug-in problem, i deleted it and reinstalled it and now the permalinks work.
Sorry for wasting everyone’s time.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce pages permalinks 404Correct, manually created pages and woocommerce automatically created pages (cart, checkout ….) permalinks won’t work.
Forum: Plugins
In reply to: [WooCommerce] WooCommerce pages permalinks 404Yes, all of them. category/postname works only for posts, but I need to get the pages also working, they don’t have a “Base” slug as posts have their categories.
Wow Rachel!
What a puzzle indeed!
This is fantastic. As I already thought that may-be i should create extra cptonomies for these fields also and dump the traxonomies.Thanks a big time!
Forum: Plugins
In reply to: [Attachments] No attachments in custom post typesWell right you are Jonathan !
Thanks alot !!!
Forum: Plugins
In reply to: [eShop-invoice] Product Shipping FeeI’m not really a coder,
But looking into the template files, and phpmyadmin, then the rates are in wp_eshop_rates, but there isnt a hook in eshop_orders except the countries where it should be shipped. There’s probably somekind of a query for the shipping price in eshops checkout.php but yeah, i don’t know how to do sql queries or “speak” php.
Forum: Plugins
In reply to: [Perfect Images] WP Retina 2X Lazyload?Rated with 5 a long time ago, thanks for this!
Forum: Plugins
In reply to: [Perfect Images] WP Retina 2X Lazyload?Yes, Works!
Also works irl.
Case Closed.
Forum: Plugins
In reply to: [Perfect Images] [Plugin: WP Retina 2x] Retina imges on ipad3Sorry for the really late reply.
I checked a site now on ipad3.
All good, it works!
Thanks!
OK.
But can you say, what’s the action for adding an item? When I click on the add to cart button, it redirects me to the single page of the product.
When im at the checkout page, and i click remove, then i can see that the request for removing an item is ?remove=product_name . I tried to use ?add_item=product_name and that doesn’t add anything to the cart.
As much as i’ve been searching around the AJAX thing, then it needs an ?add_item request to add the product to the cart at the background.
Forum: Fixing WordPress
In reply to: Vimeo wp_oembed_get() problemOK.
But is this possible that my server hosting is somehow blocked or not allowing embbedings from Vimeo (only youtube)?
Because i tried the same setup in another hosting and on my locahost, even downloaded the WP on the problematic server to my computer and there it works.
Very wierd…….
Wow, really big thanks for the quick response and a working code!
Forum: Plugins
In reply to: [Plugin: CPT-onomies]Listing custom posts within the LoopYes!
They both work and they do the trick! Thanks again, Rachel!
I wanted to use the loop, because that’s the only way i know how to get that info out. Are there other ways?
Forum: Plugins
In reply to: [Plugin: CPT-onomies]Listing custom posts within the LoopBut what about this if i’d like to do a tax query from multiple post types and list them according to their taxonomy name in single-page?
This outputs all the terms associated to the single-director in one list:
<?php echo "<h3>This shows everything</h3>"; $args = array('post_type' => array( 'musicals', 'movies', 'events' ), 'tax_query' => array ( array ( 'taxonomy' => 'directors', 'field' => 'id', 'terms' => get_the_ID() ) )); $query = new WP_Query( $args ); // The Query $the_query = new WP_Query( $args ); // The Loop while ( $the_query->have_posts() ) : $the_query->the_post(); ?> <li><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></li> <?php endwhile; ?>
Is it possible to list the terms according to their post type names without having to do 3 WP_Queries?
Like so:
Musicals
…
…Movies
…
…Events
…
…Well the wp_cache_flush(); does the job ! But when I remove it, then everything goes back like I started. Is it a big problem, when I leave the function wp_cache_flush(); on top of page? Will it cause some problems in the future?