nsp-code
Forum Replies Created
-
Forum: Plugins
In reply to: [Post Types Order] Conflict with MarketPress Product sortI see what you mean, enable / disable certain post types for re-order feature will be implemented in the next version or so.
Forum: Plugins
In reply to: [Post Types Order] How to remove settings once plugin deletedHi
Please get in touch with us at http://www.nsp-code.com/ and can check it for you before you place the purchase. Or we can return your money back in case there is a problem and we can’t help.
ThanksForum: Plugins
In reply to: [Post Types Order] Advance Post Re-order not workingHi
Please remember to always get in touch through contact at http://www.nsp-code.com/ for a fast response
Can you check if you use the latest version of Advanced Post Types Order plugin which currently is 2.5.7.7Forum: Plugins
In reply to: [Post Types Order] Conflict with MarketPress Product sortIn fact the filter is still functional but triggered before the others. You should turn OFF the autosort feature and use the orderby => menu_order within queries where custom order is need.
Forum: Plugins
In reply to: [Post Types Order] Calendar Widget UpdateHi Joerg,
Are you sure this is related to our plugin Post Types Order?Thanks
Forum: Plugins
In reply to: [Post Types Order] PHP Strict StandardsSo you use the latest plugin version 1.6.2 ?
Forum: Plugins
In reply to: [Post Types Order] Upgrade to Advanced version?Hi,
All existing order will be preserved and used on Advanced Post Types Order plugin.Thanks
The above piece of code appear incomplete and might not be what you looking for.
Try this one instead, it will allow to output a taxonomy terms hierarchically, using a unordered list output type:taxonomy_terms_hierarhically_output(0, 'category'); function taxonomy_terms_hierarhically_output($parent_id, $taxonomy) { $args = array( 'parent' => $parent_id ); $child_terms = get_terms($taxonomy, $args); //if no child terms found return if(count($child_terms) < 1) return; ?><ul><?php foreach ($child_terms as $child_term) { ?><li><?php echo $child_term->name; //process the child terms if exists taxonomy_terms_hierarhically_output($child_term->term_id, $taxonomy); ?></li><?php } ?></ul><?php }Possible the code contain errors as i didn’t tested in actual environment, but it should get you started.
I think the best will be to get the terms for a given parent at a time. Creating a redundant function will do the trick.
The idea is that the returned data for a get_terms on a hierarchical taxonomy will not help to much if get returned in a certain way (i.e. level 0 terms first, then level 1 or level 0 term then it’s child)
Giving that the best will be to retrieve the terms of a parent ‘parent’ => term_id, and create the variable structure as need or do the output.
Hope it make sense.Forum: Plugins
In reply to: [Category Order and Taxonomy Terms Order] MultiSite CompatibilityHello
You should activate the plugin for every site and not from superadmin interface.Forum: Plugins
In reply to: [Post Types Order] Can i use your plugin in my theme embedded?UPDATE:
In case you chose to embed the free Post Types Order plugin into your theme, please provide a way (theme options will be the best) to disable the plugin, in case someone need to use another code instead or update.Forum: Plugins
In reply to: [Post Types Order] Can i use your plugin in my theme embedded?Sorry our developer license type does not allow you to resell the plugin or include it in a product which intend to be sold as is. It can be used for any projects as soon as there is a direct relation as a developer -> client.
You should copy the whole package (files and folders) otherwise the plugin will not work or function correctly
Forum: Plugins
In reply to: [Post Types Order] Can i use your plugin in my theme embedded?Hi
We discourage this practice as it will not create a benefit for the end user. As we constantly improve the plugin code by implementing new features and fix know bugs, those will not be available if the code is embed. Another drawback would be the impossibility for a user to de-activate the code and use the plugin as is or deploy our Advanced Post Types Order which require the basic Post Types Order to be de-activated.Thanks
Forum: Plugins
In reply to: [Post Types Order] Stops random image in standard theme twenty tenIt appear somehow the Order BY filter return those require / require_once which really should be there. Check your theme for such filter.