1. Go to this page and download the library: Download hamzaemre/meta.php library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
hamzaemre / meta.php example snippets
// Classımızı dahil ediyoruz.
uşturup atama yapıyoruz.
$meta = new Meta;
// Daha sonra $meta->Start(); fonksiyonu ile json dosyamızı okutup içindeki gerekli değerleri alıp işliyoruz. Mesela "title", "meta", "facebook meta", "twitter meta"
$meta->Start();
$baslik = $data_row['title']; // Blog yazısı için veritabanından gelen başlık...
$meta = new Meta;
$meta->setTitle("Blog yazısı 1"); // 1. örnek
$meta->setTitle($baslik); // 2. örnek
$meta->setMetaTags(array(
"keywords" => "kelime, meta, php, bla bla",
"description" => "Açıklama kısmı..."
));
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.