Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
392 views
in Q2A Core by

Can I add this code here or will it be an error?

Administration control panel - design - adding <META> description to the home page:

*

*

html

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<meta name="description" content="1000 Questions website: A unique interactive experience that offers users a wide range of questions in various fields, from general knowledge to science and culture. Explore, think, and participate in thought-provoking discussions.">

<meta name="keywords" content="1000 questions, questions, interaction, knowledge, culture, learning, discussions">

<meta name="author" content="Ask 1000 Team">

<!-- Open Graph Meta Tags -->

<meta property="og:title" content="1000 Questions - Interact and Learn">

<meta property="og:description" content="1000 Questions website: A unique interactive experience that offers users a wide range of questions in various fields. Explore, think, and participate in thought-provoking discussions.">

<meta property="og:image" content="https://www.ask-1000.com/logo2.png">

<meta property="og:url" content="https://www.ask-1000.com/">

<meta property="og:type" content="website

Q2A version: 1.8.8

3 Answers

0 votes
by
edited by

Edit:

No, that is only to output the homepage description itself, not the full meta tags.

To add those meta tags to the homepage only you'll need append them to the  head_metas()  function on your SnowFlat theme, file qa-theme.php , line 60.

public function head_metas()
{
    $this->output('<meta name="viewport" content="width=device-width, initial-scale=1"/>');
    parent::head_metas();
    // Add your meta tags
    if ($this->template == 'qa' && $this->template == 'home') {
        $this->output('
            <meta name="author" content="Ask 1000 Team">
        ');

    }
}

Note: The og:image size should be at least 200x200px tho.

by
Thank you....
0 votes
by

Yes, from this place, but my advice: do not add all of this to the page

You can add something like the following

<meta name="keywords" content="تفاعل,استكشف،فكر,جاوب,مناقشات,حصص,ترفية,العاب,مواد,فن،مهن," />

by
+1
Thank you....
0 votes
by
You can use ultimateseo plugin they provide this option
...