• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • 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