But am looking for a plugin or a code which can help me with adding
this note every time I write a post.
A shortcode to add that “note” is trivial.
function note_sc_wpse_107275($atts,$content) {
return '<p class="note"><strong>'.$content.'</strong></p>';
}
add_shortcode('note','note_sc_wpse_107275');
Then just add [note]Note content[/note]
to your post body.
That will give you exactly what you see on that site, assuming that I am looking at the right piece of it. By default, it won’t look like anything special. You will need to add style rules to decorate it however you like.
Related Posts:
- Include data from custom table in WP_Query
- Get specific ACF key and value from all posts – no access to DB
- Prioritising and Ordering Posts By Category Name Using A Custom Loop
- Add to search posts query array with post IDS which will appear first
- $wp_query->found_posts; returns zero
- Rewrite URL custom search query
- Is_single() conditional tag returns null in query
- 2 wordpress loops showing 1 post from same post type – how to avoid showing the same post?
- Transient api Caches confused
- How can I override one post and make it display content for another post?
- Include current post into loop
- Is it possible to query from external database? [duplicate]
- Can’t sort custom post type by random
- pre_get_posts – Trying to get property of non-object warning
- Query posts that contain video?
- Get multiple users with meta value in one query and populate WP_User class
- WordPress query posts with multiple post_meta data
- Filter post query to only show direct children of category
- Get a list of posts by specific category
- Show a 404 error page if Public query variable’s value doesn’t exist?
- How to check the array values, what WP_Query has brought to me?
- How to set up hierarchical relationships without using plugins / meta query
- How to add custom meta to ‘pre_get_terms’?
- Set front_page programatically after user login via query, while leaving site option alone
- Shortcode for custom query not returning results when attributes are added
- Should I reset $wp_query?
- Yoast primary category query modification
- Query where ANDing slug values not working
- How to order posts on each different category?
- How to filter query loop block with a search string from the query parameters
- Update query for wp_posts and wp_postmeta
- mysql query order by
- Notice thrown when creating numeric pagination on custom query
- wordpress udpate query not equal to
- Is it possible to retrieve posts depending on meta_key LIKE condition? [duplicate]
- Write WP Query that selects posts that are part of the same two categories
- WP_User_Query orderby meta_val_num
- WP_Query custom order and pagination
- Orderby two meta fields not working
- Custom wp_query – I’m getting ‘all’ post, not the specific post in the query
- How to SQL query posts IDs by categories AND authors?
- Unable to paginate a custom page query
- Include one page/post into query which is already returning posts
- I am officially missing something about transient posts
- Insert images into wordpress post with a query
- meta_query with array as value with multiple arrays
- Why doesn’t my WP Meta Query return any results?
- WP_Query meta compare must include ALL array values
- Start Query from 2nd Post without offset
- Adding pagination to sub-wp_query within a singular post page
- Disable (or limit) queries when certain content (or data) is not needed (or showed)
- Magazine style frontpage with multiple categories/loops and no duplicate posts
- Display upcoming events in the next 30 days by querying posts with timestamp in custom meta
- How to make a query returning pages from multiple parents
- How Can I Always Display A Particular Post First Using WP_Query?
- Where is this query?
- Is there a (preferable built-in) way to check what custom queries are used in a theme?
- meta_query where the meta value is not the post title
- Post incorrectly excluded when using “category__in”?
- Query multiple post types, but different order for each
- Multi-layered WP_Query
- `offset` WP_Query argument dont work via `pre_get_posts`
- Filter products on category AND tag
- Display posts ONLY from the current logged in user and current week/year/month Elementor posts
- Pagination of custom page with custom fields query
- Query pages created by deleted users
- setting offset to category number in archive page
- Woocommerce Get Orders By Meta Value
- Any way to use FETCH_KEY_PAIR with $wpdb?
- pre_user_query vs pre_get_posts
- Exclude post from wp_query based on custom field boolean
- How to do WP_User_Query for Nested Array value Inside Nested Array field
- Get posts that match defined arrays of tags
- How to use wp query in my custom page without including header and footer in wordpress
- Doing $wpdb->get_results returns NULL, doing the same query in my DB returns correct value
- Custom order revolution sliders post base slides as inserted in Specific Posts List field
- Move some posts to end of sort order, even if there is a sort in the wp_Query already
- Adding nofollow to all the post links in get_posts with pre_get_posts or WP_Query
- Meta query orderby meta_value_num sorting by role first
- How to get meta key list efficiently?
- WP Query for all events prior to current date
- How to extend WP_query to a specific table?
- Order posts by tags count?
- Query against multiple locations within single custom post type post
- Why pagination is not working with tax_query param?
- Display the search results like the original pages
- Query Posts | Combining multiple form inputs into query arguments to generate one filter result
- Strange results from WP_Query
- Is there a way to control both Order By and Order query parameters from one input field
- How to get_comments() ordered by date and parent?
- I need query_posts() to order results first by a meta value and then by post ID
- Multi line of $wpdb->query just run 1 time and end the loop right after
- WP_Query & Duplicate entries
- How to query 5 users in random who have published more than 10 posts
- How to query users by post count no less than 10
- WP Query. Ordering posts by another post types meta
- Woocomerce – Order products by float attribute in archive pages
- return child post if available otherwise parent post
- Search has query that will return no results
- Is my code correct?