Editing the keyword and description metatag with WebYep

General discussions about WebYep
KAL
Posts: 1
Joined: Thu Apr 18, 2013 1:32 pm

Editing the keyword and description metatag with WebYep

Postby KAL » Thu Apr 18, 2013 1:37 pm

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

Max
Rank 4
Rank 4
Posts: 163
Joined: Wed Nov 08, 2006 10:39 pm
Location: UK
Contact:

Re: Editing the keyword and description metatag with WebYep

Postby Max » Wed Jul 03, 2013 8:06 am

Hi Kal the

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

stuartspindlow
Posts: 2
Joined: Thu Apr 20, 2017 10:17 am
Contact:

Re: Editing the keyword and description metatag with WebYep

Postby stuartspindlow » Thu Apr 20, 2017 10:27 am

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">

Max
Rank 4
Rank 4
Posts: 163
Joined: Wed Nov 08, 2006 10:39 pm
Location: UK
Contact:

Re: Editing the keyword and description metatag with WebYep

Postby Max » Thu Apr 20, 2017 10:40 am

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


Return to “WebYep (english)”

Who is online

Users browsing this forum: No registered users and 3 guests