Pages

Saturday, December 21, 2019

Finding the Best WordPress Host


Whether you have a small business looking to expand virtually or a great idea for a WordPress website, or simply looking for a way to share your thoughts, videos, or photos with friends and family, getting your very own WordPress website might be the right move for you. And, naturally, the key to a good WordPress site is to have the best WordPress host for you. There are a lot of WordPress host services out there, but not all of them are the best WordPress host for you, even if they work well for me. Here are some tips for finding the best WordPress host for you.

The first thing you need to consider when looking for the best WordPress host is the features offered by the service. You should be looking for the fast e-mail with spam filtering and blocking. Your WordPress host should have a good track record in reliability and uptime. This will help your WordPress site function the way it is meant to. Keep in mind, of course, that the quality and variety of services are closely linked to the price – you’ll pay for good services.

The second thing you need to weigh when comparing the different WordPress hosting services is the support offered. This is usually the most overlooked component of WordPress hosting. Most of us aren’t programmers or computer geniuses, so we need plenty of helpful and attentive people that are to help us out. A lot of people will focus their efforts on finding the most features for the lowest price, but only the truly best WordPress host will also give you strong technical and customer support. After all, what good are all of those features if they can’t work and you can’t fix them?

Finally, the best WordPress host will have a good price. The preponderance of WordPress hosting services out there means that they engage in competitive pricing – this is a good thing for you, as you’ll find much lower prices out there than you might have expected. You can reasonably assume you’ll pay less than ten dollars each month for quality WordPress hosting.

The best WordPress host for you is out there. Try searching through any number of independent, third-party sites that review all of the major WordPress hosting services. You can definitely find the right combination of services, support, and price to have the best WordPress host for you, whether it’s for business, friends, and family or something else entirely.

WordPress Top Hosting Companies List 2020


Without hosting you couldn't run your website. So, You should choose the best WordPress hosting company for your website. Today, I will suggest the best WordPress hosting companies name. Keep mind, Choosing the perfect hosting for your WordPress website is very important. Your website’s health will rely on the hosting provider you use.

SiteGround 
SiteGround is one of the best hosting for WordPress website. SiteGround custom support and security are excellent. So you can choose this hosting for your WordPress or WooCommerce website.

Bluehost 
Bluehost is the great hosting for WordPress website. Bluehost custom support and security are excellent. So you can choose this hosting for your WordPress or WooCommerce website. Bluehost is a very cheap WordPress hosting option.

WPEngine 
WPEngine is the most popular and highest price WordPress Hosting provider. This hosting startup price $29/ Mo but, service and security is the best for the WordPress website.

GoDaddy
GoDaddy is the biggest market share for the hosting company. GoDaddy has approximately 18.5 million customers. So, You can choose this hosting for your business website.

DreamHost
DreamHost is a Los Angeles-based web hosting provider company and your website would be loading fast. So, I would like to recommend this hosting for your website.

HostGator
HostGator hosts more than 10 million domains making them one of the most popular web hosting providers on the market. So, You can choose this hosting for your WordPress and WooCommere website.

Need Help to create WordPress or eCommerce Website for your Business? Kindly Check Details here: Create WordPress Business Website.

5 Reasons to Use Responsive Web Design for Your Website

The modern era brought along many new technology solutions that improve the user’s experience when visiting a website. A high percentage of people nowadays own at least one smartphone and use the device as a means to connect with people and browse around the internet in their free time. In order to simplify things for them, you may find it useful to create a responsive website that can be visited at any time and here are the 5 reasons why.

Reasons to Use Responsive Web Design for Your Site
1. User Accessibility:
Less and less people are stuck to their computers and instead feel the need to be connected anywhere, at any time. A responsive web design enables users to access your site without the use of a laptop, which is a very convenient feature nowadays. People browse websites from their respective devices, so we have iPhone users, Windows users, and Android users. A website should be designed in such a way as to be accessible regardless of the operating system an individual has on their phone. In addition to that, a responsive layout allows the images to adapt to any screen size.

2. Easier Website Management:
If you are an internet user you most likely noticed how some websites come in two versions: desktop and mobile. As a site owner, you will soon find that pretty difficult to manage and need things simplified. A retina ready and responsive site enables you to keep things in one place and not worry about having to promote and moderate different versions of the same website. Some blogs that have a mobile version are also faulty, with the pages not loading properly and too many ads. This issue can be easily solved by taking advantage of some of the best WordPress themes. If your host is the popular WordPress platform, all you need to do is pick a good, responsive theme and you’re all set.

