Support » Fixing WordPress » comments page

  • hi.

    <div id="content" class="widecolumn">
    		<div class="navigation">
    			<div class="alignleft"></div>
    			<div class="alignright"><a href="">news</a> &raquo;</div>
    		<div class="post" id="post-18">
    			<h2><a href="" rel="bookmark" title="Permanent Link: PROLOG">PROLOG</a></h2>
    			<div class="entry">
    				<p id="prolog"><img src="img/pioro.gif" alt="Pióro" height="97" width="89" />blabla
    				<p class="postmetadata alt">
    						This entry was posted
    												on piątek, marzec 9th, 2007 at 17:58						and is filed under <a href="" title="Zobacz wszystkie wpisy w kategorii 'Artykuły'" rel="category tag">Artykuły</a>.
    						You can follow any responses to this entry through the <a href=';p=18'>RSS 2.0</a> feed.
    													You can <a href="#respond">leave a response</a>, or <a href="" rel="trackback">trackback</a> from your own site.
    						<a href=";post=18">Edit this entry.</a>

    this is first part of my comment page, but i can’t change it in comments.php becouse it isn’t there. where can i change this code?

Viewing 10 replies - 1 through 10 (of 10 total)
  • You will not find that exact code anywhere. It is in comments.php, but you must know some php to effectively edit it.

    can you help me editing this?
    look at this:
    i want to delete the ‘news’ word on the top of the site, translate ‘ This entry was posted on piątek,….’ and this is all positioned: hidden, so i want to unset it, and add div id=”tresc” for this.

    thank you, rbenson

    Use the theme editor to edit whatever php file is being used as the template for the page (probably index.php).

    I assume “news” is a category title, and if so, to get rid of this you need to find the section in the php file that refers to <?php the_category(', ') ?>, and wipe whatever you think is appropriate (e.g. it might say <a><?php the_category(', ') ?>;</a> or <h3><a><?php the_category(', ') ?></a></h3>, and in this case you could wipe that whole string)

    be cautious, backup first

    Similarly, find the section that says “This entry was posted on piątek” and replace that with whatever you want it to say.

    Add your div in the php as well, and edit the css (also through theme editor) to style it.

    – john

    Man, i know how to edit, but i cant find it in my coments.php file becouse it isnt there… and ‘news’ isn’t a category title but next post title.

    well, man, you need to be more specific with your cries for help.

    “can you help me editing this?”

    Excuse me for thinking that this was asking for help with editing. Now magically you know how to edit?

    You will find the markup in whichever php file is being used as a template. I can’t tell you what file is being used, you should know. If all else fails, open each of your php files and search for “This entry was posted on”.

    – John

    no, you don’t know what’s goin on.
    1) i add a post
    2) i click ‘comments’
    3) i have the content of post and list of comments
    4) i can edit in comments.php only comments, the fragment of file i pasted is the post which i just can’t edit.
    and i ask you how to do it 🙂

    Single post view uses either the single.php file or the index.php file to display the post.
    Learn more:
    (which means there is NO “comments page” – the comments.php template file is included in either of the above mentioned files)

    rudolf45 thank you very much, it is in single.php file. it is what i want ! THX 🙂

    Did you fix it? The display:hidden maybe in your stylesheet not single.php

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘comments page’ is closed to new replies.