Hi, How can I insert a small html code into the head of a couple of pages please?
Hi sevanah!
Add this to the bottom of your functions.php file.
add_action( 'wp_head', 'enfold_customization_add_stuff_to_header' );
function enfold_customization_add_stuff_to_header() {
if ( is_page(2) || is_page(3) || is_page(4) ) {
echo 'your code here';
}
}
You can check for certain pages there and then insert some code to display in the header.
Best regards,
Elliott