Example. Plugins and WordPress core use this function to insert crucial elements into your document (e.g., scripts, styles, and meta tags). Always put wp_head() just before the closing tag of your theme (usually in header.php):
<head>
<!-- First add the elements you need in <head>; then last, add: -->
<?php wp_head(); ?>
</head>
Example. Plugins and WordPress core use this function to insert crucial elements into your document (e.g., scripts, styles, and meta tags). Always put
wp_head()
just before the closingtag of your theme (usually in
header.php
):Add a pingback url auto-discovery header for single posts, pages, or attachments.