Title: theme editor problem ! when adding footer
Last modified: January 1, 2022

---

# theme editor problem ! when adding footer

 *  Resolved [shayan100](https://wordpress.org/support/users/shayan100/)
 * (@shayan100)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/theme-editor-problem-when-adding-footer/)
 * [The image](https://user-images.githubusercontent.com/19957980/146803175-dea54fc5-b957-489a-a7c3-4d71fccda84c.png)
 * I try to develop theme supports elementor but when I add footer with elementor،
   elementor edit my single like image.
 * sorry for my bad English ، I will attach my single code here .
 * `<?php if (!function_exists('elementor_theme_do_location') || !elementor_theme_do_location('
   header')) { get_header('nixoCompanyBlog'); } else { get_header(); } ?> <?php 
   do_action('nixo_them_single'); ?> <?php get_footer(); ?>`

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

 *  [Elementor Team](https://wordpress.org/support/users/talmo/)
 * (@talmo)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/theme-editor-problem-when-adding-footer/#post-15213256)
 * Hi,
    Can you send an example of how the page should look like?
 *  Thread Starter [shayan100](https://wordpress.org/support/users/shayan100/)
 * (@shayan100)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/theme-editor-problem-when-adding-footer/#post-15215663)
 * [page should like this image](https://imgur.com/a/xEs8s0S)
 * that`s fix when I remove the_content() function from my single.php but I think
   its not standard and I saw other themes use the_content() in single.php and they
   have not my problem .
 *  [Elementor Team](https://wordpress.org/support/users/talmo/)
 * (@talmo)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/theme-editor-problem-when-adding-footer/#post-15221266)
 * Hi,
    Thank you for the reply.
 * I have found a thread that might fit your needs, also, can you please send us
   the URL to your website?
 * [https://wordpress.org/support/topic/the_content-function-not-working-properly-inside-custom-wordpress-widget/](https://wordpress.org/support/topic/the_content-function-not-working-properly-inside-custom-wordpress-widget/)
 *  Thread Starter [shayan100](https://wordpress.org/support/users/shayan100/)
 * (@shayan100)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/theme-editor-problem-when-adding-footer/#post-15221821)
 * Hi thanks for the answer.
    But this thread not fix my problem . I talk about 
   elementor theme editor to add new footer to my template (new footer.php template)
 * Unfortunately i cant send my website url because its run on localhost .
    -  This reply was modified 4 years, 5 months ago by [shayan100](https://wordpress.org/support/users/shayan100/).
    -  This reply was modified 4 years, 5 months ago by [shayan100](https://wordpress.org/support/users/shayan100/).
 *  [Elementor Team](https://wordpress.org/support/users/talmo/)
 * (@talmo)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/theme-editor-problem-when-adding-footer/#post-15243540)
 * Hi,
    You can add the footer directly to WordPress as follows – [https://www.wpbeginner.com/plugins/how-to-add-header-and-footer-code-in-wordpress/](https://www.wpbeginner.com/plugins/how-to-add-header-and-footer-code-in-wordpress/)
 * In the editor, go to site settings via the hamburger icon, and to layout, change
   the default page to the theme, it should show what you have added and not elementor
   override canvas.
 * In case this does not work, I suggest opening a topic in our GitHub that our 
   developer’s monitor, they can help further with the codes –
    [https://github.com/elementor/elementor](https://github.com/elementor/elementor)

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

The topic ‘theme editor problem ! when adding footer’ is closed to new replies.

 * ![](https://ps.w.org/elementor/assets/icon-256x256.gif?rev=3444228)
 * [Elementor Website Builder - more than just a page builder](https://wordpress.org/plugins/elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/elementor/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [theme development](https://wordpress.org/support/topic-tag/theme-development/)

 * 5 replies
 * 2 participants
 * Last reply from: [Elementor Team](https://wordpress.org/support/users/talmo/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/theme-editor-problem-when-adding-footer/#post-15243540)
 * Status: resolved