• 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

OpenGraph APP_ID

WAS

Chevereto Noob
I'd like to add my APP_ID to my site, however it seems OpenGraph is controlled by the header.php, and only renders specific items. For example, I added the app_id to the primary unextended array, but it isn't rendered.

../overrides/header.php
Code:
$open_graph = [
    'type'            => 'website',
    'url'            => G\get_current_url(),
    'title'            => CHV\getSetting('website_doctitle'),
    'image'            => CHV\getSetting('homepage_cover_images')[0]['url'],
    'site_name'         => CHV\getSetting('website_name'),
    'description'        => CHV\getSetting('website_description'),
    'app_id'            => '440368436861698'
];

I'm assuming I may be overriding wrong?
 
What's the best way to make sure an override is in use without obviously just making some key change to look for?

As I mentioned I'm overriding the "header.php" in ../overrides of the theme.

As you said it is straight forward as I thought it would be but I just seem to be having issues overriding I guess, cause Chevereto should render it, I even see it simply loops through the array and outputs the meta tags.
 
A cheap way is to var_dump and die. There could be a cache aswel, is very common to encouter hard cache issues when servers are configured for production instead of development. It could be the case, so you should start with the obvious checks, just in case.
 
Back
Top