Author

admin

lấy ảnh đại diện từ video youtube

23 Tháng 10, 2018

Giả sử video a e muốn lấy ảnh đại diện là [code]https://www.youtube.com/watch?v=uYaDNle4X0A[/code] Thay ID video vào url bên dưới URL Ảnh đại diện cần lấy sẽ là (max…

ACF Pro download

23 Tháng 10, 2018

Tải Advanced Custom Fields for WordPress Developers

Plugins lấy thông tin thời tiết

23 Tháng 10, 2018

Một số Plugins lấy thông tin thời tiết nên dùng https://wordpress.org/plugins/awesome-weather/ Weather Underground https://wordpress.org/plugins/weather-layer/ https://wordpress.org/plugins/giweather/      

Cài đặt hệ quản trị Centos Web Panel

23 Tháng 10, 2018

Link cài đặt: http://centos-webpanel.com/installation-instructions 1. Đăng nhập vào SSH bằng tài khoản root 2. Preparing Server Let’s install required packages for CWP installation [code] yum -y install wget…

WP All Import, Export Pro

23 Tháng 10, 2018

Plugins hỗ trợ import export sản phẩm cho woocommerce với các tùy chọn theo danh mục , theo tác giả.

Thêm chữ liên hệ với sản phẩm không nhập giá

22 Tháng 10, 2018

Thêm chữ liên hệ với sản phẩm không nhập giá trong Woocommerce [php] function filter_price_product(){ global $product; if($product->get_price()){ wc_get_template( ‘single-product/price.php’ ); } else{ echo ‘Liên hệ‘; } remove_action(‘woocommerce_single_product_summary’,’woocommerce_template_single_price’,10);…

Công cụ dev online

22 Tháng 10, 2018

Các công cụ trực tuyến như Beautifiers, Editors, Viewers, Minifier, Validators, Converters for Developers: XML, JSON, CSS, JavaScript, Java, C #, MXML, SQL, CSV, Excel. https://codebeautify.org/

Sử lý phân trang cho Custom Taxonomy

22 Tháng 10, 2018

Sử dụng hàm paginate_links khi phân trang cho tùy chọn Danh mục trong wordpress [php] $page = (get_query_var(‘page’)) ? get_query_var(‘page’) : 1; $getposts = new WP_Query(array( ‘post_type’=>’thietkekientruc’, ‘post_status’=>’publish’, ‘paged’=>$page,…