• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • ⚠️ Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • ✅ Confirm that the server meets the System Requirements
    • 🔥 Check for any available Hotfix - your issue could be already reported/fixed
    • 📚 Read documentation - It will be required to Debug and understand Errors for a faster support response

Meta description

lorigana

Chevereto Member
Dear,
After inclue this code to header in custome_hooks :
PHP:
<meta name="keywords" content="<?php echo get_meta_description(); ?>, bla bla bla">
<meta property="og:title" content="<?php echo get_doctitle(); ?>"/>
<meta property="og:description" content="Click to view <?php echo get_meta_description(); ?> on mysite" />

My home page display Blank site, view source and i see :
HTML:
<!DOCTYPE HTML>
<html xml:lang="vi" lang="vi" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Free hosting and images">
<meta name="generator" content="Chevereto 3.1.2">
<title>UpHinh.net - Fast and Furious</title>
<link rel="stylesheet" href="http://uphinh.net/lib/Peafowl/peafowl.css">
<script src="http://uphinh.net/lib/Peafowl/js/modernizr.min.js"></script>
<script src="http://uphinh.net/lib/Peafowl/js/css_browser_detector.js"></script>
<script>(function(w,d,u){w.readyQ=[];w.bindReadyQ=[];function p(x,y){if(x=="ready"){w.bindReadyQ.push(y);}else{w.readyQ.push(x);}};var a={ready:p,bind:p};w.$=w.jQuery=function(f){if(f===d||f===u){return a}else{p(f)}}})(window,document)</script><link rel="stylesheet" href="http://uphinh.net/app/themes/Peafowl/style.css">
<link rel="stylesheet" href="http://uphinh.net/app/themes/Peafowl/custom_hooks/style.css">
<link rel="shortcut icon" href="http://uphinh.net/app/themes/Peafowl/theme-img/favicon.png">
</head>
That's all, no body, no footer
 
Closed / is missing
inserted / but same problem :(

PHP:
<?php
if(!defined('access') or !access) die('This file cannot be directly accessed.');
/* Add here your custom header code */
<meta name="keywords" content="<?php echo get_meta_description(); ?>, uphinh.net, up hinh, upanh, up anh, up hình" />
<meta property="og:title" content="<?php echo get_doctitle(); ?>"/>

<meta property="og:description" content="Click to vew  <?php echo get_meta_description(); ?>  on abc.com" />
?>
 
php code should write like this way as i think
<?php
if(!defined('access') or !access) die('This file cannot be directly accessed.');
{
?>
/* Add here your custom header code */
<meta name="keywords" content="<?php echo get_meta_description(); ?>, uphinh.net, up hinh, upanh, up anh, up hình" />
<meta property="og:title" content="<?php echo get_doctitle(); ?>" />
<meta property="og:description" content="Click to vew <?php echo get_meta_description(); ?> on abc.com" />
<?php
}
?>
 
inserted / but same problem :(

PHP:
<?php
if(!defined('access') or !access) die('This file cannot be directly accessed.');
/* Add here your custom header code */
<meta name="keywords" content="<?php echo get_meta_description(); ?>, uphinh.net, up hinh, upanh, up anh, up hình" />
<meta property="og:title" content="<?php echo get_doctitle(); ?>"/>

<meta property="og:description" content="Click to vew  <?php echo get_meta_description(); ?>  on abc.com" />
?>

php code should write like this way as i think
<?php
if(!defined('access') or !access) die('This file cannot be directly accessed.');
{
?>
/* Add here your custom header code */
<meta name="keywords" content="<?php echo get_meta_description(); ?>, uphinh.net, up hinh, upanh, up anh, up hình" />
<meta property="og:title" content="<?php echo get_doctitle(); ?>" />
<meta property="og:description" content="Click to vew <?php echo get_meta_description(); ?> on abc.com" />
<?php
}
?>
 
Back
Top