Title: Inserting HTML code into one specific page
Last modified: August 22, 2016

---

# Inserting HTML code into one specific page

 *  Resolved [Montacer](https://wordpress.org/support/users/montacer/)
 * (@montacer)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/inserting-html-code-into-one-specific-page/)
 * Hello,
 * Does the plugin allow the insertion of HTML code on the head of one specific 
   page please? The only options I can see are:
    1) Code to be added on HEAD section
   of the home 2) Code to be added on HEAD section of every page
 * If that is possible, can you tell me how please?
 * Thank you ever so much.
 * [https://wordpress.org/plugins/header-footer/](https://wordpress.org/plugins/header-footer/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Stefano Lissa](https://wordpress.org/support/users/satollo/)
 * (@satollo)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/inserting-html-code-into-one-specific-page/#post-5303021)
 * You need some PHP code:
 * <?php if ($post->ID == [page/post id]) { ?>
    CODE… <? } ?>
 *  Thread Starter [Montacer](https://wordpress.org/support/users/montacer/)
 * (@montacer)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/inserting-html-code-into-one-specific-page/#post-5303063)
 * Thank you ever so much.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Inserting HTML code into one specific page’ is closed to new replies.

 * ![](https://ps.w.org/header-footer/assets/icon-256x256.png?rev=3452717)
 * [Head, Footer and Post Injections](https://wordpress.org/plugins/header-footer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/header-footer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/header-footer/)
 * [Active Topics](https://wordpress.org/support/plugin/header-footer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/header-footer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/header-footer/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Montacer](https://wordpress.org/support/users/montacer/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/inserting-html-code-into-one-specific-page/#post-5303063)
 * Status: resolved