juxprose2
Forum Replies Created
-
Thanks Illid, that would do the job, but of course I’d loose the edit on every plugin update.
Forum: Plugins
In reply to: [WooCommerce] WoCommerce – fixed price for all products + no editing in adminThank you. This works perfectly with
woocommerce_product_get_priceinstead ofwoocommerce_get_pricefunction fixed_price_for_all( $price, $product ) { $price = 20; return $price; } add_filter( 'woocommerce_product_get_price', 'fixed_price_for_all', 10, 2);Thanks very much for all your help.
Forum: Plugins
In reply to: [WooCommerce] WoCommerce – fixed price for all products + no editing in adminYes that’s correct, every single product has the exact same price, no exceptions.
Forum: Plugins
In reply to: [WooCommerce] WoCommerce – fixed price for all products + no editing in adminThank you. This would hide it yes, which is good, but I still need the price for every product to be a predetermined amount.
Forum: Plugins
In reply to: [WooCommerce] WoCommerce – fixed price for all products + no editing in adminThanks.
Yes that’s what I mean by admin users. I am using the WooCommerce Product Vendors plugin, which allows users to sign up to the site and add products. I don’t want them to be able to change the price of a product.
So they do need to control products, just not prices 🙂
Any update on this please? Thanks
Forum: Plugins
In reply to: [Ajax Upload for Gravity Forms] “Download file(s) / ZIP” link in admin brokenAny update on this please? Thanks
Forum: Plugins
In reply to: [Ajax Upload for Gravity Forms] Save & Continue / File Upload – duplicationThanks for the update, this has fixed both issues for me.
Forum: Plugins
In reply to: [Ajax Upload for Gravity Forms] Save & Continue / File Upload – duplicationThanks.
This behaviour also happens with this user flow:
1. Upload file, but leave another required field blank.
2. GF triggers error messages
3. The uploaded file is duplicatedThank you
Forum: Fixing WordPress
In reply to: add_image_size hard crop position not workingSame problem, crop position doesn’t work. Always crops to center.
Having the same issue.
Is modifying the core giles the only way to increase max files? Really don’t want to do that.
Thanks
Forum: Fixing WordPress
In reply to: Alternative class to <li> using wp_list_categories() / 2 columnsThat’s great – thanks very much!
I also found a jQuery solution:
$(document).ready(function() { $('ul li:odd').addClass('odd'); $('ul li:even').addClass('even'); });Many thanks
Forum: Fixing WordPress
In reply to: Alternative class to <li> using wp_list_categories() / 2 columnsQuick bump on this – any thoughts?
Forum: Fixing WordPress
In reply to: Archive page view – filtered by Category and TagThanks. I can use that to modify the loop on my archive page by specifying the Category and the Tag via query_posts, yep.
but, I should explain a bit more about what I am trying to do:
On a page with a custom loop I am listing the latest 3 posts from the “News” category that have been tagged as “Blog”. Also on that page I have a list of all the “News” posts that have been tagged as “Photo”. So two lists, spitting out recent “News” items, and splitting them between “Blog” and “Photo”.
On that page I would like a link that will take the user to a page that displays ALL “News” posts that have a tag of “Blog”. not just the top 3.
So I think I need to do the filtering in the URL, rather than by using query_posts on the actual page itself, is this the best way to do it?
Thanks a lot
Forum: Fixing WordPress
In reply to: How do I store category post count in a variable?Maybe combining with this to get the category ID
// get the first category id function get_first_category_ID() { $category = get_the_category(); return $category[0]->cat_ID; }