all wp_head()
does is run all the actions attached to it:
function wp_head() {
do_action('wp_head');
}
you can call get_feed_link()
directly.
however –
it’s important to note you’re going to break most plugins by not calling wp_head()
a better route may be to just remove_action
on all the things you don’t want in wp_head()
. look in wp-includes/default-filters.php
for all the actions attached to it.
Related Posts:
- Is there a has_more_tag() method or equivalent?
- Hide a div that is part of all pages on one specific page
- Editing the custom background CSS
- How to force Media manager to overwrite files of same name?
- What is a good way to pass a variable from add_action to a Theme?
- Why does my short code get executed before other content?
- Enabling Widgets By Default in Custom Theme Development
- How to fix the error “file_get_contents was found in the file functions.php”?
- Identifying the priority of style.css so I can make a small CSS file load last
- WordPress Customize — Move “menus” options / field to another section
- How to use the responsive images feature from WP 4.4 in your themes
- What are WooCommerce starter themes? [closed]
- How to disable the gradient and font size internal CSS added by WordPress when using theme.json
- Modifying JS files in Child-theme
- How do I display the “Archives” widget layout (sidebar) in WordPress by ‘year’ then by ‘months’?
- Where is the correct place(s) in twentysixteen’s header.php to add a Google webfont?
- Flexible WordPress theme creation using themes
- How to support Lazy Loading Assets in a WordPress Theme?
- How can one update a theme on a live site without interruption?
- Wysiwyg editor for P2 theme
- Sub folder CSS that’s read by Admin panel
- Toggle Sidebar Display
- Dequeue a style file which is making website load slow!
- How to customize save function event?
- WordPress page templates in a directory
- How to move the the_excerpt’s read more link to another div
- How to create a custom template to admin dashboard
- Change The Meta-Description Of Home-Page?
- Limit Loop to 5 Posts?
- Add, edit specific CPT with custom role
- how to display search term in the template full site editor
- Table of Contents Before first heading
- Theme-wide custom post template
- How to add new page to wordpress theme through coding?
- comment form args are not translatable (customized comment form)
- Zoom on custom theme without child
- Dynamically generated wordpress customizer options?
- Changing a slider to a grid [closed]
- What do with the index.php … [duplicate]
- How to add Space between sidebar and footer widget in WordPress theme [closed]
- Custom Navigation build using wp_nav_menu and walker
- Question regarding WP multisite feature
- Call to undefined function add_menu_page() on theme activation
- Code to determine WP version check
- “Theme without sidebar.php is deprecated”
- Is it acceptable for a WordPress theme to not accept widgets?
- Should all references to a text domain be to my current theme?
- get_term_link is Ending to single.php
- wp e-commerce – theme problem – why won’t it load wpsc-single_product.php? [closed]
- Extending Twenty Eleven Theme
- my excerpts lack the ‘more’ link
- Simple child theme modification but links are broken
- how to retrieve the image title for image Post Format
- Iris color picker in custom theme option page not saving value
- Is functions.php in themes applied to all templates?
- Doing context-aware previews in the WordPress Customizer
- Want to add cart and a search bar in the right of logo line
- how do i develop a global nav and local nav to be wordpress dynamic?
- Why Tags don’t appear in my page?
- First post full width without Sidebar
- How to make a theme unable to be used on a multisite network?
- best practices for updating wordpress theme
- Multi Site Setup, Child Themes, Getting Style Sheet Directory
- How to determine when my theme is deactivated?
- 1 post per category on homepage and counting those posts
- if (has_custom_menu())?
- Exclude parent categories from the_category() within the loop
- How do I pass the category object to a function when is_archive() is true?
- Making a horizontal flyout menu from WordPress category listing
- getBoundingClientRect() showing different values on load vs scroll
- Ensure SQL changes carry over
- only the first post is shown
- wordpress can’t find single-project page
- How can I set multi archive page template on same time for only one custom post type?
- Exclude categories from wp query not working
- Copying a modified theme from one wordpress site to another wordpress site [closed]
- Show Yoast SEO meta tags in Custom WordPress Templates (Theme)
- How to show some of category in wordpress
- using themename_the_custom_logo() in template-tags?
- How to make the media library searchable by image title
- WordPress doesn’t load css, image and js files after moving local installation folder
- Custom page template not showing on page creation
- Customizer Image-Picker Preview Not Working
- How to get url image page the right way?
- Mobile view logo background colour in wordpress
- Undefined index: custom_sidebars
- How To Customise WordPress Comment Submit Button?
- Next/Previous post navigation
- page.php is not called when I load a Page
- Single Featured Image Repeating
- Main Menu Theme Different Output Print
- Turning WordPress Into full-featured website?
- Workflow of Collaboration on wordpress development [closed]
- How to make admin theme option with image slide show?
- Explanation of User Roles and Capabilities
- Add wrapper for a specific sub-menu
- Meaning of “if ( is_home() && ! is_front_page() )” snippet?
- Theme’s featured image option is not showing up
- Not Able to Access Terms Under Custom Taxonomy Archive
- WordPress search field won’t get wider