As of WordPress version 5.6, any posts or pages has options on the editor to include any custom scripts/styles and meta tags to the header of the page. So if you put your <link rel”icon” href=”favicon.png”/> it should work.
You upload your favicon into the media and after you uploaded the media. Refer the uploaded favicon png image reference directly to the link.
Example of favicon in header block
<link rel="icon" href="https://domainname.com/uploads/2020/10/10/favicon-32x32.png" />
Related Posts:
- How to add iOS & fav icons to the theme?
- Twentyten Child Theme: header images display messed up in admin panel
- Hide author info in single posts by certain users
- Add multiple custom fields to the general settings page
- Add tags to the section via functions.php
- When should you, and when should you not, use wp_list_pluck()?
- Is it possible to remove the “standard” post format?
- Woocommerce add to simple product attribute programmatically [closed]
- Issue with get_theme_mod returning a blank value instead of the saved value
- How to remove row-actions from pages table?
- opening links in new tab using – add_filter( ‘the_content’, ‘make_clickable’);
- Modify search function in WordPress (TwentyTwelve)
- Auto delete WordPress images/thumbnails (all sizes) and featured after X days/hours, or similar?
- Change meta tags programatically
- How to fix a theme with page.php Default Template that accidentally deleted?
- Set default options for inserting media
- Remove tag on my RSS Feed
- How do I change parameters without changing the core
- Problem with extract() with custom shortcode
- add sidebar area to header of child theme
- Theme-Config tab in admin Pannel?
- Creating loop within functions.php
- How to Add a Random Custom Gravatar in the WordPress Comments?
- adding custom classes for tables
- Pass Shortcode Attribute to footer Script
- How to mass-delete inline styles in WordPress custom post type automatically?
- Remove the deleted users avatar from list
- PHP files included in functions.php don’t seem to work
- How Can I Expand the WordPress Customize window without any Plugin?
- Set quantity of woocommerce product on page visit [closed]
- wp_dropdown_categories and custom attribute
- str_replace function in theme
- Automatically wrap multiple images in div
- Ajax not working properly
- Include default functions and methods
- How can I remove the main description text box in a Woocommerce product editor page? I only use the “Product short description” text box [closed]
- How can I modify all existing tags while keeping the urls themselves?
- Best practices regarding the creation of custom widgets?
- Unable to login using username
- Word Press – Dynamic Content [closed]
- different style sheet for just one page template
- Condition OR for current user ID
- Auto Generated HTML source code formatting
- Adding javascript to functions.php causes problems with my template
- Where do I store custom functions that call custom page template files?
- Wp-query Order By problem
- login_headertitle is deprecated since version 5.2.0
- How can I pass a shortcode value to the head in wordpress functions.php
- Add attribute only to first image of every post via functions.php
- The_content and Preg_replace in loaded Iframe [closed]
- two search forms on the same page
- Insert a field with PREG_REPLACE – strange behaviour
- How to echo Widget Title in Custom Frontend-Template Box
- New checkbox in custom widget isn’t saving data
- Linking Javascript in functions.php file
- how to display a page before the home page
- loginout function customization
- Function to echo (or display?) wordpress tags in the head section
- Function to check if custom page is used by page?
- implementing a centralized content “show-do-not-show” toggle?
- How would I make a function to dynamically determine if user is logged to change navigation menu text?
- How to display this meta data (an array) in form of a function (created with a custom write panel)?
- WordPress – using sessions?
- How to remove font awesome from loading in wp theme
- Header menu aligned right on all pages except for single-post page [closed]
- Extend WordPress Audio Widget to accept HLS (.m3u8) URLs
- Shortcode to insert default text and change one word throughout it?
- I want to customize the_posts_navigation function by replacing prev and next with images
- How Can I Concatenate A String With One Of My Custom Field Value Before Saving The Post?
- How would I correctly implement a new if statement in a child functions file?
- WordPress Ajaxifying not working properly
- WordPress function with attribute pass to template
- Will dequeueing in child theme functions.php file prevent Google Fonts from loading?
- Adding A New Widget to WordPress Disables the Existing Widgets
- How To Show Shortcodes In WordPress Custom Fields?
- Edit meta fields from within template
- Help! Need a different logo on my main page from my other pages
- Display page number on custom page title function
- How to replace words in my posts and saved new words
- How do I integrate my Child Theme into a Custom Template?
- Shortcode to eliminate and replace with
- custom COOKIE on custom page
- Add functionality to post editor
- custom post with loading script per single post
- Get Value of Custom Field
- restrict access to specific urls on a specific period of time
- child_of not working while searching
- Why does modifying my functions.php file always result in a server error
- Echo a div to header.php from functions.php
- Remove snippets of JS from core
- new to javascript – using in instead of functions.php, not loading correctly
- Removing Facebook contact field from user contact not working
- How do I add functionality to images?
- Explode Array from Repeatable Custom Field
- WordPress Custom wp mail template return full template
- Problem with removing characters “<” – WpAllImport
- How to create a post without link in wordpress?
- multible shortcodes (for differnt values) with one function
- wp_head not injecting css
- post_row_actions filter from parent theme not executing in child theme