go41

Re: Where to put mega tags and description in blog’s template? :: Reply by Joern

von Joern am 19. Jan. 2011 | Keine Kommentare

this position of keywords and description is better now, just one thing:

in here:

meta name="description" content="…the "Maaximum …"

you have to remove this one " (double quotation mark) as this is the pair of opening and closing marks for the content.
this two lines with meta description and content on your site load now with all pages, posts etc.

That’s where we come back to a plugin, which would take for each post or page the respective entries. I would definitely go for a plugin, link I gave you above, man..
the space above your header has nothing to do with that stuff I just talk about, it’s just a normal css issue. your div id head is set to

#head {

font-size: 0.7em;

margin: 15px auto 0;

padding: 0;

width: 960px;

}
reads 15px top margin, make it: margin: 1px auto 0; or margin: 0 auto;
btw, div id head has nothing to do with the head /head tag in the header, it’s just a div with the same name.
____________________
you find me on Google+, Twitter and Facebook

(von: Joern)

Hier noch 5 weitere Ergebnisse dieses Threads:

Where to put mega tags and description in blog’s template?

18. Jan. 2011 (von: omerkhan01)

Hi there, my site is hereI was told you need to put meta tags and description in the header.php fileSo I did thatCode:<meta name="keywords" content="their keywords will be written here" /><meta name="description" content="text">and as you can see my site was…

Re: Where to put mega tags and description in blog’s template? :: Reply by Joern

18. Jan. 2011 (von: Joern)

you should put these lines into the head /head tag which is already there.your header.php should start like this:<!DOCTYPE html PUBLIC "-//W3C//DTD X ...<html xmlns=....<head ....<meta http-equiv="....<title>....PUT YOUR META TAGS HERE (without head /head around as you are in there…

Re: Where to put mega tags and description in blog’s template? :: Reply by omerkhan01

19. Jan. 2011 (von: omerkhan01)

If I replace that part with my meta content and description my site gets pushed down and there is a big black gap between the top margin and my site. How do I make my site's top edge touch the…

Re: Where to put mega tags and description in blog’s template? :: Reply by Joern

19. Jan. 2011 (von: Joern)

okay, this is the first half of arthemia header.phpCode:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>><head profile="http://gmpg.org/xfn/11"><meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" /><title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog…

Re: Where to put mega tags and description in blog’s template? :: Reply by omerkhan01

19. Jan. 2011 (von: omerkhan01)

There is no space before DOCTYPE.I did add the keywords in that spot and the space didn't increase thanks. But do you see the black space between the top of the screen and the white container. How do I move…

Autor:

Du findest mich auch auf Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.

weitere forum Beiträge: