• Hey, I was wondering if there’s any way to customise the output of wp_head at all? I couldn’t see anything in the wiki about it, but maybe I was just not looking in the right places…
    I’m basically trying to get it to output more in the way of meta data (like keywords, author, copyright, publisher, etc.), but don’t know if I should edit it all manually or use this function — assuming the function is customisable, and isn’t meant to just be left alone ??
    My blog, for reference.
    Any ideas/suggestions?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Create a function that outputs what you want to go into the head. Let’s call it meta_head(). You can then do this:
    add_action('wp_head', 'meta_head');
    Your function will be called whenever wp_head() is run.

    jadler

    (@jadler)

    Where would be a good place to put this? In a local plugin? Can I count on all themes to call wp_head?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using wp_head’ is closed to new replies.