WordPress REST API & Adding Custom Endpoints with Alpine JS

With WordPress REST, we can create custom endpoints with any query and information we want. This helps organize that data for filtering or easier HTML development. We pass parameters on the query string and get different JSON results using those parameters. Through Alpine JS we can use the JSON result from the REST API to …

InstantSearch – Ecommerce Search

InstantSearch is an app that can be used as an add-on for services such as Shopify, WooCommerce and more. We put together an introductory ”How to” guide for new clients that may begin using the app, and for us to refer back to. Features include: search results pages analytics synonyms merchandising and more.  

HubSpot to Gravity Form Integration

1) Add HubSpot Add-On to WordPress In Word Press select “Forms” “Add-On” and install the HubSpot add-on. ​ Once, the HubSpot add-on is added to Word Press, it will show on the DashBoard. Select “HubSpot”> “Forms”>”Create New” to create a new HubSpot form.  2) Create HubSpot Form Give it a title that will be recognizable Insert the …

How To Fix Defer Parsing of Javascript Warning in WordPress Using Async

You can do defer JS in WordPress and that is by editing your theme’s functions.php file. Simply copy the code below and paste it at the bottom of your theme’s function.php file: function defer_parsing_of_js ( $url ) {   if ( FALSE === strpos( $url, ‘.js’ ) ) return $url;   if ( strpos( $url, …

Fixing brute force login attempts in wordpress websites

Brute force attack on wordpress website comes from 2 ways. 1) Through “xmlrpc.php” Solution -> Add a plugin (https://wordpress.org/plugins/disable-xml-rpc/) for disabling it. Don’t do this manually by custom code because we don’t want it to be disabled completely. It is used with some plugins such as “Jetpack”. Source of solution -> https://www.hostinger.in/tutorials/xmlrpc-wordpress 2) Through “wp-login.php” …