[Resolved] Removing Default Meta from Sidebar
I normally don’t have too much trouble removing the default Meta data from the sidebar of my wordpress blogs, but this one isn’t cooperating. It doesn’t actually show where my sidebar widgets are in the back office. I’ve tried adding it, deleting it, moving it to inactive widgets, but it still shows on my site.
I’m using the Clear Line theme.
I’m also trying to remove the tacky “You can use this HTML code” from under the comment box. I’ve tried some suggested fixes, nothing’s worked.
You’re seeing default output. Basically, to make that default content go away, you need to add Widgets to the appropriate sidebar.
The appropriate sidebar will depend on what layout you’re using. Take a look at the template part files in /layouts if you need some hints regarding which sidebar is displaying the meta content by default.
To remove the
comment_notes_aftertext, you’ll need to modify the
comment_form()output. I would recommend starting with the `comment_form() Codex entry.
Found where it was hiding in the theme options, thanks.
Here’s the code section, how do I modify it?
‘fields’ => apply_filters( ‘comment_form_default_fields’, $fields ),
‘comment_field’ => ‘<p class=”comment-form-comment”><label for=”comment”>’ . _x( ‘Comment’, ‘noun’ ) . ‘</label><textarea id=”comment” name=”comment” cols=”60″ rows=”10″ aria-required=”true”></textarea></p>’,
if ($options [$shortname . ‘_show_allowed_tags_below_comment_box’] ==’no’)
$args [‘comment_notes_after’] =”;
I guess the code I added earlier finally worked, it’s gone. Thanks!
- The topic ‘[Resolved] Removing Default Meta from Sidebar’ is closed to new replies.