Title: Insert Code Into Page
Last modified: August 31, 2016

---

# Insert Code Into Page

 *  [kingwasaki](https://wordpress.org/support/users/kingwasaki/)
 * (@kingwasaki)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/insert-code-into-page/)
 * Hello,
 * I have a page that wasn’t created in wordpress that I created in my file manager.
   I want the lightbox to appear on it as well. What code can I add to this page
   so lightbox works?
 * [http://richallenrealtor.com/homepartners.html](http://richallenrealtor.com/homepartners.html)
 * I tried viewing source of my regular webpages and adding code but couldn’t get
   anything to work.
 * Thanks
 * [https://wordpress.org/plugins/facebook-page-promoter-lightbox/](https://wordpress.org/plugins/facebook-page-promoter-lightbox/)

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

 *  Plugin Author [Arevico](https://wordpress.org/support/users/arevico/)
 * (@arevico)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/insert-code-into-page/#post-7061499)
 * Hello,
 * Thank you for opening a topic. As long as the WordPress version is active this
   is possible. (Altough not officially supported or recommended).
 * Add the following code the the head tag (</head>)
 *     ```
       <script src='//connect.facebook.net/en_EN/all.js#xfbml=1'></script>
       <script type='text/javascript' src='http://richallenrealtor.com/wordpress/wp-content/plugins/facebook-page-promoter-lightbox/includes/featherlight/featherlight.min.js'></script>
       <link rel='stylesheet' id='arevico_scsfbcss-css'  href='http://richallenrealtor.com/wordpress/wp-content/plugins/facebook-page-promoter-lightbox/includes/featherlight/featherlight.min.css' type='text/css' media='all' />
   
       <script type='text/javascript'>
       /* <![CDATA[ */
       var lb_l_ret = {"width":"400","height":"255","delay":"4000","coc":"1","fb_id":"RichAllenRealtor","cooc":"0","display_on_page":"1","display_on_post":"1","display_on_homepage":"1","display_on_archive":"1","show_once":"2","submenu":"1","min":"0","performance":"0"};
       /* ]]> */
       </script>
       ```
   
 * Add the following just before the closing body tag (</body>)
 *     ```
       <div style="display:none">
         <div id="arvlbdata" style="overflow:visible;width:400px;height:250px;">
             <div allowtransparency="true" style="overflow:hidden;width:400px;height:250px;" class="fb-page"
             data-href="https://www.facebook.com/RichAllenRealtor"
             data-width="400"
             data-height="250" 
   
             data-small-header="false"
             data-adapt-container-width="false"
             data-hide-cover="true"
             data-show-facepile="true"
             data-show-posts="false">
           </div>
       </div>
       ```
   
 * Best Regards,
    Friso
 *  Thread Starter [kingwasaki](https://wordpress.org/support/users/kingwasaki/)
 * (@kingwasaki)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/insert-code-into-page/#post-7061527)
 * Thanks, I was missing the code before </body>. Still isn’t working for me however,
   any other suggestions?
 *  Plugin Author [Arevico](https://wordpress.org/support/users/arevico/)
 * (@arevico)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/insert-code-into-page/#post-7061549)
 * jQuery appears to be loaded in the footer also, make sure to move this line above
   the featherlight declaration:
    <script src=”[https://code.jquery.com/jquery-2.1.4.min.js”></script&gt](https://code.jquery.com/jquery-2.1.4.min.js”></script&gt);
 * delete the cookies and try it again.
 *  Thread Starter [kingwasaki](https://wordpress.org/support/users/kingwasaki/)
 * (@kingwasaki)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/insert-code-into-page/#post-7061576)
 * That worked, you’re a genius! Thank you so much!

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

The topic ‘Insert Code Into Page’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/facebook-page-promoter-lightbox_4282c1.
   svg)
 * [FB Page Promoter Lightbox](https://wordpress.org/plugins/facebook-page-promoter-lightbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/facebook-page-promoter-lightbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/facebook-page-promoter-lightbox/)
 * [Active Topics](https://wordpress.org/support/plugin/facebook-page-promoter-lightbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/facebook-page-promoter-lightbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/facebook-page-promoter-lightbox/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [kingwasaki](https://wordpress.org/support/users/kingwasaki/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/insert-code-into-page/#post-7061576)
 * Status: not a support question