removing numbers from comment page
-
your comment.php file might have
<ol> ... </ol>tags
or oredered list..try to replace them with
<ul> .. </ul>now there’s bullets 🙁
define a class inside a
<ul>tag to remove the bulletsor remove that <ul tag and define a class to style that comment
thanks. but how do i do that. i understand the “make a class” part but how would i start that.
.ul {then what would i put just to simply make there appear no bullet
no. dont edit that, it maybe a universal tag. just simply delete that
- ..
tags and replace it with a span tag defining a class.
<span class="commentx"> ... </span>then insert/modify your style.css
.commentx { background-color: #000000; }PS: back up the file you are editing..
that didn’t work.
coding from comments page:
<span class="commentlist"> <?php wp_list_comments(); ?> </span>coding from style sheet:
.commentlist { padding: 0; text-align: justify; } .commentlist p { margin: 10px 5px 10px 0; }i think you are editing single-post template..
edit the comments.php with this line.
<?php comment_text() ?>some kickers and byline may be present on it.
enclose them all with that tag.
if it didnt work, give me your link.
i really don’t know what is going on if there is more than one comments.php page lol
link: site
ok i take a look at it. my page uses number. site
anyway,
edit comments.php and look for:<span class="commentlist"> <li class="commentreplace the `<li class=”comment
with
<div class=comment
The topic ‘removing numbers from comment page’ is closed to new replies.
(@smuffle89)
16 years, 11 months ago
sorry if this has been asked before. i don’t quite know ho to search for it in the forums unfortunately. basically, on my comment forms, my comments are numbered (1,2,3…) and I don’t want that. Is there a piece of coding in the comments page or is this an automated WordPress function I can edit in my account?