3. An Up To Date Website:
New devices are released at the speed of light these days and old methods that functioned well on a phone may not work just as well on a new one. If you have a blog and install a responsive theme, your site will work even on the latest devices. In order for this to happen, you need to install the theme properly by following the developer’s instructions. Responsive web design will help your pages load much faster and thus people will feel more inclined to visit again.

4. Your SEO Will Be Improved:
SEO plays an important part in the success of a blog or a website these days. The most important search engines like Google are able to index your page faster if you use a responsive design, and thus you will attract more visitors this way. SEO helps people find your blog when they are searching for info pertaining to a certain field, and the higher a page is placed in searches, the better the chances to get more hits. Over time, your page will become much more popular compared to when you first started. Furthermore, a responsive theme makes things easier when it comes to sharing content from your blog. Such a theme will include social media widgets and thus you can also post on Facebook, Twitter or LinkedIn at the same time.

5. The Novelty Factor:
Believe it or not, even the most well-known companies do not have a responsive interface yet. Most of them are still using the traditional style layouts, and so customers have a hard time browsing the site from their Android device or iPhone. If you want to be original and do something different, a mobile website is just what you need to differentiate yourself from the rest. You can be one of the very first websites that use a responsive design. This means you will be able to offer an improved browsing experience to all your visitors, who will appreciate that. A super responsive site is much easier to browse and the pages also load faster.

In the end, you can only benefit from installing a responsive WordPress theme. In case you did not know, the search engines discovered that about 20% of their users perform searches from a smartphone or tablet. The market is still new at this time, and there are many opportunities you could take advantage of. When asked, more than 50% of the mobile users decided to visit a website again if that blog provided solid mobile features. Things will only change from now on, with an increased number of people opting to browse through mobile-optimized websites. In order to get the traffic you want, take this into consideration when creating a brand new blog for your business.

Need Help to create Responsive Website for your Business? Kindly Check Details here: Create Responsive Business Website.

Sunday, November 17, 2019

How to Create Custom Taxonomies in WordPress

How to Create Custom Taxonomies in WordPress




WordPress is the most popular CMS in the web world and each month 400 million people visit the WordPress official website. WordPress reign 34% website of the internet in 2019 and a 4% increase from the previous year. WordPress.org offers 50,000 + plugins and over 3,500 GPL-licensed themes. So, if you are a WordPress theme developer then you may need to create custom post type or Custom Taxonomies for your theme. In this tutorial, I will share with you How to Create Custom Taxonomies for your WordPress theme. I will apply two ways that, How to Create Custom Taxonomies in WordPress manually (Using PHP functions) and other ways is to add Taxonomies in your active theme using WordPress Plugins. One Suggestion, if you are a beginner then I think first you should be known what is Taxonomies.

One Suggestion, if you are a beginner then I think first you should be known what is Taxonomies.

So, let's know, Understanding Taxonomies in WordPress.

If you’re using WordPress as a blog, you’re already using taxonomies but you just may not know them by that name. A taxonomy is simply a system of organizing information. A WordPress taxonomy, specifically, organizes WordPress posts. Your WordPress posts have two taxonomies by which they can be organized: Categories and Tags.

I believe You have got an idea about Wordpress Taxonomies. I just try to give a simple idea about the Wordpress Taxonomies.

I am a WordPress and PHP expert so you can hire me for creating a WordPress website or WooCommerce website. Here my Fiverr Gig, so please check my Fiverr service details.



Manually Creating Custom Taxonomies Using PHP Functions. The Theme development part. Add the following code in your theme’s functions.php file.
/**
 * Following code add theme functions.php file. 
 * hook into the init action and call create_book_taxonomies when it fires
 * Add new taxonomy, make it hierarchical like categories
 * first do the translations part for GUI
 */

add_action( 'init', 'create_topics_hierarchical_taxonomy', 0 );
function create_topics_hierarchical_taxonomy() {

 $labels = array(
 'name' => _x( 'Topics', 'taxonomy general name' ),
 'singular_name' => _x( 'Topic', 'taxonomy singular name' ),
 'search_items' =>  __( 'Search Topics' ),
 'all_items' => __( 'All Topics' ),
 'parent_item' => __( 'Parent Topic' ),
 'parent_item_colon' => __( 'Parent Topic:' ),
 'edit_item' => __( 'Edit Topic' ), 
 'update_item' => __( 'Update Topic' ),
 'add_new_item' => __( 'Add New Topic' ),
 'new_item_name' => __( 'New Topic Name' ),
 'menu_name' => __( 'Topics' ),
 );  
// Now register the taxonomy
 register_taxonomy('topics',array('post'), array(
 'hierarchical' => true,
 'labels' => $labels,
 'show_ui' => true,
 'show_admin_column' => true,
 'query_var' => true,
 'rewrite' => array( 'slug' => 'topic' ),
 ));
}


