• 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

How to change meta og: tags.

Edit app/routes/route.category.php, near the bottom of the file where it reads:

PHP:
        $meta_description = $category['description'] ? $category['description'] : NULL;
 
Sorry, but I don't understand this one. In route.category.php I see this content, but what changes should I make? And what about "og:image"?
 
Og tags gets filled based on what you put in those meta tags, you either edit the route or the theme header.
 
similar problem...

for image I found following line:
'image' => get_image()['url']

and now trying to add the same line for album... something like "cover_image_url":
'image' => get_album()['cover_image_url']

or something else... help, please.
 
Edit theme header.php

Place string
$list_output = function_exists('get_list') ? get_list()->output_assoc : NULL;
higher than
$open_graph = [....

Then change:
$open_graph = [
....
'title' => function_exists('get_meta_description') ? get_meta_description() : CHV\getSetting('website_doctitle'),
'image' => $list_output[0]['display_url'],
.....
];
 
Back
Top