How to remove tags and text

Latest Reply from kankra84 at 2013-07-25 19:09:47 Solution
Hi there,

I'm using the Games theme for my blog but I can't work out how to prevent it from displaying the tags at the end of each post and the text (You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>') from under the comments box.


To get rid of HTML tags you have to add the following code to the file style.css:

Thanks heaps! Also, is there a way to prevent the Category name being displayed at the top of the page when you select an item in the menu?
We are ready to help you, but could you clarify your issue?
So when I select an item in the Home Page Menu 'Eg. Reviews' it will show the posts that are categorised that way but also have a title like 'Category Reviews' above the first post. I want to remove that title.
Don't worry, I had a play and worked it out.

Just had to remove this:

<h1 class="page-title"><?php printf( $SMTheme->_( 'catarchive' ), single_cat_title( '', false ) ); ?></h1>
In your comments.php is an array called $args, which includes lots of parameter. The following one, is for the HTML-tags.

'comment_notes_after' => '<p class="form-allowed-tags">' . sprintf( $SMTheme->_( 'comment_notes_after' ), ' <code>' . allowed_tags() . '</code>' ) . '</p>',

change it to 'comment_notes_after' => '',

Leave a reply

Add codeAdd image