…with a single.php template file a code editor Setting Up the PluginLet's start by setting up the plugin. Create a new file for your plugin—I'm calling mine tutsplus-related-posts.php.In your new file, add the following:<?php /** * Plugin Name: Tuts+ Related Posts * Plugin URI: http://code.tutsplus.com/tutorials/creating-a-list-of-posts-with-the-same-categories-as-the-current-one--cms-22626 * Description: This plugin identifies…
…within the geographical boundaries of your base location within the same city or country. WooCommerce allocates a separate section for this type of shipping. Let's see how you can configure it.The first two options are:Enable: This is used to Enable/Disable this shipping option.Title: Set the title of this form of shipping for the…
…with the default setting unless you plan to style it with CSS programming language.ButtonsNext, there is a separate section for Buttons in the Styles tab. Here you can see two different configuring options:Default Button StyleDefault Button ColorLet's take a look at these two options.Default Button StyleYou will set the Default Button Style from here. This…
…with other order information.I assume that you're familiar with the basic module creation process in Magento. If not, here's a nice article explaining the basics of custom module creation.Also, if you haven't gone through the first part of this series yet, it's recommended to do that, as you'll need module…
…with Babylon.js, I wanted to be sure that this would not generate some performance issues.What About Performance?So I did a benchmark!var count = 10000000; var MyClass = function(a) { this.a = a; } MyClass.prototype.foo = function(b) { // Do some complex work this.a += Math.cos(b); return this; } MyClass.prototype.foo2 =…
…with their dates and status (see fig. below). WooCommerce automatically adds a few pages in your WordPress, and the My Account page is one of them. You can choose to create a new page and add the shortcode [woocommerce_my_account] to list all the orders/details (like in the screenshot above) in any custom page.2.…
…with the actual price of the product along with the Tax added to it. The illustration above shows the total amount of the purchase with the Tax on the Checkout Page.Tax RatesUnder the setting of Tax Rates you will find a table which has various columns. You will come across options like Country, State/Province, Country Wide and Rate.…
…with her agency's account, adds a modern and professional multi-purpose theme called Cartel to her cart, while Walt registers with ThemeForest for the first time after deciding on a decent-looking WooCommerce theme called Combo. They both pay via PayPal, but Walt earns the blog owner a handsome cut thanks to…
…with bookmarks, you need to install the Link Manager plugin. Getting & Displaying a List of Bookmarks: wp_list_bookmarks() This template tag returns or echoes a list of bookmarks, an old feature of WordPress. Parameters This template tag accepts only one parameter: $args (optional—array):An array of the following arguments: 'orderby' (string):…
…with the production version of your code, and debugging it directly from the production server is a nightmare simply because it has been minified or has been compiled from another language such as TypeScript or CoffeeScript.The good news? The latest versions of browsers can help you solve this problem by…