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:
- Custom plugin appears outside of the sidebar container
- accessing parent variables in child construct without executing action in parent
- What are the Best Practises When Using AJAX in Plugin Development?
- Show Sitename on Yoast SEO Title tag [closed]
- Plugins in WP_Options but not Active
- Create a single website with 3 theme options in wordpress
- Does having more than 30 Admin Ajax affects site performance (plugin)?
- How Can I Safely Remove WP-Super Cache without messing my site up? [closed]
- Check if user is on backend page
- How to Resize the Custom Post Images?
- React error #231with Custom Blocks after upgrade to WP 5.5
- Super slow plugin page (lots of error 500)
- Background Music WP [closed]
- WordPress failing to update plugins
- Image tooltip enable/disable
- Error trying to update plugins
- Upload files to the plugin menu
- I can’t get blog posts into ‘featured areas’ on homepage
- Hosting multiple sites
- do_action in conditional
- Show WordPress Plugin Menu(Admin) To Editor
- Call another page in forms
- How many MySQL queries per visit I should normally have?
- Attachments broken after giving WordPress its own directory
- Want to modify a Plugin – Tweetily – Can I make it tweet a Custom Field instead of Post Title?
- WordPress plugin with its own “site”/theme
- Hook functions for Wp e-commerce? [closed]
- Multisite Plugin – Access options (wp_options) on child sites
- Plugin Add New Installer failing
- Chat support plugin? [closed]
- Problem enabling the user to edit Markdown and displaying the HTML output (WMD Editor plugin for WordPress)
- Displaying the facebook profile picture in the WP-FB AutoConnect widget?
- how does ‘init’ /’parse_request’ hook work for wordpress?
- Service status plugin
- How can I disable an attribute from a Gutenberg block included in a template via InnerBlocks?
- Why the internal link get converted into a comment?
- Elementor Sidebar not loading when PRO elements plugin is active
- how can we migrate wordpress 5.9 website from aws ec2 to new installed wp 5.9 oci compute
- Import Recent Posts Only and Ignore old ones if exist
- How to add gallery to post and make seperate album page with gallery link to post?
- Editing a coupon generating plugin
- Share login credential with QR code
- Shortcode do not return the right data in post
- Display pagination in reservation Plugin and and Print table as pdf
- Undeletable column in Posts
- Search in WordPress
- What is the right way to populate a dropdown from MySql?
- prevent anonymous access to WordPress site (non-admin site)
- Content disappears when searching with Search & Filter plugin
- Fatal error: Class ‘RDTheme’ not found
- How to direct wordpress traffic to specific page
- Scroll to ID broken in main menu
- Avoid WordPress header bar when form submission using admin_post in the frontend
- How to fix shifting header after installing speed / cache plugins?
- Set “Open in New tab” as default option
- Generate and send ICS file through WordPress
- PHP message: WordPress database error Deadlock found when trying to get lock
- Field salespeople task management
- Multi Language Code Snippet in WordPress
- WP Plugin permissions – create new files
- How to capture customer’s credit card details via PayPal on my checkout page?
- Bootstrap carousel – Using shortcode inside enclosing shortcode
- Can’t manage plugins anymore
- Creating Admin Submenu Page via Class Method
- How to store multiple instances of the plugin’s options for various shortcodes
- ClassLoader.php issues after moving to a new host
- plugins break after moving wp-content folder
- How to populate a Mailchimp newsletter with latest events from WordPress plugin EventOn?
- Installed plugins page do not show in wordpress dashboard
- Change localization only for plugin
- How to get author developer link on plugin page
- wp_schedule_event need to deactivate plugin changing recurrance
- How do plugin updates work?
- How can i see/log all requests coming from a registration form (not from the UI)?
- Show all posts of all categories but excluding a category on custom blog page with pagination of my theme
- ajax request not returning the result
- adding image in the header of my dev widget
- passing ‘&’ in return function of add_filter
- Is there going to an issue running different features of WP site in different subdomains?
- Session alternative for plugins (due to caching)
- WordPress 3.5 install error
- Is there a plugin that will override the “Error establishing a database connection” message? [closed]
- List all subpages hierarchically based on the currently viewed page, top ancestor levels included
- Shortcodes can only be used in Pages, not Posts
- how do you point ‘screen_function’ to a function in the same class? [closed]
- Plugin with custom domain
- Create New Admin Menu Section – Like how custom post type works, in a way
- Customize Multi-Column Tag Map to fetch specific post-type
- Combining JS files to one script
- How to clean up unnecessary file inside wp-content/plugins/wordpress-seo?
- How can I modify the colors of my theme for a single section of my site? [closed]
- I Need To Display A Specific Product (Called By Meta Field) On It’s Current WooCommerce Category Page
- query_vars in plugin when using custom permalinks
- How to modify submit button on GravityForms
- add_action() not working for admin
- WordPress Plugin translation not working EN To FR
- Can’t change login logo & css – older plugin data blocking?
- i have updated my wordpress to 6.3 and getting these errors. please help
- Custom page template from plugin does not work with pre-installed themes in WordPress 6.6.1
- Framework plugin inside wordpress