how hide hr tag in post wordpress

To hide the hr tag in a WordPress post, you can follow these steps:

  1. Log in to your WordPress dashboard.
  2. Navigate to the post editor where you want to hide the hr tag.
  3. Switch to the Text editor mode by clicking on the "Text" tab in the top-right corner of the editor.
  4. Locate the hr tag within the post content. It will appear as "
    " or "
    ".
  5. Add a CSS class to the hr tag by modifying the HTML code. For example, you can change "
    " to "
    ".
  6. Save the changes made to the post.
  7. Open the theme's style.css file for editing. You can access this file by going to Appearance > Editor in the WordPress dashboard.
  8. Add the following CSS code at the end of the file:
.hidden-hr {
    display: none;
}
  1. Save the changes made to the style.css file.
  2. Refresh the post page on your website, and the hr tag should now be hidden.

By following these steps, you will be able to hide the hr tag in a WordPress post.