This can be done easily by using the filter the_title. Below is the custom code which you can use in your theme’s functions.php file.
function new_title( $title ) {
$new_title="nic " . $title;
return $new_title;
}
add_filter( 'the_title', 'new_title' );
The above will add “nic” prior to post title.
Similarly you can use the icon image in place of the text ‘nic’ and style accordingly to achieve what you are looking for.
Hope it helps!
Thanks
Related Posts:
- Best collection of code for your 'functions.php' file [closed]
- Tips for using WordPress as a CMS? [closed]
- is_plugin_active() returning false on active plugin
- Unable to check if plugin is active
- Preserve custom URL parameter on more pages
- Sort plugins by rating
- How to Delete All regenerated thumbnails but keep the original ones?
- Why do I get this “plugin does not have a valid header” error?
- if plugin is active? check if plugin is enabled or not?
- How to upload image with simple form?
- Passing .pem and .key files in cURL doesn’t work in WordPress
- Is there a limit on the size of a WP page?
- A Blog’s changelog
- Adding a widget programmatically
- How do I create a custom wordpress slideshow plugin?
- Updating a WordPress plugins breaks SVN
- Seeking clarification on page request life-cycle
- Modify the_content after the more tag
- Template plugin for blog posts? [closed]
- How is the ” wp_get_update_data ” function used?
- How do you install the automattic developer plugin under localhost for mamp when there is an error, deprecated?
- Translating plugin inside the theme [closed]
- Admin Dashboard with Custom Tab for Client
- reorder plugin menu position
- How can I serve a text file at a custom URL
- How to add custom link to menu in wordpress programmatically?
- Plugin not saving values when placed in a folder within /wp-content/plugins
- How to integrate plugin in WordPress theme
- Set WordPress TinyMCE Editor To Readonly
- UnWanted Custom field added in the wp page edit area
- WordPress download manager plugin showing attached file is missing/deleted?
- Display update notification messages like ‘What’s New’
- Gutenberg block can’t save richtext
- How can I make 2 plugins that include different versions of a framework to both use the latest version?
- Changing page URL and connect newsletter to MailChip
- Git Hosting for WordPress SVN Plugin Repository [closed]
- How to enable AMP for custom single template with custom database
- Is there a directory my plugin can write files to that cannot be viewed via the browser/url?
- How to exclude certain files from the plugin editor?
- WordPress and a secondary database?
- How do I use wp_editor() in widget form?
- How to create an option page for this simple plugin
- How to reorder and display a feed to be chronological?
- Woocommerce: how to change ‘Cart Updated’ message [closed]
- _prime_post_caches in wordpress
- Can some vulnerabilities in plugins be exploited even when the plugin is inactive?
- Stop Plugin from Getting Styles from Other Plugin
- Plugin settings won’t save changes
- Custom shortcode for displaying user based on a role parameter
- How to execute plugin and theme updates from a web hook / endpoint?
- WordPress Plugin Insert Html Code with Shortcode
- How to remove index meta tag
- don’t call ajax if not plugin page
- WordPress gtag.js with User ID tracking
- wp_loaded with static Singleton
- trigger email when post is published by someone a user follows
- WP Rest API and json_decode()
- Disable submit button order
- Install old version of plugin from admin panel?
- insert an html tag using php plugin
- Rename Smart YouTube’s httpv back to http for all posts
- Constructing a Pay to Download music website with wordpress
- how i could put my id in the meta field ‘meta-value’
- Create category for each user
- Avada Live is broken on WP
- how i retreive the post content while editing it in real time however the editor is tinymce or gutenberg
- How page with random php file with query params generated
- location lock wordpress website
- New Plugin Info request
- Membership and search criteria
- WooCommerce Product Table – filter query on attributes
- Why does plugin_url append absolute file path?
- Disable WC Bookings automatic order completion [closed]
- Insert Google Maps HTML in WordPress
- WP nonce verification
- Call to undefined function add_action() in plugin
- How to make my wordpress site Multi-region
- Created wordpress using quick install on Hostgator but unable to access the URLS
- How to add separator between default and custom panels in WordPress customizer?
- Editing a built plugin: How to activate it only on a single post page
- Restrict my pages from public
- Migrating site from stage to production server without particular dev. plugins?
- Using “excerpt_more” filter for a specific post type
- w3 total cache and post__not_in
- Plugin programming: Uploading a file to a specific folder
- Shrinktheweb plugin problem
- Backup Buddy Questions
- How do i use postMash to order posts in a custom loop?
- Publishing videos and images from blog to facebook
- Get post id in Post Page within Wp-admin
- Simple WordPress function / plugin to redirect a site
- Remove base from the custom post type URL [duplicate]
- How to declare this function correctly?
- How to show in front End images using Visual Composer attach_images?
- Plugin version number after code rewrite [closed]
- add_meta_box showing blank screen in my page
- Option value not getting updated until page refresh in WordPress
- How to create an Info Box on WordPress [closed]
- Use inline callable for hooks and filters
- Error in using ‘admin_enqueue_scripts’ action through a class