To create a non-hierarchical custom taxonomy eg: Tags, add this code in your theme functions.php.
/**
 * Following code add theme functions.php file. 
 * hook into the init action and call create_book_taxonomies when it fires
 * first do the translations part for GUI
 */


add_action( 'init', 'create_topics_nonhierarchical_taxonomy', 0 );
function create_topics_nonhierarchical_taxonomy() {
 
// Labels part for the GUI
 
  $labels = array(
    'name' => _x( 'Topics', 'taxonomy general name' ),
    'singular_name' => _x( 'Topic', 'taxonomy singular name' ),
    'search_items' =>  __( 'Search Topics' ),
    'popular_items' => __( 'Popular Topics' ),
    'all_items' => __( 'All Topics' ),
    'parent_item' => null,
    'parent_item_colon' => null,
    'edit_item' => __( 'Edit Topic' ), 
    'update_item' => __( 'Update Topic' ),
    'add_new_item' => __( 'Add New Topic' ),
    'new_item_name' => __( 'New Topic Name' ),
    'separate_items_with_commas' => __( 'Separate topics with commas' ),
    'add_or_remove_items' => __( 'Add or remove topics' ),
    'choose_from_most_used' => __( 'Choose from the most used topics' ),
    'menu_name' => __( 'Topics' ),
  ); 
 
// Now register the non-hierarchical taxonomy like tag
 
  register_taxonomy('topics','post',array(
    'hierarchical' => false,
    'labels' => $labels,
    'show_ui' => true,
    'show_admin_column' => true,
    'update_count_callback' => '_update_post_term_count',
    'query_var' => true,
    'rewrite' => array( 'slug' => 'topic' ),
  ));
}


You have already created WordPress Custom Taxonomies using PHP functions for your website. So now you should display Taxonomies, that you have created a few mins ago.

Here is you can display the custom taxonomy on your single post page. Add this single line of code in your single.php file within the loop. Also, You can add it in other files as well like archive.php, index.php, and anywhere else you want to display the taxonomy.
the_terms( $post->ID, 'topics', 'Topics: ', ', ', ' ' ); 

Now, if you want to add Custom Taxonomies for your website using WordPress free Plugins then I recommend this plugin. Check Please:(Custom Post Type UI )

I believe if you follow this tutorial, then you will able to create your own Custom Taxonomies for your website. Still, if you have any questions then please feel free to comment on the bellow or you can hire me for this job. Please check my Fiverr service. I will be very happy to work with you.

Sunday, September 29, 2019

How to add Contact Form 7 AutoResponder Functions

Contact Form 7 is the most popular and easy to use contact form WordPress plugin. Contact Form 7 Active installations: 5+ million and Version:5.1.4 available in the WordPress Plugin Directory. Contact Form 7 can manage multiple contact forms.  There may be an issue for some users that want to activate the autoreply or autoresponder e-mail that will be sent to the customer as a notification about receiving the sent query through the mail form, but the sender’s name may appear as WordPress.The settings allow to use this second e-mail, but the sender’s name has to be entered in a specific way if you’d like to have your desired name as the sender’s name in the recipient’s inbox.

You can add two-way AutoResponder:

One:

  • In settings go to Contact -> Contact Forms -> Mail tab.
  • Scroll down to the section where you can add a tick to Use Mail (2), tick it and new settings form appears.
  • See the row From and insert your senders' name and e-mail in the appropriate format.

Learn More here Contact Form 7 Docs and FAQ.
Two:
/**
 * Following code add theme functions.php file. 
 *
 */
add_action( 'wpcf7_mail_sent', 'contact_form_autoresponders' ); 
function contact_form_autoresponders( $contact_form ) {
// replace with ID 
if( $contact_form->id==1234 ){

//retrieve the details of the form/post
$submission = WPCF7_Submission::get_instance();
$posted_data = $submission->get_posted_data();

switch( $posted_data['location'] ){ 
case 'California':
$msg="California email body goes here";
break;

case 'Texas':
$msg="Texas email body goes here";
break;

}
mail( $posted_data['your-email'], 'Thanks for your enquiry', $msg );
   }

}
If you want then you can use free Contact Form 7 AutoResponder Addon plugin OR premium plugin CF7 AutoResponder Addon.But you should check carefully everything before installing the plugin. Still, form not working or if you have any questions.
Check out my Fiverr Profile and I can fix WordPress Or WooCommerce any kinds of issues: Fix WordPress WooCommerce Issues Or Errors.

