Read

Blog

in Uncategorized

The type attribute is unnecessary for javascript resources

To remove the type attribute, simply paste this code into your theme file.

in Uncategorized

Pagination in single.php

in Uncategorized

How to remove tabs from woocommerce product in admin

We know that woocommerce is a widely used plugin to build shopping websites in wordpress. So, when we are adding products we have a section named “Product Data” just below the content editor. In this section we have various tabs like general, inventory, linked products etc. Sometimes we do not use few of them, so […]

in Uncategorized

Export media files to a zip archive

There is a lot of information on how to export media files to a zip archive on wordpress. There are a bunch of ready-made plugins that will work and solve most of the tasks. But when there is a non-trivial task, then you need to either finish something ready, or make your own. Suppose you […]

in Uncategorized

Export data to Excel wordpress

In order to export data to Excel, you need to connect PHPExcel.php. This library is needed download, and upload to your theme folder. We connect it with the following code in the functions.php of your theme:

Next we need to call the export function, I used the GET request:

You also need to […]

in Uncategorized

Delay loading iframe

The iframe tag creates a window that is inside a regular document, and it allows you to load any other independent documents into the specified size. Since it is loaded from an external source, naturally it affects the page loading speed. Alternatively, you can postpone the loading of the iframe window for some time so […]

in Uncategorized

Minimum order amount in woocommerce

In order to set the minimum order amount in woocommerce, you need to place the following code in the function.php file of your theme:

in Uncategorized

How to change thumbnail image size of WooCommerce cart page

To change thumbnail image size of WooCommerce cart page you need next steps: 1. in function.php create the size you need.

2. in cart.php which should be located in your_tneme\woocommerce\cart find

and in get_image() write the name of your size. In our case it will be like this: get_image(‘custom-thumb’) Checked work on WooCommerce […]

in Uncategorized

Get custom categories with a hierarchy on the custom post type

Get custom categories with a hierarchy on the custom post type can be done in the following way:

Source: https://clicknathan.com/web-design/hierarchical-custom-taxonomy-terms-unordered-list/

in Uncategorized

Special tags for plugin contact form 7

Special Mail Tags for Submissions [_remote_ip] — This tag is replaced by the submitter’s IP address. [_user_agent] — This tag is replaced by the submitter’s user agent (browser) information. [_url] — This tag is replaced by the URL of the page in which the contact form is placed. [_date] — This tag is replaced by […]

in Uncategorized

Product picture gallery on woocommerce category page

The gallery made on Slick. Part of the code is peeped here So, the code is:

It is enough to insert this code into the functions.php of your theme. You also need to connect scripts Slick slider.

© Copyright 2014 -  vchuy-develop.com. All rights reserved