…using the same createTab() function. Then I created a textarea type option within Tab 2 with ID aa_txtarea_in_tab2_panel2 (lines 12-17). And finally a Save and a Reset button in the end.Here is the result:To sum up, I created a new admin panel Neat Options 2, and then added two tabs…
…using, you guess it, JavaScript.In this video, we're going to take a quick look at how easy to is to get started using React. We'll be learning a little bit more about React, as a library, and we'll see how we can begin implementing it in our projects.As mentioned in…
…using the WordPress function get_template_part(). Right underneath where the content has been retrieved, let’s insert our form HTML. So to recap: Copy and paste the code from page.php into our Page Template. Find where the content is being output. Right under that, insert the following code and then we’ll walk…
…using the latest version of OpenCart, which is 2.0.x. With that said, it's as useful for the earlier versions of OpenCart, with a couple of exceptions. In the recent version of OpenCart, the Affiliates section has been moved to the Marketing menu, but was part of the Sales menu in earlier versions.Basic Concepts of Affiliate MarketingLet's…
…using this code:<?php echo $this->__('Qty:'); ?> <span class="light-red"><?php echo $this->getQty()?></span>For price calculation, we’ll enter this code in the place of the static price:<?php if ($canApplyMsrp): ?> <span class="map-cart-sidebar-item"><?php echo $this->__('See price before order confirmation.'); ?></span> <?php else: ?> <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?> <?php if ($this->helper('tax')->displayCartBothPrices()): ?> <?php echo…
…using here. In previous articles, I explained that the theme's template files have been organised in such a way that there is a separate folder for admin-related stuff inside the assets folder. This further contains a file for the code of metaboxes, i.e. metabox-options-init.php, which is located here: assets/admin/titanframework/metabox-options-init.php.So, here's…
…Using WooCommerce Rachel McCollin 20 Aug 2020 What You'll Need To follow along, you'll need: A development installation of WordPress. A code editor. WooCommerce installed and activated. Products added—I've imported the sample product data that comes with WooCommerce; for details of how to do this, see this guide. A WooCommerce-compatible…
…using neat, which is my theme's name.After calling an instance, add a section within customizer using the createThemeCustomizerSection() function. Lines #26 through #34 create a section in $titan called $aa_section1. The createThemeCustomizerSection() takes up an array of parameters like name, panel, desc, etc. I'm using two of these parameters (i.e.…
…using strings from memory. Controlling the Transmission The HTTP protocol transmits data as plain text. Even if we decide to encode the transmitted content as GZip or if we use HTTPS, which encrypts the content, the underlying content is still just plain text. We’ve already learned that there is no…
…using the echo command.Displaying the Result at the Front-EndLet's suppose I entered the demo value 'AA Text Settings' and saved it. So here is the screenshot of the output of the code above.Creating a Text Type Option Inside an Admin TabExample DeclarationLet's look at the code of a text option…