Tuesday, September 17, 2019

How to remove Description Text in the product description in WooCommerce

Today, I will share you most important and very useful some of the WooCommerce functions. This code should be added in your active theme or child theme functions.php.

Learn more WooCommerce Action and Filter Hook Reference

1. Remove the product description Title
add_filter( 'woocommerce_product_description_heading', 'remove_product_description_heading' );
function remove_product_description_heading() {
   return '';
}
2. Change the product description title
add_filter('woocommerce_product_description_heading', 'change_product_description_heading');
function change_product_description_heading() {
  return __('NEW TITLE HERE', 'woocommerce');
}

3. Remove the additional information title
function remove_additional_information_heading() {
  return '';
}
add_filter( 'woocommerce_product_additional_information_heading', 'remove_additional_information_heading' );

4. Change the additional information title
function change_additional_information_heading() {
    return __('NEW TITLE HERE', 'woocommerce');
 } 
add_filter( 'woocommerce_product_additional_information_heading', 'change_additional_information_heading' );


How to change In Stock or Out of Stock text in WooCommerce

WooCommerce is the most popular eCommerce plugin in WordPress. WooCommerce is easy to use and an open-source eCommerce solution for the WordPress user. More than 5+ million active installations. However, I do not want to long this tutorial. So let's start, How to change In Stock or Out of Stock message in using functions in your website WooCommerce website. If you want then you can use any plugins for this problem.
Here two plugin so you can try but my suggestion check plugin update date and user feedback. Because I do not recommend any plugin for this problem.

1. Woo Custom Stock Status
2. WooCommerce Custom Stock Status
/**
 * 
 * Open active theme functions.php file and add following code
 *
 */
add_filter( 'woocommerce_get_availability', 'custom_get_availability', 1, 2);
  
function custom_get_availability( $availability, $_product ) {
    //change text "In Stock' to 'SPECIAL ORDER'
    if ( $_product->is_in_stock() ) $availability['availability'] = __('AVAILABLE', 'woocommerce');
  
    //change text "Out of Stock' to 'SOLD OUT'
    if ( !$_product->is_in_stock() ) $availability['availability'] = __('SOLD OUT', 'woocommerce');
        return $availability;
    }


How do you set stock quantity by default in WooCommerce?

I am very sorry because any PHP code does not allow here. so if your need How do you set stock quantity by default in WooCommerce functions then please check here: How do you set stock quantity by default in WooCommerce

Add Custom Taxonomy Filter WooCommerce Products Admin Dashboard

How to add Add Custom Taxonomy Filter WooCommerce Products Admin Dashboard. Add the following PHP code in your active theme fucntions.php file.
 
add_filter( 'woocommerce_product_filters', 'wcf_filter_by_custom_taxonomy_dashboard_products' );
 
function wcf_filter_by_custom_taxonomy_dashboard_products( $output ) {
   
  global $wp_query;
  $output .= wc_product_dropdown_categories( array(
   'show_option_none' => 'Filter by product tag',
   'taxonomy' => 'product_tag',
   'name' => 'product_tag',
   'selected' => isset( $wp_query->query_vars['product_tag'] ) ? $wp_query->query_vars['product_tag'] : '',
  ) );
   
  return $output;
}

After Save, these functions go to the admin panel and WooCommerce products sections should look like following attached images. So now you able to Filter by Taxonomy.


Add WooCommerce Custom Registration Form Fields

In this tutorial, I will share how to add extra registration form field in WooCommrce My account page. To begin, make sure that the WooCommerce registration forms are enabled on the account login page.  For checking to go WooCommerce > Settings > Accounts and check to Enable customer registration on the My Account page.


After enabling this option, you can see the user registration form at the front end. Also, If you do not enable these options than WooCommerce registration form will not show in the frontend. So this options most important for every WooCommcer website owner. WooCommerce default registration form adding some of the form fields. Like:  First Name Last Name user name etc. So, Every website owner needs to add more form fields in the website User registration page. Like: phone number, address, postal code, Country, etc.

However, I do not want to long this tutorial. So let's start, How to Add WooCommerce Custom Registration Form Fields. Include the following lines of code of your theme or child theme functions.php.  

Please Note: Blogspot do not support this PHP functions so my suggestions please check here for these functions: Add WooCommerce Custom Registration Form Fields

Monday, September 16, 2019

Adding Custom Fields WooCommerce Products With Meta Box

