Category: Code

  • Hooks on WordPress Edit Post Admin Page

    Hooks on WordPress Edit Post Admin Page

    There are hooks that allow you to display any content in a particular place on the admin page of adding or editing any type of post. Thanks to hooks below, you can make the publication more convenient. All depends on your programming skills and imagination. For example: Place video or text right before the visual…

  • How to install ImageMagick on Centos7 + nginx + php-fpm?

    How to install ImageMagick on Centos7 + nginx + php-fpm?

    ImageMagick is a free software suite used for editing, creating, composing, or converting bitmap images. By using ImageMagick, it is easy to read and write images in so many formats like GIF, JPEG, PNG, Postscript, and TIFF.ImageMagick is also used to resize, flip, mirror, rotate, distort, shear and transform images.This tutorial helps you to install…

  • Embed Gists with a URL

    https:https://thinhcoi.com/wp-content/uploadshttps://thinhcoi.com/wp-content/uploadsgist.github.comhttps://thinhcoi.com/wp-content/uploads85a3b0535b68be598ee2.git

  • Config WP Super cache and Nginx

    Standard WordPress-Nginx configuration with WP Super cache support: As you are getting into Nginx, I hope you don’t need my help with configuring WP Super Cache plugin. Still, make sure you are using “Use mod_rewrite to serve cache files. (Recommended)” option under “Advanced” tab. Following configuration supports: Static Page Caching using Disk Direct browser cache…

  • WordPress database clean up queries

    https:https://thinhcoi.com/wp-content/uploadshttps://thinhcoi.com/wp-content/uploadsgist.github.comhttps://thinhcoi.com/wp-content/uploads10605567

  • [Plugin] Rút gọn link cho wordpress với Go.gl

    Code rút gọn link dành cho blog wordpress dùng dịch vụ Go.gl của Google. Paste code bên dưới vào file functions.php hoặc viết thành 1 plugin. Updated: https:https://thinhcoi.com/wp-content/uploadshttps://thinhcoi.com/wp-content/uploadswordpress.orghttps://thinhcoi.com/wp-content/uploadspluginshttps://thinhcoi.com/wp-content/uploadsgooglhttps://thinhcoi.com/wp-content/uploads (đã có plugin trên wordpress.org) https:https://thinhcoi.com/wp-content/uploadshttps://thinhcoi.com/wp-content/uploadsgist.github.comhttps://thinhcoi.com/wp-content/uploads595349c4b5af5880310f.git

  • How to make website registration easier using facebook accounts

     – See more at: http:https://thinhcoi.com/wp-content/uploadshttps://thinhcoi.com/wp-content/uploadsaniri.rohttps://thinhcoi.com/wp-content/uploadsgeekhttps://thinhcoi.com/wp-content/uploadstutorialshttps://thinhcoi.com/wp-content/uploadshow-to-make-website-registration-easier-using-facebook-accountshttps://thinhcoi.com/wp-content/uploads#sthash.zKgOnpD4.dpuf What are we going to build? In this tutorial we will learn how we can facilitate user registration but letting users register to our site using their facebook accounts. This way, they won’t have to fill in any data, just grant the app access to their facebook account and that’s…

  • [WordPress] Cách xóa tất cả phản hồi của 1 bài viết

    Xóa tất cả phản hồi của 1 bài viết (wordpress) * Chỉ áp dụng cho những người đọc mà hiểu https:https://thinhcoi.com/wp-content/uploadshttps://thinhcoi.com/wp-content/uploadsgist.github.comhttps://thinhcoi.com/wp-content/uploads054f39f5ba721bd882ad.git Thay “xxx” bằng ID của bài viết của bạn

  • Cài đặt và sử dụng Memcached trên CentOS 7

    memcached là một hệ thống lưu trữ bản sao các đối tượng (objects) và dữ liệu được truy cập nhiều lần để tăng tốc độc truy xuất. Nó thường được sử dụng để tối ưu hóa việc tải dữ liệu từ cơ sở dữ liệu cho các ứng dụng trên nền web. Thời gian đầu…