Home » Tutorials

Tutorials

Force URLs to lowercase with htaccess and PHP

htaccess wallpaper

When optimizing your website (SEO) you must check if your website URLs load both with lowercase and uppercase letters. For example mysite.com/My-URL and mysite.com/my-url. It may even be mixed. This is bad and if you don’t fix it, it may harm your website optimization. The solution is to force browsers to redirect all URLs to the lowercase version. The Australian ...

Read More »

Disable Opencart Editor (CKeditor)

Opencart wallpaper

I want to give you a quick tip of how to remove the annoying Opencart editor – the so called CKeditor. You may ask – why should I do that? Here are a few reasons: It’s annoying Breaks formatting And if I forgot to mention – it is annoying The reason I wanted to remove it was that I have ...

Read More »

How to clear image cache in opencart

Opencart wallpaper

This is a short tip about how to clear the image cache in opencart. You may need it for many reasons, such as: images are not updating slow image loading importing new database and etc. To clear the images cache in OpenCart, do the following: Login to your FTP account via ftp client (Filezilla for example) Go to the root ...

Read More »

Make Opencart product filters show as a dropdown instead of checkbox

opencart filters select

Common Opencart themes issue is that filters appear as a checkbox instead of the better looking dropdown select. If you were wondering how to fix this, here is a short tip. This tutorial is part of the Ftutorials Opencart tutorials and will also help you understand the Opencart logic. Open catalog/view/theme/your_template/template/module/filter.tpl – this is where the modules of your theme ...

Read More »

How to display products from subcategories to the parent directory in Opencart

Opencart wallpaper

When working on a client’s Opencart store, I have met the following problem. The products wasn’t appearing in the category page, only in the subcategories. Imagine that you have 5 subcategories in one category. When you open each of them they have products, but the main category stays empty. I want to display all products from subcategories to parent category. ...

Read More »

Div not Adjusting Height based on Content

text over other text css

Have you ever wondered why your div height is not expanding with the content in it. For example if you have a dynamic, user generated text and you don’t know every time the exact height of the content, but below you have another div with relative position, then that might be a problem.  In this quick tip I will show ...

Read More »

Change WordPress from Email Title

change wordpress from mail title

A very common WordPress problem is that the emails come in the inbox from “Wordpress” as sender. That’s not very representative for your users. For example if user wants to reset his password, he receives confirmation email not from your website, but from WordPress. Here’s a Quick Tip how to fix that. Simply open the functions.php file of your theme ...

Read More »

Remove the title from one or many WordPress pages

remove wordpress title

To remove the WordPress page/post title from your theme is somehow easy – you need access to your theme files and some basic coding skills. Usually it is placed in page.php for pages and in single.php for posts (in your theme root folder). After you open the required file just search for and then remove You can find more information ...

Read More »

How to easily do 301 Redirects in WordPress

301 redirect wordpress

In this article we will discuss what is 301 Redirect, when should we use it, the best methods to do redirects in WordPress and as a bonus, we’ll talk about some SEO best practices or how 301 Redirects can help you increase your traffic. What is 301 Redirect and why should we use it Simply said, 301 redirect is the ...

Read More »

Understanding ‘~’, ‘+’ and ‘>’ CSS Selectors

understanding CSS SElectors

In this tutorial I will explain the basic usage of CSS Selectors and more specifically for using the ~,+ and >. To make it easier to understand, let’s first take a look at the following HTML code: Blank space between elements: It is the descendant selector. Selects all <p> elements inside the <div> with id “container”. ~ Selector: Selects all ...

Read More »

Create a Facebook Like Gate for your fan page

Facebook like gate wallpaper

“Like this page to continue” and some similar phrases became very popular about 2 years ago, and they are still practical and fashionable. Maybe you are asking: Why? The answer is very simple. Because they work. The idea of almost every business in facebook is to collect as many fans as possible. And the easiest way to do it is ...

Read More »