WordPress wp-load.php
Questions: I’m trying to reverse-engineer a plugin : http://wordpress.org/extend/plugins/wordpress-social-login/ In a part of it, there’s this line: (I’m having a hard time understan...
Questions: I’m trying to reverse-engineer a plugin : http://wordpress.org/extend/plugins/wordpress-social-login/ In a part of it, there’s this line: (I’m having a hard time understan...
Questions: I’m writing a plugin which creates a custom post_type. I’d also like the plugin to create a custom role which can only add/edit/delete the new post_type. I’ve tried severa...
Questions: Is it possible to use jQuery to read meta tags. If so do you know what the basic structure of the code will be, or have links to any tutorials. Answers: Just use something like: var author ...
Questions: What’s the best way to store a key=>value array in javascript, and how can that be looped through? The key of each element should be a tag, such as {id} or just id and the value sh...
Questions: Can I install a NPM package from a javascript file running in Node.js? For example, I’d like to have a script, let’s call it “script.js” that somehow (…using N...
Questions: Our angular app sometime does not load on chrome canary (Version 41.0.2237.0 canary (64-bit)) saying Failed to instantiate module ngHintModules due to: RangeError: Maximum call stack size e...
Questions: I’m getting the following error when I try to run “mongod” in the terminal. I’ve tried uninstalling, reinstalling, and restarting the machine. Any suggestions on how...
Questions: I have a page with a lot of textboxes. When someone clicks a link, i want a word or two to be inserted where the cursor is, or appended to the textbox which has the focus. For example, if t...
Questions: Updating the model property has no effect on the view when updating the model in event callback, any ideas to fix this? This is my service: angular.service('Channel', function() { var chann...
Questions: how can i set a callback for the error handling if mongoose isn’t able to connect to my DB? i know of connection.on('open', function () { ... }); but is there something like connectio...