Esteban
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Documenter] Can't get to parse shortcodesShortcodes works now.
Thansk!
Forum: Plugins
In reply to: [WP Documenter] Two missing javascript filesYes, i did that to stop the problems ??
Forum: Plugins
In reply to: [Download Zip Attachments] Doesn't work on 3.9.1For me, the same happened.
With the default, i was just receiving an empty array (ans the post has attachments, a gallery).
Also,
The plugin defines a javascript funcion:
function download_zip_attachments_()That uses jQuery to perform the ajax request, but is pointing to /wp-admin/admin-ajax.php
Assumes that we have our blog at the document_rootIt needs to use just
ajaxurl
as url for the ajax request. That js var point to the right admin-ajax.php file into wp-admin.
Forum: Plugins
In reply to: [OptionTree] Compatibility with WordPress 3.9https://www.ads-software.com/support/topic/read-before-posting?replies=1
I think its better if you raise an issue at github about this:
https://github.com/valendesigns/option-tree/issues?state=openI mean: downgrade to 2.1.17 (lastest 2.x version)
Same problem here, with 3.0.6
Several websites.
Largest db backup is just 2.5 MB.Meanwhile just downgrade to 2.1.9. It works.
Forum: Plugins
In reply to: [OptionTree] [Plugin: OptionTree] Unserialize Meta Box DataWorks.
But i think you can just call something like this:
$background = get_post_meta($post->ID, 'background', true);
Using get_post_meta insted of get_post_custom.
Being “background” the ID you put into you metaboxex.php for that particular option.
And you will have the same data.
Can be unserialized if you want too, or treated like whatever you want.Forum: Plugins
In reply to: [OptionTree] [Plugin: OptionTree] Option tree limitBecause of this:
https://thenextweb.com/google/2012/08/28/did-google-just-quietly-kill-private-weather-api/Don’t expect it ever works again. At least not using the same API. No more.
Forum: Hacks
In reply to: 'Get the category' not working for custom post type.Well, they say get_the_category it’s just for the standard category.
The Codex warns about:This function only returns results from the default “category” taxonomy. For custom taxonomies use get_the_terms.
Anyways, i fix it by using this new function (put it in your theme’s functions.php):
function get_the_category_bytax( $id = false, $tcat = 'category' ) { $categories = get_the_terms( $id, $tcat ); if ( ! $categories ) $categories = array(); $categories = array_values( $categories ); foreach ( array_keys( $categories ) as $key ) { _make_cat_compat( $categories[$key] ); } // Filter name is plural because we return alot of categories (possibly more than #13237) not just one return apply_filters( 'get_the_categories', $categories ); }
Then call it exactly like get_the_category but passing a second argument: the taxonomy/category you define for you new custom post type.
So, to get all the category/custom-category info…
Instead of: $cat = get_the_category($post->ID);
Use: $cat = get_the_category_bytax($post->ID, ‘taxo’);
Where “taxo” it’s the custom taxonomy defined for your custom post type.That second parameter, if it’s added to default get_the_category, is the thing they can put easly in the current function, and still it will work as default for everyone if you don’t pass the second param (just let “category” as default).
Hope they reconsider.
Forum: Hacks
In reply to: 'Get the category' not working for custom post type.duplicated (nginx server error :/ )
Forum: Hacks
In reply to: 'Get the category' not working for custom post type.Dave J, i was having (i think) the same problem.
Read this, please:
https://core.trac.www.ads-software.com/ticket/21378Forum: Plugins
In reply to: [WP-Polls] Problem with wp-polls.php, error 500I was using 2.63… and still it was calling wp-polls.php instead admin-ajax.php.
And yes, i read those links before. Thanks.
None of those three problems was afecting us. Our plugin still was calling wp-polls.php. No “-1″ or “Failed To Verify Referrer”, no Password Protected /wp-admin/ and no HTTPS/HTTP also.
Odd.
Thanks for clarifying out.
You should be a little more specific. In your FAQ, “Yes, for some stats and for the cron service” should look more like “Yes, but only if you enable our cron service” (if it’s that true and no stats are gathered even if your cron service is disabled).
And (ideally) make the “Http basic authentication” options conditional to only appear when user enable “Use cron service of backwpup.com” option too, when i asume that user/pass data it’s used (and i understand you need that data to call the wp-cron.php externally; totally understandable).
Again, thanks for clarifying this thing out ??
Great plugin, seriously. It’s excelent.
Awesome job ??I will like to know the same about that callhome and the user/pass… why?