How can i add note, caution, warning quote inside the text? [closed]

You can hook into the_content filter and add your note after every post. Then you can style it to have a nice quote.

add_filter('the_content','add_my_note');
function add_my_note($content){
    // Write your note here
    $note="
        <div class="my-note">
            <h3>Note Header</h3>
            <p>Note body</p>
        </div>";
    // Append the note to the content
    $content = $content . $note;
    // Return the modified content
    return $content;
}

This will add the note to your post’s content. Now time to style it.

.my-note {
    display:block;
    background:lightgray;
    border-width: 0 0 0 3px;
    border-color:grey;
    color:black;
    border-style:solid;
    padding: 1em;
}
.my-note h3 {
    display:block;
    font-size: 2em
}
.my-note p {
    display:block;
    font-size : 1em;
}

I’ve done some basic styling for you, which you can change to fit your tastes,

tech