to get the author displayed you have to add: <?php the_author(); ?>
in arthemia index.php (main page) best in div class="meta"
Code:
<div class="meta">[<?php the_time('j M Y') ?> | <?php comments_popup_link('No Comment', 'One Comment', '% Comments');?> | <?php if(function_exists('the_views')) { the_views(); } ?>]</div>
for example like this:
Code:
<div class="meta">[<?php the_time('j M Y') ?> by <?php the_author(); ?> | <?php comments_popup_link('No Comment', 'One Comment', '% Comments');?> | <?php if(function_exists('the_views')) { the_views(); } ?>]</div>
I would just put in single.php (with the article)
Code:
<div id="stats">
<span><?php the_time('j F Y') ?></span>
<span> by <?php the_author(); ?> </span><!-- this is the new line -->
<span><?php if(function_exists('the_views')) { the_views(); } ?></span>
<span><?php comments_number('No Comment', 'One Comment', '% Comments' );?></span></div>
____________________
you find me on Google+, Twitter and Facebook
(von: Joern)
Hier noch 7 weitere Ergebnisse dieses Threads:
Query regarding slidshow using jquey
28. Apr. 2011 (von: sim_a1)
hi im using arthemia free theme. and your post for slideshow using jquery was very helpful i must say. But i got stuck in one situation.The code that you provided for index.php I cant figure out where exactly i have…
Re: Query regarding slidshow using jquey :: Reply by saber210
28. Apr. 2011 (von: saber210)
is this code you talking about?Code:<?php if(file_exists(TEMPLATEPATH . '/myslider.php')) { include (TEMPLATEPATH . '/myslider.php'); } ?>paste this below theCode:<?php get_header(); ?>Picture are not showing on localhost.. but if you uploa... Weiterlesen →
Re: Query regarding slidshow using jquey :: Reply by Joern
28. Apr. 2011 (von: Joern)
I guess you refer to this post:viewtopic.php?f=1&t=79as I explained I inserted the code to load the slider<?php if(file_exists(TEMPLATEPATH . '/featuresslide.php')) {include (TEMPLATEPATH . '/featuresslide.php'); } ?>below the part which loads the category part.This is in my sample-site in index.php just…
Re: Query regarding slidshow using jquey :: Reply by sim_a1
28. Apr. 2011 (von: sim_a1)
Well im first trying to get it work on my pc i.e localhost but it did not work out. so i cant provide you the link. i hope you understand. Also i would like to ask you one question if…
Re: Query regarding slidshow using jquey :: Reply by saber210
28. Apr. 2011 (von: saber210)
@sim_41The image will not show if you use localhost.. I already tried that. @JoernThemes on your site are not currently working.. It produces errors and nothere.php is missing from the theme pack..I tried to study how your 2 column post…
Re: Query regarding slidshow using jquey :: Reply by sim_a1
1. Mai. 2011 (von: sim_a1)
Well thanks alot for your help and i really appreciate that.. Now the author name is displayed in every article..As saber said that the images will not appear if im doin it on localhost.. i understand that.. but there is…
Re: Query regarding slidshow using jquey :: Reply by Joern
2. Mai. 2011 (von: Joern)
@sim_a1some posts above:viewtopic.php?f=1&t=266I explained where I use it.See sample on: GONEthis slider (slideshow using jQuery cycle for WordPress (Arthemia) under the category-bar!) uses only the width of the content, the sidebar is still beside... Weiterlesen →