sparkweb
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Field Bulk Editor] Radio and checkboxwell if you want to change value1 to value2, just put that whole string in there. Just be aware the s:6 is the number of characters expected. So if you are changing to value11 the s:6 has to change to s:7 also.
Or just use this tool: http://blog.tanist.co.uk/files/unserialize/
Forum: Plugins
In reply to: [Custom Field Bulk Editor] Radio and checkboxCan you look in the database in the wp_post_meta table and tell me what these fields look like? Is the name cuztom and the value serialized? If so, it might just be a case of needing to pass in pre-serialized content.
Forum: Plugins
In reply to: [FoxyShop] Comments cannot be enabled on product pagesHi @wpsuperflex,
Glad to hear you are loving the plugin. Very cool! Actually, adding comments is possible but it just takes adding this to your wp-config.php file:
define('FOXYSHOP_PRODUCT_COMMENTS',1);See http://www.foxy-shop.com/documentation/advanced-settings/ for details. A note about this: you’ll need to add comment support tags to your single product template as well.
Hope that helps,
Forum: Plugins
In reply to: [Hide YouTube Related Videos] Can't get this to workIn the past when it hasn’t worked, I’ve found that it’s because of another plugin basically taking over the oEmbed process so it never gets to work. The first way to test this would be to disable all plugins except for this one and see if it works. Then start reenabling them until it doesn’t work any more to see which one is causing the problem. Some themes might be grabby with the oEmbed as well.
Forum: Plugins
In reply to: [Hide YouTube Related Videos] How can I add more parameters?I really screwed up that code. It’s add_filter(), not add_filters().
🙂 Try that…..
Forum: Plugins
In reply to: [Custom Field Bulk Editor] Will this work for Woocommerce products?It should work. You just need to figure out how WooCommerce is saving this data (what the custom field is called) and then target that custom field with the updated data. You might look in the database or through the WooCommerce core code.
Although this might be better to just override it this way: http://wordpress.stackexchange.com/questions/119087/woocommerce-change-default-setting-is-sold-individualy-function
Forum: Plugins
In reply to: [FoxyShop] Cannot use object of type WP_Error as array in adminfunctions.phpHi, I think I’d probably check with the spatialtree plugin folks about this. They may be able to help.
Forum: Reviews
In reply to: [Hide YouTube Related Videos] Not Sure@zpro, would you mind helping me troubleshoot? When I ran into a problem before it was another plugin (Jetpack) that was taking over the oembed process. Would you mind sharing your list of installed plugins with me? I’d definitely like to fix this for you. Feel free to email me web -at- sparkweb [dot] net if you want to take the conversation off of this thread.
Thanks,
DavidForum: Plugins
In reply to: [Hide YouTube Related Videos] Title of Youtube VideoYou might try some of these querystring changes: http://wordpress.org/support/topic/how-can-i-add-more-parameters?replies=2
Forum: Plugins
In reply to: [Hide YouTube Related Videos] How can I add more parameters?Put this in your theme’s functions.php file:
add_filters("hyrv_extra_querystring_parameters", "my_hyrv_extra_querystring_parameters"); function my_hyrv_extra_querystring_parameters($source) { return $source . "autoplay=1&wmode=opaque&showinfo=0&modestbranding=0&"; }Forum: Reviews
In reply to: [Custom Field Bulk Editor] Thank youNoted. Setting up sub-pages, though, bring up a lot of technical challenges regarding paging and sorting. It can also create a longer page load as it requires more db queries.
I’ll consider it, but I’m not promising anything. Thanks! 🙂
Forum: Plugins
In reply to: [Custom Field Bulk Editor] Does this work with hidden fields?It should work with hidden fields – I can’t imagine why it wouldn’t. You’d just enter the name like “_hidden_field” and the new value. It should work fine. Let me know if you have any trouble with it.
Forum: Plugins
In reply to: [FoxyShop] Remove Variation Price Select MenuIf you just want to remove the whole thing – you want to just return nothing:
return ""I think you may have copied the pastebin and not the function I gave you above. Is that right?
Just returning “” will remove the extra price.
Forum: Plugins
In reply to: [Custom Field Bulk Editor] Feature request to add filter by dateYou could try something like
if (get_post_type($post_id) == "post") { ... }Forum: Plugins
In reply to: [FoxyShop] Remove Variation Price Select MenuHere’s the filter reference with some sample code: http://pastebin.com/qRzJxYbM
If you just do this for the return function that should remove to the whole thing:
function my_foxyshop_variation_price_change($input) { return ""; }