…with the word “template”. So my file is called template-user-profile.php and the opening PHP looks like this: <?php /** * Template Name: User Profile */I’ve saved this in the root of my theme directory. If you are unfamiliar with WordPress Page Templates I suggest you read the link above. They…
…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 try to understand the basics of affiliate marketing before…
…with the header section improvement, and then we'll create the new slider CMS block and call it from our template files. As we have a lot to cover in this article, let's start without further delay.As we have partially fixed the top header, the only thing which needs fixing there…
…within the post and/or page editing screens. Now it makes the process really easy, and that's what I am going to discuss today. So, let's learn how to create a metabox with Titan Framework.Creating a Metabox in TitanBefore I dive into this topic, let's assume that you have: a working…
…with archive pages and loops that do a great job, but sometimes you might need to display a bit more information on your main shop and other archive pages. In this tutorial, I'll show you how you can add WooCommerce product short descriptions to your archive pages and display them…
…with WordPress installed Any theme installed and activated Titan Framework plugin installed and activated titan-framework-checker.php file included in your project The code which I'm going to use belongs to my custom theme Neat. Neat contains a file named customizer-options-init.php which is present in assets/admin/titanframework/customizer-options-init.php. This is where I have implemented…
…with encoding so annoying. Nevertheless, we are quite lucky and most of the things are already really well-prepared. We only need to ensure that our documents are saved (and transmitted) with the right encoding. The right encoding is the one we specify. It could be anything, as long as it…
…with dynamic settings. Today I am going to discuss cover two of the most basic options: a text type option and a textarea option. Let's see how to create a text type option in an admin panel, a metabox or a theme customizer section.Text Type Options in Titan FrameworkIn Titan…
…with the option name. default: It sets the default color value. livepreview: (Optional) It helps to show a live preview of changes inside a theme customizer section. css: (Optional) It automatically generates CSS when you add the color option inside an admin page and/or theme customizer section. One thing which…
…with the DocumentFragment. We will also see that the concept of node containers is important for other modern web technologies, such as the <template> element or the whole shadow DOM API. But before we start we should have a quick look at fragment parsing, which is not directly related to…