Articles by "Plugin wordpress"
Hiển thị các bài đăng có nhãn Plugin wordpress. Hiển thị tất cả bài đăng
Bạn biết đến JW player và Bạn đang dùng wordpress vậy chắc bạn muốn dùng JWplayer cho site film của mình, vậy các bước làm như sau

1. đăng ký 1 tài khoản JW Player tại http://www.jwplayer.com/sign-up/

2. đăng nhập vào tài khoản rồi  tải trình chiếu film Jw player và copy licence key tại : https://dashboard.jwplayer.com/#/players/downloads

3. Upload JW Player vừa download được về lên 1 thư mục của web:
ví dụ như http://example.com/FOLDER-UPLOADED

4. cài thêm 1 Plugin "JW Player 7 for WordPress’  cài đặt và active plugin này.

5. cài đặt setting cho plugin JW player như hình:
- bạn cần điền đường dẫn đến file jwplayer.js trong thư mục file Up lên 
- tiếp theo điền licence key của ứng dụng vào (lấy từ bước 2)
- tíc áp dụng cho post và page, rồi save setting này lại.

6. ok vậy là xong phần cài đặt Jw player cho wordpress rồi, bạn quay lại và tận hưởng thôi


  • Đầu tiên cần cài Plugin: AccessPress Social Login Lite  here
  • Bước tiếp theo sẽ tiến hành đăng kí client ID & Client Secret

  1. https://console.developers.google.com/iam-admin/projects –> click vào create project

2. Điền Project Name —> bấm Create

3. Một cửa sổ mới hiện ra —> chọn Google+ API


4. Chuyển đến trang mới  —> bấm vào nút ENABLE màu xanh trên cùng

5. bấm vào Go to Credentials
6. Chọn như trong hình

7. Sau khi bấm vào nút [what credentials do i need?] nó dẫn đến trang cấu hình bạn điền cái của bạn như trong hình



8. 
9.

10. 
Copy 2 cái Client ID vs Client Secret vào Plugin là xong.
Chúc các bạn thành công 😛 …. không hiểu cứ email hoặc inbox các kiểu con đà điểu nhá
Nếu bạn dùng mã nguồn mở Wordpress nhưng bạn không muốn người khác biết mình dùng mã nguồn mở này, và tất nhiên nếu bạn dùng plugin "Hide my WP" thì sẽ giấu được việc mình dùng mã nguồn mở WP,
Nhưng nếu bạn dùng thêm Plugin hỗ trợ SEO là YOAST SEO thì lại lộ ra việc mình dùng mã nguồn mở WP do có comment "This site is optimized with the Yoast WordPress SEO plugin" trong phần header của trang web như trong ảnh dưới:


Vậy để xóa dòng này đi ta chỉ cần copy đoạn lệnh sau vào file Function.php là được.
// Add to your Wordpress Theme's functions.php
// Remove All Yoast HTML Comments
// https://gist.github.com/paulcollett/4c81c4f6eb85334ba076
if (defined('WPSEO_VERSION')){
add_action('get_header',function (){ ob_start(function ($o){
return preg_replace('/\n?<.*?yoast.*?>/mi','',$o); }); });
add_action('wp_head',function (){ ob_end_flush(); }, 999);
}
Các Plugin mà các bạn dùng Wordpress nên dùng vì nó rất cần thiết và hỗ trợ bạn rất nhiều.
1. Duplicator : dùng để BackUp wordpres
2. Google Analytics Dashboard for WP : thống kê theo dõi lượng người quy cập trang web https://goo.gl/whxpSh
3. Wordfence Security: bảo vệ trang web của bạn, cảnh báo bạn mỗi khi bị ai tấn cống web
4. WP SMTP: dùng để bạn gửi mail đi từ server.
5. WP Statistics: thống kê theo dõi lượng người quy cập trang web
6. Google XML Sitemap : Tạo file, xem thêm tại goo.gl/OU0e4Y


Các Plugin cần tìm hiểu thêm nhé:
1.Load More Products for WooCommerce: https://vi.wordpress.org/plugins/load-more-products-for-woocommerce/ thêm nút tải thêm các sản phẩm mới
đây là mã nguồn giúp trang web có chatbox liên kết trực tiếp đến fanpage facebook, bạn có thể tùy ý chỉnh sửa theo ý mình

Mã Nguồn:
HTML:
  <div id="fb-root"></div>
  <script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = "//connect.facebook.net/vi_VN/sdk.js#xfbml=1&version=v2.5";
  fjs.parentNode.insertBefore(js, fjs);
  }(document, 'script', 'facebook-jssdk'));</script>
  <style>#cfacebook{position:fixed;bottom:0px;right:8px;z-index:999999999999999;width:250px;height:auto;box-shadow:6px 6px 6px 10px rgba(0,0,0,0.2);border-top-left-radius:5px;border-top-right-radius:5px;overflow:hidden;}#cfacebook .fchat{float:left;width:100%;height:270px;overflow:hidden;display:none;background-color:#fff;}#cfacebook .fchat .fb-page{margin-top:-130px;float:left;}#cfacebook a.chat_fb{float:left;padding:0 25px;width:250px;color:#fff;text-decoration:none;height:40px;line-height:40px;text-shadow:0 1px 0 rgba(0,0,0,0.1);background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAqCAMAAABFoMFOAAAAWlBMV…8/UxBxQDQuFwlpqgBZBq6+P+unVY1GnDgwqbD2zGz5e1lBdwvGGPE6OgAAAABJRU5ErkJggg==);background-repeat:repeat-x;background-size:auto;background-position:0 0;background-color:#3a5795;border:0;border-bottom:1px solid #133783;z-index:9999999;margin-right:12px;font-size:18px;}#cfacebook a.chat_fb:hover{color:yellow;text-decoration:none;}</style>
  <script>
  jQuery(document).ready(function () {
  jQuery(".chat_fb").click(function() {
jQuery('.fchat').toggle('slow');
  });
  });
  </script>
  <div id="cfacebook">
  <a href="javascript:;" class="chat_fb" onclick="return:false;"><i class="fa fa-facebook-square"></i> Hỗ trợ trực tuyến</a>
  <div class="fchat">
  <div class="fb-page" data-tabs="messages" data-href="https://www.facebook.com/kytrang10" data-width="250" data-height="400" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" data-show-posts="false"></div>
  </div>
  </div>


Ảnh Demo cho mọi người xem

DEMO thực tế cho mọi người xem: giasondulux.com

Hướng dẫn sử dụng: 
với những ai dùng wordpress bạn có thể làm như sau: Bạn mở file footer.php của theme bạn đang sử dụng và chèn đoạn mã trên vào cuối file này, trên dòng (hoặc trước dòng mã sau)
Mã:
</body></html>

Lưu ý: Thay địa chỉ url fanpage tương ứng trong code bên trên. (https://www.facebook.com/kytrang10)