Title: Repeated Code In Source Code
Last modified: September 1, 2016

---

# Repeated Code In Source Code

 *  Resolved [Suraj Bhandari](https://wordpress.org/support/users/footballnasha/)
 * (@footballnasha)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/repeated-code-in-source-code/)
 * PLease View Source Code on [http://www.horlogemaker.be/](http://www.horlogemaker.be/)
   in
    lIne 9 10 and 11 and Line 87, 88 and 89 Same code is repeated twice on head
   section.
 * Why is is happening.
 * [https://wordpress.org/plugins/per-page-add-to/](https://wordpress.org/plugins/per-page-add-to/)

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

 *  Plugin Author [Erikvona](https://wordpress.org/support/users/erikvona/)
 * (@erikvona)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/repeated-code-in-source-code/#post-7634585)
 * Line 9 10 and 11 on horlogemaker.be (browser: firefox 48):
 *     ```
       <meta name="robots" content="noodp"/>
       <link rel="canonical" href="http://www.horlogemaker.be/" />
       <meta property="og:locale" content="nl_BE" />
       ```
   
 * Line 87, 88, 89:
 *     ```
       @media all and (min-width:850px) and (max-width:900px){
       .adlinks {
       padding-left: 40px !important;
       ```
   
 * Also, line 9, 10 and 11 are inserted by the Yoast SEO plugin.
 * Please check your errors, and provide a specific instruction on how to replicate
   them.
 *  Thread Starter [Suraj Bhandari](https://wordpress.org/support/users/footballnasha/)
 * (@footballnasha)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/repeated-code-in-source-code/#post-7634587)
 * The 3 Line of code i wrote inside custom field for head section is below
 * <link rel=”alternate” hreflang=”nl-nl” href=”[http://www.dakisolatie-advies.nl&#8221](http://www.dakisolatie-advies.nl&#8221);/
   >
    <link rel=”alternate” hreflang=”fr-be” href=”[http://www.isolationtoiture-expert.be&#8221](http://www.isolationtoiture-expert.be&#8221);/
   > <link rel=”alternate” hreflang=”nl-be” href=”[http://www.horlogemaker.be&#8221](http://www.horlogemaker.be&#8221);/
   >
 * You can Find this code First just below Yoast Seo Code and other above inline
   css.
 * You can find this code two times in source code.
 * Thank you
 *  Plugin Author [Erikvona](https://wordpress.org/support/users/erikvona/)
 * (@erikvona)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/repeated-code-in-source-code/#post-7634591)
 * Did you write this code in the section for every page, or only in the section
   for this specific page?
 *  Thread Starter [Suraj Bhandari](https://wordpress.org/support/users/footballnasha/)
 * (@footballnasha)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/repeated-code-in-source-code/#post-7634593)
 * Almost in Every Pages.
 *  Plugin Author [Erikvona](https://wordpress.org/support/users/erikvona/)
 * (@erikvona)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/repeated-code-in-source-code/#post-7634602)
 * Please re-read my previous question and answer it correctly. The answer you provided
   doesn’t answer the question.
 *  Thread Starter [Suraj Bhandari](https://wordpress.org/support/users/footballnasha/)
 * (@footballnasha)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/repeated-code-in-source-code/#post-7634604)
 * I have written this code
    <link rel=”alternate” hreflang=”nl-nl” href=”[http://www.dakisolatie-advies.nl&#8221](http://www.dakisolatie-advies.nl&#8221);/
   > <link rel=”alternate” hreflang=”fr-be” href=”[http://www.isolationtoiture-expert.be&#8221](http://www.isolationtoiture-expert.be&#8221);/
   > <link rel=”alternate” hreflang=”nl-be” href=”[http://www.horlogemaker.be&#8221](http://www.horlogemaker.be&#8221);/
   >
 * In all pages custom field add to head section.
 * Arent you pointing to this section?
 *  Plugin Author [Erikvona](https://wordpress.org/support/users/erikvona/)
 * (@erikvona)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/repeated-code-in-source-code/#post-7634606)
 * But have you also added it to the field for every page, in the WordPress settings
   menu? Because that would exactly explain this behaviour.
 * If you add the code twice (once in the settings for every page, and once in the
   custom field for the page itself), it will get displayed twice. This is intended
   behaviour and not a support issue.
 *  Thread Starter [Suraj Bhandari](https://wordpress.org/support/users/footballnasha/)
 * (@footballnasha)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/repeated-code-in-source-code/#post-7634609)
 * I have written this code only inside post not in setting area of plugin.
 *  Plugin Author [Erikvona](https://wordpress.org/support/users/erikvona/)
 * (@erikvona)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/repeated-code-in-source-code/#post-7634611)
 * Could you add comment tags for me on one specific post in the head area, and 
   then send me a link to the post?
    Like <!– per page start –> your code <!– per
   page end –>
 *  Thread Starter [Suraj Bhandari](https://wordpress.org/support/users/footballnasha/)
 * (@footballnasha)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/repeated-code-in-source-code/#post-7634627)
 * You can check now
    Added: <!– per page start –> <link rel=”alternate” hreflang
   =”nl-nl” href=”[http://www.dakisolatie-advies.nl&#8221](http://www.dakisolatie-advies.nl&#8221);/
   > <link rel=”alternate” hreflang=”fr-be” href=”[http://www.isolationtoiture-expert.be&#8221](http://www.isolationtoiture-expert.be&#8221);/
   > <link rel=”alternate” hreflang=”nl-be” href=”[http://www.horlogemaker.be&#8221](http://www.horlogemaker.be&#8221);/
   > <!– per page start –>
 * Still Repeating
 * Can i Provide logins of site somewhere?
 *  Plugin Author [Erikvona](https://wordpress.org/support/users/erikvona/)
 * (@erikvona)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/repeated-code-in-source-code/#post-7634631)
 * I see. You can use the contact form at evona.nl to send me login information,
   so I can look at the problem myself. There are several things left to try, but
   this is a very odd issue.
 *  Thread Starter [Suraj Bhandari](https://wordpress.org/support/users/footballnasha/)
 * (@footballnasha)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/repeated-code-in-source-code/#post-7634632)
 * I sent u information.
    Thank you!
 *  Plugin Author [Erikvona](https://wordpress.org/support/users/erikvona/)
 * (@erikvona)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/repeated-code-in-source-code/#post-7634639)
 * Fixed it for this specific occurrence.
 * If anyone else has this issue, please make a new support thread. As far as I 
   know, there is no underlying fault in the plugin, and this should not happen 
   for anyone else.
 *  Thread Starter [Suraj Bhandari](https://wordpress.org/support/users/footballnasha/)
 * (@footballnasha)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/repeated-code-in-source-code/#post-7634658)
 * Thank you. Found Error and it was from theme.

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

The topic ‘Repeated Code In Source Code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/per-page-add-to.svg)
 * [Per page add to head](https://wordpress.org/plugins/per-page-add-to/)
 * [Support Threads](https://wordpress.org/support/plugin/per-page-add-to/)
 * [Active Topics](https://wordpress.org/support/plugin/per-page-add-to/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/per-page-add-to/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/per-page-add-to/reviews/)

## Tags

 * [duplication](https://wordpress.org/support/topic-tag/duplication/)

 * 14 replies
 * 2 participants
 * Last reply from: [Suraj Bhandari](https://wordpress.org/support/users/footballnasha/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/repeated-code-in-source-code/#post-7634658)
 * Status: resolved