Hi,
how do i add description and keywords with WebYep?
I found this post viewtopic.php?f=6&t=1413
But where do I have to add this code snippet?
And how can I add description?
Thanks!
Best regards,
KAL
Editing the keyword and description metatag with WebYep
Re: Editing the keyword and description metatag with WebYep
Hi Kal the
goes in the head of your document and then you have
which goes somewhere on your page
what this does is control the first 'code element' content. This is needed because you wont be able to see that part from within a browser environment hence why you need two parts
So to recap: the first is inserted in the head part of your document and the second (to control the meta content from with a browser) needs to be added somewhere in the body of the document.
all the best max
Code: Select all
<meta name="keywords" content="<?php if (!webyep_bIsEditMode()) webyep_shortText("keywords", false); ?>">
goes in the head of your document and then you have
Code: Select all
<?php if (webyep_bIsEditMode()) { echo "Keywords: "; webyep_shortText("keywords", false); } ?>
which goes somewhere on your page
what this does is control the first 'code element' content. This is needed because you wont be able to see that part from within a browser environment hence why you need two parts
So to recap: the first is inserted in the head part of your document and the second (to control the meta content from with a browser) needs to be added somewhere in the body of the document.
all the best max
-
- Posts: 2
- Joined: Thu Apr 20, 2017 10:17 am
- Contact:
Re: Editing the keyword and description metatag with WebYep
Hi,
Edit the meta tags with WebYep near the top. Use a unique title for each page. Edit using Notepad in Windows, TextEdit on Mac or any plain text editor:
<!-- EDIT THE NEXT THREE LINES -->
<title>Website Template</title>
<meta name="Description" content="Place your website description in this area. This is read by some search engines.">
<meta name="KeyWords" content="add, your, keywords and phrases in this area, separated, by, commas, this, is read by only a, few search, engines">
Edit the meta tags with WebYep near the top. Use a unique title for each page. Edit using Notepad in Windows, TextEdit on Mac or any plain text editor:
<!-- EDIT THE NEXT THREE LINES -->
<title>Website Template</title>
<meta name="Description" content="Place your website description in this area. This is read by some search engines.">
<meta name="KeyWords" content="add, your, keywords and phrases in this area, separated, by, commas, this, is read by only a, few search, engines">
Re: Editing the keyword and description metatag with WebYep
Hi stuart I think you may have been confused about what Kal was asking
Kal wanted to control the page title and page meta description with WebYep from within the browser environment not via a text editor
Kind regards Max
Kal wanted to control the page title and page meta description with WebYep from within the browser environment not via a text editor
Kind regards Max