A Must On Every Website You Install – Info.Php

For all you do-it-yourselfers, here’s some good advice. On every website you create, make an info.php file. This will allow you to see your php memory for your server and will allow you to know which version of php you have. This tool is very useful when dealing with databases and/or eCommerce websites (when you’re in the development stage, you often need to increase php memory to upload and download large files).

How to:

  1. Download notepad++ or sublime text so you have something to write php with.
  2. Connect notepad++ with your server and open the root folder (normally the ‘public_html’ folder)
  3. Create the following short text using your notepad++ or sublime text
    <?php phpinfo(); ?>
  4. Save your file directly into your ‘public_html’ server folder as ‘info.php’
  5. Now when you type your domain + info.php you will get the following report (example: golocalexpert.com/info.php)

 

WordPress WooCommerce Product Subcategory Showing Products

Project Fix:

I see a lot of WooCommerce users complaining that they see their products listed under the their subcategories, so here’s how to fix this:

 

How to Fix (step-by-step):

  1. Under Products on the left hand panel select select Categories
  2. Create a Category but make sure there’s no Parent Category assigned to this first category (example: Men)
  3. Create another Category but this time select Parent Category to assign this to (example: Shoes)
  4. You should now have a primary Category and a Subcategory (Men > Shoes)
  5. Select each of the Categories and make sure that under the Display type they all say Subcategory (Both Men and Shoes)
  6. Now, create your product (for example: A variable product for men shoes showing all the proper color and sizes – will be on a different tutorial)
  7. After doing so, go to the WooCommerce icon on the left panel and select Settings
  8. Go to the Products Tab
  9. Make sure Product Archive / Shop Page is selecting your shop page
  10. Make sure Shop Page Display and Default Category Display both are using the Show Subcategory
  11. Click save, and you’re good to go!

You should now be able to no longer see your products in your subcategories. Enjoy, and as always feel free to ask questions:)

WordPress Version 4.1 + WooCommerce Version 2.2.10

Missing required field entry-title,Update,hCard Error in WordPress

Project Fix:

I just found a new error in my website when  viewing my Google webmaster tool. I tested one of my blog and saw i got the Following errors:

Error: Missing required field “entry-title”.
Error: Missing required field “updated”.
Error: Missing required hCard “author”.
I am taking active staps in fixing this bug in the Divi theme and you guys will be the first to find out when I do so.
So far there are instruction for typical wordpress themes, but nothing for the elegant theme package.
Here’s how you’d fix this in any other wordpress website:
Fixing: Missing required field “entry-title”.
Find this code in simple.php:

Change the above code to this: