5

If each plugin/theme functions on its own, then you should probably drop the the library in every theme/plugin. Then just check to see if it a class or function from the third-party library exists before requiring it. <?php if( class_exists( 'SomeClass' ) ) { // require/include here } or <?php if( function_exists( 'some_function' ) ) { // ...


4

Clients typically use XML-RPC Support. If you take a look at your page source you will likely see endpoint declaration: <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://example.com/xmlrpc.php?rsd" /> <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://example.com/wp-includes/wlwmanifest.xml" /> Apps ...


4

WordPress is a set of PHP scripts running on a web server. So your application needs a web server, a data base and PHP. I don’t think this is possible on all of those platforms.


3

As this is a matter of Aperture/Lightroom plugins, maybe this Question could be posed in other sites of the Stack: Photography Ask Different The Aperture side seems to have less options: the only plugin I've found seems outdated, Pixelpipe an Applescript that may be of use if tweaked. This Mac blogging app, Marsedit, may be a solution. Much probably, ...


3

Bind all depended code to an action in the library plugin. Sample code for the library plugin: add_action( 'plugins_loaded', 'load_library', 0 ); function load_library() { # load all the classes and files you need # Set up $plugin_url and $plugin_directory do_action( 'library_loaded', $plugin_url, $plugin_directory ); } In your depended code ...


2

To build it you can use hookpress or the json api. You would need to built a stand alone app and then query wordpress for the info you want, using the above two plugins makes that a lot easier, in effect you turning wordpress into an API. An update to this post since I comes up via the googles: Java for WordPress xmlrpc. http://code.google.com/p/wordpress-...


2

Yes as long as you don't violate the original license, all plugins on .org are GPL or GPL compatible, so your fork must be too. Keep in mind though that for legal matters, you should consult professional legal advice rather than stack exchange For reference: Plugins must be compatible with the GNU General Public License v2 or later. If a license is ...


2

Yes, of course you can make any type of web app. Use Page Templates for different pages, Custom Post Types for different data handlers, Taxonomies for categorizing those data, and Plugins for advanced functionality. WP Codex is best way to dive into WordPress.


1

I‘m not a lawyer but a plugin developer. As far as I know you ca republish any GPL code. The only thing you should do first is try to reach the author in the forum have a look at the plugin files, maybe there’s an email address where you can try to reach out to the author If both doesn’t work just fork it. This is the recommended process to take over a ...


1

I'm the developer of Easy Digital Downloads. It's definitely possible, though if you're just looking for download tracking with out any ecommerce transactions, I'd suggest you use the Download Monitor plugin from Mike Jolley.


1

Best way to fix this(the quickest,most secure and simple), unless you are ready to remove inline scripts, is adding "sha" to your CSP. e.g. "script-src 'sha-r13fhahtt90sjkklieoxebnm/0900pqroo'" Check from your browser console what is the "sha" that has to be added.


1

You have to include libraries CSS and JavaScript files to your theme (preferably in your Child Theme to keep customizations separate from the parent theme’s files). In order to do that you enqueue scripts and styles in the themes functions.php file. From the Including CSS & JavaScript Theme Handbook: Enqueue the script or style using wp_enqueue_script(...


1

You should create a user data version index variable, every time it changes increment. This should help keeping track of which the most current version of the data set is. You can use the value of that index to determine, if an update should happen or not. (Answer from comment)


1

Pretty much wp-load.php is the only way to go. I don't think there is really another way to load the WordPress functions safely... You can account for path variations by recursively including it from any file where you need it though... eg. function file_find_require($file,$folder=null) { if ($folder === null) {$folder = dirname(__FILE__);} $path ...


1

Do not rely on the codex. Some pages are just a heap of crap and totally useless. The problem with the codex is that everybody with an account on wordpress.org can change and alter the codex as they see fit. I don't say, Do not use the codex, I'm saying that you need to be cautious. You need to read the codex in conjuction with the actual source code. ...


1

No, it's not required. WordPress support this kind of remote publishing through the XML-RPC interface of your blog: XML-RPC calls APP ------------------> Your Blog (example.com/xmlrpc.php) The app isn't accessing your blog through the usual wp-login.php door, instead it's talking to your xmlprc.php file in the language of XML. The ...


1

Its not good way to edit .htaccess for wordpress url rewriting (only for main urls settings from admin panel) You found your response here : API basic url rewriting or The Rewrite API: Post Types & Taxonomies An example : add_action( 'init', 'rewrite_rule' ); function rewrite_rule() { global $wp,$wp_rewrite; // Remember to flush the rules once ...


1

XML-RPC is what you need. Enable it on your site and use WordPress XML-RPC API to get information which you need. Related thread on stackoverflow: Android XML-RPC library?


1

Adding to answer by chrisguitarguy, if your libraries are in the form of PHP classes, then you can utilise spl_autoload_register() to load those classes if they haven't already been loaded by another plugin. You can then bundle the libraries into your plugin and just use them, relying on the class loader to include them when appropriate. You can also use the ...


1

If you just add a player to the blog maybe in custom temple(page) you can just use an ajax comments plugin and have the DJ have the comments stream open think about using http://disqus.com/


Only top voted, non community-wiki answers of a minimum length are eligible