go41

Re: Adding Keywords in arthemia theme :: Reply by Joern

von Joern am 17. Mai. 2011 | Keine Kommentare

The title tag in arthemia is generated in header.php in this line:

<title><?php bloginfo(’name‘); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
This is a formatting used a while ago, the wp_title works different now:

A separator string can be defined and beginning with Version 2.5, that separator can be designated to print before or after the title of the page.
Replace the code above with:

<title>
<?php wp_title(‚|‘,true,’right‘); ?>
<?php bloginfo(’name‘); ?>
</title>
and your titles will look like:

HTC Holiday leaked ROM revealed specification | Tech Solutions and Library
Changing the pipe symbol in the code to ‚-‚ (wp_title(‚-‚,true,’right‘); will show:

HTC Holiday leaked ROM revealed specification – Tech Solutions and Library
Details here: http://codex.wordpress.org/Function_Reference/wp_title
Editing your Arthemia header.php you should remove the line after the title /title

<meta name="generator" content="WordPress <?php bloginfo(‚version‘); ?>" /> <!– leave this for stats –>
this line is obsolete and appears twice in your site’s source code
And also go for "Pretty Permalinks" as explained here:

http://codex.wordpress.org/Using_Permalinks
your links will not anymore look like: ….ban.com/?p=405

but look something like: ….ban.com/tech-news/the-all-new-iphone-4s
about next & previous post see next reply…
____________________
you find me on Google+, Twitter and Facebook

(von: Joern)

Hier noch 7 weitere Ergebnisse dieses Threads:

Adding Keywords in arthemia theme

17. Mai. 2011 (von: sim_a1)

hi joern i got a lot of help from you and i really appreciate that..im here to again disturb you..i got a question regarding the theme.At my Homepage the title is tech solutions and library which i entered while installing.…

Re: Adding Keywords in arthemia theme :: Reply by Joern

17. Mai. 2011 (von: Joern)

The Next and Previous Posts link for moving through your site control is typically found at the bottom or top of your single post.So single.php is the file to add this code.As sample you might go to:http://themes.go41.de/?wptheme=aranovo2to select a theme…

Re: Adding Keywords in arthemia theme :: Reply by sim_a1

17. Mai. 2011 (von: sim_a1)

Thank you very much for your help. It has been a great help. Thre is only on eproblem im facing now. When im trying to use custom permalink on my localhost as /%postname%/%post_id%/ but it isn't working. the pages are…

Re: Adding Keywords in arthemia theme :: Reply by Joern

17. Mai. 2011 (von: Joern)

next - previous just under the post:add the code I gave you just above<div id="comments"> <?php comments_template(); ?> </div>in single.php, it should!? appear before the comment stuffThe permalinks on a localhost:In 'Using Permalinks' on wordpress.org you can find a section…

Re: Adding Keywords in arthemia theme :: Reply by sim_a1

20. Mai. 2011 (von: sim_a1)

That was so helpfull. But i just can't figure out how to rewrite .htaccess..but im not able to do that.and also one important question i want to ask that is i change the permalink then will it affect previous links…

Re: Adding Keywords in arthemia theme :: Reply by Joern

20. Mai. 2011 (von: Joern)

about .htaccess I would say you find all details in the WordPress Codex:http://codex.wordpress.org/Using_PermalinksIf you use a ftp programm you might not see this file, as it's hidden. You have to set the prog to show hidden files...switching from Wor... Weiterlesen…

Re: Adding Keywords in arthemia theme :: Reply by sim_a1

21. Mai. 2011 (von: sim_a1)

Thanks once again for your help, i really appreciate that. I also want to thank you for reading out that article. Samsung Ace does have the gorilla glass display, you can check it here http://www.corninggorillaglass.com/featured-products. you can also ... Weiterlesen…

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: