Share on Facebook Share on Twitter

This is simple code to use wordpress tags as keywords meta tag. Use can make this as plugin or just put it in funtions.php file.
Ok, let’s start. Open your funtions.php in your themes directory. This funtions.php may vary depend on your using themes, so please try to find correct file. At the end of funtions.php file, before ?> please add the following code:

Please replace “Biên Thùy, Bien Thuy, Lập Trình PHP MySQL, Tâm Linh, Xem Bói, Xem Giới Tính Em Bé” by your own keywords. These keywords will display in the home page.
Now save it and update it to your host.
Next, find header.php file, open it and look up for <?php wp_head(); ?>, before it, insert this line:

That’s it. Very simple. Now, go to your home page and random post to check if it work.
If you got any errors or question, please comment below and Bien Thuy will happy to help you.

 

Same tags:

  1. Cách ẩn các thông báo lỗi (Warnings and Notices) trên WordPress

Other Posts you may be interested in:

  1. Lk Đôi ngả chia ly – Cho vừa lòng em
  2. Tình xưa nghĩa cũ 2 – Jimmy Nguyễn
  3. PHP convert accented characters to ascii
  4. Chặn dải IP Việt Nam truy cập bằng htaccess hoặc nginx
  5. PHP Random String Generator, Random Value from Array
  6. Máy tính văn phòng cần cài những phần mềm gì?
  7. Điều trị ợ hơi, ợ chua, trào ngược dạ dày, thực quản

Last updated on March 10th, 2018 at 06:03 am

Comments

What do you think?

x
This website is using cookies. More info. That's Fine