WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Removing Default Meta from Sidebar (5 posts)

  1. Sarah Elisabeth
    Member
    Posted 2 years ago #

    Hi,

    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.

    http://firstmondayinsider.com/

    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.

    Thanks!

  2. Chip Bennett
    Theme Review Admin
    Posted 2 years ago #

    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_after text, you'll need to modify the comment_form() output. I would recommend starting with the `comment_form() Codex entry.

  3. Sarah Elisabeth
    Member
    Posted 2 years ago #

    Found where it was hiding in the theme options, thanks.

    Here's the code section, how do I modify it?

    $args= array(
    '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>',
    //'comment_notes_after'=>'',
    );

    if ($options [$shortname . '_show_allowed_tags_below_comment_box'] =='no')
    {
    $args ['comment_notes_after'] ='';
    }
    ?>

  4. Sarah Elisabeth
    Member
    Posted 2 years ago #

    I guess the code I added earlier finally worked, it's gone. Thanks!

  5. zabi123
    Member
    Posted 1 year ago #

    @Sarah Elisabeth please help me out im using clear line theme same as u are using i dont know coding just tell me which option to go and which code to remove or cut ?
    i want to remove meta option from my them,e plz help

Topic Closed

This topic has been closed to new replies.

About this Topic