WooCommerce is an E-commerce plugin based on WordPress and WooCommerce powers more than 23% of the E-commerce websites across the globe. It helps you to create online stores that incorporate all the necessary tools for handling sales and shipment related tasks such as email notifications, shipping, online payment, order management, auto fees collection and tax calculations. To add extra info to a WooCommerce product (post type product), I will create a new meta box called Extra Product Info with 6 custom fields.
/**
 * Learn more about filter hook @ https://docs.metabox.io/creating-meta-boxes/
 * add_filter( 'rwmb_meta_boxes', 'prefix_register_meta_boxes' );
 *
 */
add_filter( 'rwmb_meta_boxes', 'pharmacy_meta_boxes' );
function pharmacy_meta_boxes( $meta_boxes ) {
         $meta_boxes[] = array(
         'title'  => __( 'Extra Product Info', 'pharmacy' ),
         'fields' => array(
                     array(
                      'id'       => 'unit',
                      'name'     => __( 'Unit', 'pharmacy' ),
                      'type'     => 'text',
                      'datalist' => array(
                                  'options' => array(
                                   __( 'Box', 'pharmacy' ),
                                   __( 'Blister pack', 'pharmacy' ),
                                   __( 'Packet', 'pharmacy' ),
                                   __( 'Bottle', 'pharmacy' ),
                                ),
                           ),
                        ),
                      array(
                       'id'   => 'dosage_form',
                       'name' => __( 'Dosage form', 'pharmacy' ),
                       'type' => 'text',
                       'datalist' => array(
                                 'options' => array(
                                  __( 'Capsule', 'pharmacy' ),
                                  __( 'Tablet', 'pharmacy' ),
                                  __( 'Liquid', 'pharmacy' ),
                                        __( 'Ointment', 'pharmacy' ),
                                ),
                            ),
                        ),
                      array(
                      'id'   => 'specification',
                      'name' => __( 'Specification', 'pharmacy' ),
                      'type' => 'text',
                      ),
                      array(
                       'id'   => 'manufacturer',
                       'name' => __( 'Manufacturer', 'pharmacy' ),
                       'type' => 'text',
                      ),
                      array(
                       'id'   => 'distributor',
                       'name' => __( 'Distributor', 'pharmacy' ),
                       'type' => 'text',
                      ),
                      array(
                       'id'   => 'expiry_date',
                       'name' => __( 'Expiry date', 'pharmacy' ),
                       'type' => 'date',
                      ),
                ),
            );

            return $meta_boxes;
    
}

Learn more here WooComemrce Action and Filter Hook Reference

Go to your Dashboard and edit a WooCommerce product, you will see a new meta box below the editor:

Showing Custom Field Values in the Product Page

After adding extra information to products, you need to show it on the frontend. To do that, we need to use a WooCommerce hook in a single product page and the helper function rwmb_meta to get custom field value.
add_action( 'woocommerce_product_meta_end', 'pharmacy_extra_info' );
function pharmacy_extra_info(){
            if ( $meta = rwmb_meta( 'unit' ) ){
            echo '' . __( 'Unit:', 'pharmacy' ) . " $meta";
            }
            if ( $meta = rwmb_meta( 'dosage_form' ) ){
            echo '' . __( 'Dosage form:', 'pharmacy' ) . " $meta";
            }
            if ( $meta = rwmb_meta( 'specification' ) ){
            echo '' . __( 'Specification:', 'pharmacy' ) . " $meta";
            }
            if ( $meta = rwmb_meta( 'manufacturer' ) ){
            echo '' . __( 'Manufacturer:', 'pharmacy' ) . " $meta";
            }
            if ( $meta = rwmb_meta( 'distributor' ) ){
            echo '' . __( 'Distributor:', 'pharmacy' ) . " $meta";
            }
            if ( $meta = rwmb_meta( 'expiry_date' ) ){
            echo '' . __( 'Expiry date:', 'pharmacy' ) . " $meta";
      }
}
To understand how rwmb_meta function works, please follow this documentation. When viewing the single product page, you will see:


I believe these functions will help to create a custom meta box on your WooCommerce website. If you need to be helped with the implementation of your WooCommerce store, do let me know through the services section. To Check: Create a Custome eCommerce website with WooCommerce.

I can make a dropshipping website using WooCommerce.

AliExpress dropshipping website.
SaleHoo dropshipping website.
Doba dropshipping website.
Wholesale2B dropshipping website.
Worldwide Brands dropshipping website.
Wholesale Central dropshipping website.
Dropship Direct dropshipping website.
Sunrise Wholesale dropshipping website.
MegaGoods dropshipping website.
InventorySource dropshipping website.
National Dropshippers dropshipping website.
Dropshipper.com dropshipping website.

So please check my services section. To Check: Create a Custome eCommerce dropshipping website with WooCommerce.