If you want to have a new custom shortcode in WooCommerce, you can add the codes in wp-content\plug-ins\woocommerce\includes\class-wc-shortcode.php. That will works, however, that is not the best practice. Because if some one updated the woocomerce plug-ins, then your custom code will be overwritten. I suggest you write your plug-in, Then using:
Then you can have your own shortcode, then you can use global $woocommerce_loop; , that global variable to retrieve the data from woocommerce.
I used a lot of free wordpress template and plug-ins. They are good. But in some situations, especially, the templates and plug-ins are not from wordpress.org. They are from some random websites. You have to be very careful. You have to check them very carefully. I will do a code review for that.
There is a common technique, they will use. The page will detect the user agent string. If you use a normal browser, they will deliver a normal content. When the search indexing engine visit them, they will deliver the spammer content. To check that, you can use the fetch as google in Webmaster tools for checking. If you are a power user, you can use some browser plug-ins to change your agent user agent string to be a indexing engine.
No doubts, you can modify the wordpress functions library to control the number of posts in archive page and category page. That may be hard for you. There is a plug-in to do that. This is Custom Post Limit. Although the plug-in has not been updated for more two years, I tested that still works with the latest version of Wordpress. Moreover, you just need to fill in the number of posts per page you want in the form. Then that will work!
By the default, whether the php will display error message is controlled by php.ini. If you are using a shared host, you cannot change it. So, you have to add this line of code on the first line of your php file:
That is to display the error message , To hide all error message, just use this:
I just installed a new template for my blog. The template I chose is Montezuma. That is 100% responsive design and html5. It works fine with desktop and phone too. Moreover, that is very easy to customize.You go -> Apperance - > Montezuma Options, then you can change css and adding the custom elements into the template. That is super easy. I recommend Montezuma to all wordpress users