WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm not including the wp_head() call in my header.php, but I would like to include the feed links for each post.

Is it possible to call wp_head() with arguments only to include specific functionality? Or alternately, can you call specific functionality (admin toolbar css, feed links, etc) directly?

share|improve this question
up vote 0 down vote accepted

all wp_head() does is run all the actions attached to it:

function 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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.