custom code

You are here: Home » custom code

Coding with JavaScript

By |2019-02-08T19:23:40-04:00April 1st, 2018|Categories: Computer Programming Languages, JavaScript|Tags: , , , , , , , |

Coding with JavaScript: Hyperlinks are an important first step in creating a web page that responds to the user. But if we want to code a page that is really interactive and changes according to what the user does, we need to use a new programming language called JavaScript with our HTML. JavaScript is the [...]

How to Update: Automatically create media_buttons for shortcode selection

By |2019-02-08T19:25:13-04:00March 20th, 2018|Categories: CMS, WordPress|Tags: , , , , |

How to Update: Automatically create media_buttons for shortcode selection : Adding this snippet to the functions.php of your WordPress theme will add a select menu with an automatically generated list of your shortcode (s). 1.) You don’t need to add shortcode, the snippet will generate the list for you. 2.) You will notice the comment “enter [...]

How to Add a percent surcharge to your cart / checkout with WooCommerce

By |2019-02-08T19:25:22-04:00March 20th, 2018|Categories: CMS, Plugins, WooCommerce, WordPress|Tags: , , , , , |

How to Add a percent surcharge to your cart / checkout with WooCommerce: If you are a WooCommerce user this great snippet will add a 1% surcharge to your cart on checkout. You can easily change the $percentage variable to adjust the surcharge percent and you are good to go. […]

Protect Your Site from Malicious Requests

By |2019-02-08T19:25:48-04:00March 19th, 2018|Categories: CMS, WordPress|Tags: , , , , , , |

Protect Your Site from Malicious Requests : There are various ways to secure your website. You can install a security plugin, turn on a firewall or opt for a free feature such as Jetpack Protect that blocks brute force attacks on your website. The following code snippet, once placed in your functions.php file, rejects all malicious URL [...]