When opening media files only the file is loaded and not the html head of your file.
You can add a ‘favicon.ico’ file (‘.png’ may also work – not sure) to your root directory (‘public_html/’, ‘www/’ ‘domain.com/’ depending on server setup) and it should load even for media files as browsers are automaticly looking for an icon there.
Related Posts:
- Get file headers in custom file
- Having Problem On Getting WP Post Gallery Images URL
- How to export post meta with images in wordpress
- Conditional Generation of Image Sizes using add_image_size
- WP Still Generating 150×150 Thumbnail Size Even After Un-Setting Small Size in Functions.php
- Why does website stretch and white space on load? [duplicate]
- Caption Shortcode: what filter to change the image size?
- Issue on Getting WP Gallery Items In cpt-single.php As Attachments
- ajaxurl not defined on front end
- Where to store PHP files created by plugin / themes
- How to post data to same page in wordpress
- Understanding WordPress functions’ naming conventions
- Is there widely accepted phpDoc syntax for documenting which hook calls a function?
- How do I Make a Theme “plugin-ready”?
- How to Add a .js file Only in one specific Page Dynamically to Head
- Show a user their recently viewed posts
- How to use filter hook ‘post_updated_messages’ in coherence with action hook ‘save_post’
- Add new user and add meta at once
- How can I change HTTP headers only to posts of a specific category from a plugin
- Custom user profile, registration, login page with theme
- Hook event for upload image in the menu
- How to Display Custom Post Type’s Gallery (images ) in Through WP_Query
- What is better way to use Bootstrap inside admin panel?
- What’s the better way to add an inline script?
- Is there a better way to implement responsive images than what WordPress uses by default?
- Backslashes being stripped from CSS
- What for the tables ending with the meta used in database of wordpress?
- Finding the paragraphs in content
- Is Dreamweaver CS5 a serious choice for theme/plugin development?
- What allows a template file from plugin to be copied in child theme and overridden?
- How to avoid loading same script twice?
- Can I individually style items in the backend widget list?
- WordPress security issue to output data from user input from theme option form
- Finding posts containing matching array elements in a meta field usign WP_Query
- Customizer: widget-synced triggers twice
- Proper way to pass credentials in a custom login form to avoid “headers already sent”
- Change the ‘published on’ text?
- How to filter users list on user_status field with get_users()
- Can Page Templates be Applied to Archive and Post Templates?
- Is there some way to provide the user a list of existing content in a CPT
- Change the look and feel of admin pages
- How to serve different thumbnails/images depending on users browser/platform
- How to access noticeOperations from withNotices
- How to get boolean value from register_meta properly?
- What is the proper method of using global $post?
- Password field is empty when using wp_signon();
- How to change title tag at page after loaded post?
- Putting a resized image into media library with wp_get_image_editor(
- Strange Situation When Try To Retrieve Github Gist Using wp_remote_get
- WordPress custom taxonomy check box to dropdown
- Widget HTML Display Problem
- Display list of uploaded images, filtered by user under a specific user group
- How to create a backend for a custom theme?
- wp_nonce_field displaying twice
- WP Plugin Running before jQuery
- Which is the better way to store images for the plugin?
- my own SVN for a plugin/theme
- Why enqueue styles on hook?
- How do I change the image from the default mysteryman in the WP Profile page
- Getting a WordPress Debug Strategy
- Proper way to use useSelect
- modify show UI of a registered taxonomy
- Using function from enqueued .js file in theme in plugin?
- Does WordPress default CSS have Grids?
- Using HTML links within translatable string
- How to resize WordPress images on upload to specific height and width without cropping it
- Resize not resizing images with Capitial extension like JPG
- WordPress Page Reload Takes forever during theme development
- Anyone using unzip_file successfully? It uploads the zip but doesn’t extract it!
- Include external po file for 3th party plugin to theme
- How to make premium plugin? I want to limit it until verification
- Adding the image selector/uploader to an admin back page
- How to hide/remvoe unnecessary field/section in post edit section ( Dashboard )
- WordPress discards PNG file when uploading plugin file
- Hook for validating and rejecting frontend image upload
- Replace the WordPress Media Library Uploader
- Two same AJAX calls – one is working, other doesn’t
- redirect_to how to make it simply work with get parameter or similar?
- Determine if the current page, is being edited
- Is it possible to modify an Elated plugin portfolio-list template in such a way that it will not conflict with future plugin updates?
- Woocommerce Custom Checkout
- Looping single post in a theme
- WordPress permalink setting
- Custom theme and plugin updating
- Adding class to the parent of current-post-ancestor / current-menu-parent / current-post-parent
- How to show post attachment image
- problem with blank page
- grouping my widgets wordpress
- Create and style menu
- Is it possible to convert various image types from remote URLs to WebP and then serve them immediately?
- If I want to create new taxonomies (e.g. Project / Documents / Etc…) is it better to create them in the theme’s functions.php or within a plugin? [duplicate]
- How to add something after a function
- how many rupee or dollar charge to client to make theme [closed]
- How to replace plugin icon?
- Using “add_image_size” to register custom image sizes inside plugins not working
- How to get the value entered in the input field in wordpres
- Leveraging Core Functionality in Icon Upload Plugin [closed]
- Upload to a specific media folder created by FileBird Lite
- Why isn’t custom sidebar panel not showing up in the Gutenberg Editor?
- Set srcset on a block image