• hi.

    <div id="content" class="widecolumn">
    
    		<div class="navigation">
    			<div class="alignleft"></div>
    			<div class="alignright"><a href="http://cs.elomza.pl/archas/ram/wordpress/?p=26">news</a> &raquo;</div>
    
    		</div>
    
    		<div class="post" id="post-18">
    			<h2><a href="http://cs.elomza.pl/archas/ram/wordpress/?p=18" 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">
    					<small>
    						This entry was posted
    												on piątek, marzec 9th, 2007 at 17:58						and is filed under <a href="http://cs.elomza.pl/archas/ram/wordpress/?cat=3" 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='http://cs.elomza.pl/archas/ram/wordpress/?feed=rss2&amp;p=18'>RSS 2.0</a> feed.
    
    													You can <a href="#respond">leave a response</a>, or <a href="http://cs.elomza.pl/archas/ram/wordpress/wp-trackback.php?p=18" rel="trackback">trackback</a> from your own site.
    
    						<a href="http://cs.elomza.pl/archas/ram/wordpress/wp-admin/post.php?action=edit&amp;post=18">Edit this entry.</a>
    
    					</small>
    
    			</div>
    		</div>

    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.

    Thread Starter maciek773

    (@maciek773)

    can you help me editing this?
    look at this:
    http://cs.elomza.pl/archas/ram/wordpress/?p=18#comment-3
    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

    Thread Starter maciek773

    (@maciek773)

    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

    Thread Starter maciek773

    (@maciek773)

    no, you don’t know what’s goin on.
    look:
    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: http://codex.wordpress.org/Template_Hierarchy
    (which means there is NO “comments page” – the comments.php template file is included in either of the above mentioned files)

    Thread Starter maciek773

    (@maciek773)

    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

    Thread Starter maciek773

    (@maciek773)

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