WordPress.org

Ready to get started?Download WordPress

Forums

comments page (11 posts)

  1. maciek773
    Member
    Posted 7 years ago #

    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?

  2. rbenson
    Member
    Posted 7 years ago #

    You will not find that exact code anywhere. It is in comments.php, but you must know some php to effectively edit it.

  3. maciek773
    Member
    Posted 7 years ago #

    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

  4. nakedape
    Member
    Posted 7 years ago #

    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

  5. maciek773
    Member
    Posted 7 years ago #

    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.

  6. nakedape
    Member
    Posted 7 years ago #

    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

  7. maciek773
    Member
    Posted 7 years ago #

    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 :)

  8. rudolf45
    Member
    Posted 7 years ago #

    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)

  9. maciek773
    Member
    Posted 7 years ago #

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

  10. rbenson
    Member
    Posted 7 years ago #

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

  11. maciek773
    Member
    Posted 7 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.