This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__How to add HTML, PHP and C++ plus other Plugins to Apache NetBeans 9.0 on Windows, MacOS and Linux.__ | |
### COMMANDS & LINKS: ### | |
NetBeans IDE 8.2 Plugin Centre : http://updates.netbeans.org/netbeans/updates/8.2/uc/final/distribution/catalog.xml.gz | |
NetBeans Transition from Oracle: https://cwiki.apache.org/confluence/display/NETBEANS/Apache+Transition | |
Apache Transition Documentation: https://cwiki.apache.org/confluence/display/NETBEANS/Apache+Transition |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Ensure cart contents update when products are added to the cart via AJAX (place the following in functions.php). | |
// Used in conjunction with https://gist.github.com/DanielSantoro/1d0dc206e242239624eb71b2636ab148 | |
// Compatible with WooCommerce 3.0+. Thanks to Alex for assisting with an update! | |
function woocommerce_header_add_to_cart_fragment( $fragments ) { | |
global $woocommerce; | |
ob_start(); | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var myWidgets = myWidgets || {}; | |
// Model for a single testimonial | |
myWidgets.Testimonial = Backbone.Model.extend({ | |
defaults: { 'quote': '', 'author': '' } | |
}); | |
// Single view, responsible for rendering and manipulation of each single testimonial | |
myWidgets.TestimonialView = Backbone.View.extend( { |