…using a local server for development, and once you have completed development and thoroughly tested the end product, only then you should upload it on your server. I’ll not reinvent the wheel by explaining how you should install Magento on your local server. There are plenty of good articles available…
…using the procedural programming approach rather than the object-oriented approach I've used in most of my tutorials.How We Originally Added Ajax SupportThe reason for avoiding object-oriented programming right now is twofold: This is because the plugin is going to be very simple. I'm more interested in focusing on the specified…
…using the rate attribute.utterance.rate = 0.8;The default rate in which a voice speaks is 1. So here we’re slowing it down by a fifth. The slowest rate you can specify is 0.1, while the fastest is 10. Voices also have their own rate limits, so even if you set a…
…using procedural programming. In this post, we're going to take the code that we wrote in the first part of this series and refactor it so that it uses an object-oriented approach.Ultimately, the goal is not to make a case why one paradigm should be used over the other; instead,…
…using Titan Framework. You can create different containers like:Admin panelsTabs inside admin panelsMeta boxes with options in theme for any post typeTheme customizer sections and panels with options in them, some of which support the Live PreviewTalking about the set of options we have in Titan Framework, within almost all of…
…using Text Indexes. This feature has now become an integral part of the product (and is no longer an experimental feature). In this article we are going to explore the full-text search functionalities of MongoDB right from fundamentals.If you are new to MongoDB, I recommend that you read the following…
…using the get_pages() function.Note: You don't have to use this code in your site's header. If it works better for you, you could always add it to your sidebar or footer by editing the sidebar.php or footer.php files instead of header.php.In this tutorial I'm going to create a child theme…
…using this approach is that with the update of Magento versions, the Magento RWD theme is also often updated. That way our theme will always have a fallback on the latest Magento theme to provide support for the latest features and bug fixes.Placing CSS, JavaScript, and Image FilesNow, we’ll start…
…using a foreach loop, output the title and permalink for each page foreach ( $pages as $page ) { ?> <li class="page-link"> <a href="<?php echo get_page_link( $page->ID ); ?>"> <?php echo $page->post_title; ?> </a> </li> <? } ?> </ul>This means we're targeting a ul element with the top-level-page-links class and…
…using the plugin. Integrate by embedding the framework. Both of these methods will bring the same outcome, i.e. include Titan Framework in your project. However, the approach adopted in each is slightly different. So, let's explore each one of these options. 1. Integrate Using the Plugin The plug and play…