How to remove tags and text
11 years ago
Michelle Goldsmith
Member
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. Cheers. |
11 years ago
Alice
Support Service
Hi!
To get rid of HTML tags you have to add the following code to the file style.css: |
11 years ago
Michelle Goldsmith
Member
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?
|
11 years ago
Alice
Support Service
Hi!
We are ready to help you, but could you clarify your issue? |
11 years ago
Michelle Goldsmith
Member
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.
|
11 years ago
Michelle Goldsmith
Member
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> |
11 years ago
kankra84
Member
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
Search by forum
SMThemes.com Support
-
Categories
- Framework
- Themes
- Affiliate Company
- Sponsorship Useful pages
- How to start using our themes
- Contacts