Recommended File Permissions for WordPress

What permissions should I have for the following: Root folder storing all the WordPress content wp-admin wp-content wp-includes On computer filesystems, different files and directories have permissions that specify who and what can read, write, modify and access them. This is important because WordPress may need access to write to files in your wp-content directory to enable certain functions. […]

How to Prevent SQL injection in PHP 2017

SQL injection happens when you interpolate some content into a SQL query string, and the result modifies the syntax of your query in ways you didn’t intend. It doesn’t have to be malicious, it can be an accident. But accidental SQL injection is more likely to result in an error than in a vulnerability. The […]

[Woocommerce] How to Display Products from Specific Category

These code to show product with ‘shoe’ category. You can change ‘shoe’ with any category you want. ‘orderby’ => ‘rand’ mean show the product as random. orderby (string | array) – Sort retrieved posts by parameter. Defaults to ‘date (post_date)’. One or more options can be passed. ‘none’ – No order (available since Version 2.8). […]

[Woocommerce] How to Change Buy Product Button Text

Single Product Page add_filter( 'woocommerce_product_single_add_to_cart_text', 'wc_custom_cart_button_text' ); // Woocommerce 2.1 + function wc_custom_cart_button_text() { return __( 'Buy via AliExpress', 'woocommerce' ); } Archive Page add_filter( 'woocommerce_product_add_to_cart_text', 'wc_archive_custom_cart_button_text' ); // Woocommerce 2.1 + function wc_archive_custom_cart_button_text() { return __( 'Buy via AliExpress', 'woocommerce' ); }

[Woocommerce] How to Reorder Tab Position

function wc_reorder_tabs( $tabs ) { $tabs['reviews']['priority'] = 15; // Reviews third $tabs['description']['priority'] = 10; // Description second $tabs['additional_information']['priority'] = 5; // Additional information first return $tabs; } add_filter( 'woocommerce_product_tabs', 'wc_reorder_tabs', 99 );

Finding a DropShipping Wholesaler

So now you are probably wondering how you can find and qualify a genuine wholesale drop shipper. You will need some patience and time to search through a drop shipper directory in order to find the best drop shipping companies for your particular product niche. There are many drop shipper directories available on the Internet, […]

AliExpress Dropshipping Plugin WordPress

Dropshipping is an good way to start an ecommerce business without needing to worry about inventory or shipping. It’s as simple as listing a product for sale on your website, and sending an email to your supplier to ship the item on your behalf whenever you get an order. While starting a dropshipping business is […]

Enabling/Installing FFmpeg Extension PHP From cPanel

FFmpeg is php extension used to manipulate videos files in PHP using the ffmpeg program. It provides classes for retrieving information from video and audio files like the duration, frame and sample rate, frame size. It can also extract individual frames from the videos and create GD image resources. It supports the all the video formats supported by ffmpeg […]

[SOLUTIONS] 500 Internal Server Error PHP

500 Internal Server Error is one of the common PHP errors that can put a PHP developer in panic mode. This article provides information on the most common causes. Why it become common PHP errors ? because you will found this error in WordPress, Prestashop, Codeigniter, Java, ASP.NET or whatever. 500 Internal Server Error is not a […]

[SOLUTIONS] 504 Gateway Timeout Nginx

504 Gateway Timeout error Nginx is generated often by a number of reasons on the backend connection that is serving content. This is pretty common error, are generated most probably by the PHP max execution time limit or by the FastCGI read timeout settings. Based on Wikipedia, 504 Gateway Timeout is the server was acting as […]