go41

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

von Joern am 17. Mai. 2011 | Keine Kommentare

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=aranovo2

to select a theme using these links on bottom of single posts

Click here any single post and find below the comment stuff links to next and previous posts
The code I use here is:

<div class="navigation">
<div class="right"><?php next_post_link(‚%link &raquo;‘) ?></div>
<div class="left"><?php previous_post_link(‚&laquo; %link‘) ?></div>
</div>
This code is inserted in single.php before the last /div, the end of this file looks finally like this:

<p>Sorry, no posts matched your criteria.</p>

<?php endif; ?>
<div class="navigation">
<div class="right"><?php next_post_link(‚%link &raquo;‘) ?></div>
<div class="left"><?php previous_post_link(‚&laquo; %link‘) ?></div>
</div>
</div>

<?php get_sidebar(); ?>
<?php get_footer(); ?>
Some other samples like:

previous post: A Story for you and All next post: A Story for Only you

<?php previous_post(); ?> <?php next_post(); ?>
or

« « A Story for you and All | A Story for You » »

<?php previous_post(‚&laquo; &laquo; %‘, “, ‚yes‘); ?>
| <?php next_post(‚% &raquo; &raquo; ‚, “, ‚yes‘); ?>
you find in WordPress codex:

http://codex.wordpress.org/Next_and_Previous_Links
____________________
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 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…

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: