How to Create Custom Image Sizes in WordPress

Registering Additional Image Sizes for your Theme You will need to start by adding the support of post thumbnails by placing the following code in your theme’s functions.php file: 1 add_theme_support( 'post-thumbnails' ); Once you enable the support for post thumbnails, you can now use the functionality of registering additional image sizes with the function … Continue reading How to Create Custom Image Sizes in WordPress

Add Fonts In WordPress WYSIWYG Editor

Do You Want To Add Custom Fonts Or Web Fonts In WordPress wysiwyg editor? Here is Solution For This. Firstly Add Fonts In Theme Then Once Fonts Are Added And Ready To Use, Go To Function.php of Your Theme And Add This Code In function.php     if ( ! function_exists( 'wpex_mce_google_fonts_array' ) ) { … Continue reading Add Fonts In WordPress WYSIWYG Editor

Woocommerce Wishlist Button on Product Detail Page

In order to add the “Add to wishlist” button into your custom built content-single-product.php you must add this line to the top of your file: global $wishlists; Then add this code where you want the button to appear: $wishlists -> add_wishlist_form(); If you need it without the quantity field just use this instead for the … Continue reading Woocommerce Wishlist Button on Product Detail Page

Requested page not found WordPress

If You Have Error Like Requested page not found When Changing URL, We Have Solution For This First Go To Setting->Permalinks And Change Permalink To Default And Again Change Into Whatever You Need. Then Save And Check If Problem Solved If Still Problem Occurs Then Go To Apache Of Your Server Find Apache Module Named … Continue reading Requested page not found WordPress

How To Create WordPress Multisite

What is  WordPress Multisite Network: Multisite is a WordPress feature which allows users to create a network of sites on a single WordPress installation. Available since WordPress version 3.0, Multisite is a continuation of WPMU or WordPress Multiuser project.   Multisite Network Features: You can run a network of multiple WordPress blogs and websites from … Continue reading How To Create WordPress Multisite

Add & Remove Filetypes in WordPress Media Library

  By default, WordPress only allows you to upload certain filetypes. Most common filetypes for images & Microsoft Office documents are allowed. But let’s take a look at how to add additional filetypes in the WordPress Media Library.   How to Add Allowed Filetypes to WordPress Media Library Adding a single filetype looks like this: … Continue reading Add & Remove Filetypes in WordPress Media Library

WordPress Child Themes

  What is Child Themes in WordPress Child themes build upon an existing theme, without modifying the original theme, so that if the theme ever gets updated, your modifications to the theme are safe, because you’ve created a new theme and the update will only change the original files.   How To Create a Child  … Continue reading WordPress Child Themes

[Solved] MySQL #1064 Error in WordPress Migration

  If You Have a Following Error:   #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w'at line   I Have A Solution:   Solution 1: 1).Go To PhpMyadmin … Continue reading [Solved] MySQL #1064 Error in WordPress Migration

How To Hide Comments in a WordPress Page

Here are different way to hide comments in WordPress pages: 1). Using Quick Edit On Post: Go to WordPress pages - Click "Quick edit", you will see the option to give tick mark for comments, you can avoid that tick mark. yourdomainname.com /wp-admin/edit.php?post_type=page Then Click quick edit of each page. 2). Using Page.php The simplest … Continue reading How To Hide Comments in a WordPress Page