• my blog is https://www.udhetimi.com
    there are shown the last 5 posts on the home page.
    all these posts are written by different authors (as you may see inside the post), but at the home page is shown the same author’s name every where.

    what could i do please ?

Viewing 7 replies - 1 through 7 (of 7 total)
  • What is the difference between the code used on the index.php and single.php for displaying the author?

    Thread Starter huggos

    (@huggos)

    single
    <small>nga: <?php the_author_nickname(); ?>, botuar me: <b><?php the_time(‘d.m.Y’); ?></b></small></div><br>

    index
    <small>by <b><?php the_author_nickname(); ?></b>, <?php the_time(‘d.m.Y’); ?></small></div></td>

    I cannot read it, try again.
    Read the instructions below about posting code: put it in between backticks – `

    Thread Starter huggos

    (@huggos)

    single
    ‘<small>nga: ‘[a]’<?php the_author_nickname(); ?>’’, botuar me: ‘<b>’<?php the_time(‘d.m.Y’); ?>’</b>’</small>’</div>’<br>’

    index
    ‘<small>’by ‘<b>’<?php the_author_nickname(); ?>’</b>’, ‘<?php the_time(‘d.m.Y’); ?>’</small>’</div>’</td>’

    The “backtick” usually is on the same key as the tilde ~ (left top?)

    Anyway, you can see the two files are using TWO ddifferent code. Did you try to replace the non-working code with the working one?

    Thread Starter huggos

    (@huggos)

    nothing… ??

    I took a closer look to your site and it seems you are NOT using the WP theme system… so I am out of ideas.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘The same author ?’ is closed to new replies.