Title: error with jannah theme
Last modified: January 20, 2022

---

# error with jannah theme

 *  Resolved [metometo](https://wordpress.org/support/users/metometo/)
 * (@metometo)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/error-with-jannah-theme/)
 * your plugin write incorrect code on my theme when I activate it
    [https://ibb.co/68jZVgh](https://ibb.co/68jZVgh)
   this is screenshot of codes that your plugin put on my homepage and it make my
   news blocks do not work correctly how to sovle that ? my website is agri2day.
   com
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-with-jannah-theme%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/error-with-jannah-theme/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-with-jannah-theme/page/2/?output_format=md)

 *  Thread Starter [metometo](https://wordpress.org/support/users/metometo/)
 * (@metometo)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/error-with-jannah-theme/#post-15271895)
 * and when i deactivate your plugin my theme work correctly and i want to mention
   you that i bought you pro version for another website and my website but your
   plugin do same problem it add codes in my websites
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/error-with-jannah-theme/#post-15271914)
 * Hello,
 * those are the markers for the “stick to the content positions”. They should be
   inserted at positions defined by WP hooks. If they cause any issue with your 
   theme you can simply disable them with a short PHP code in the header:
 *     ```
       <?php
       define ('AI_CONTENT_MARKER_NO_LOOP_START', true);
       define ('AI_CONTENT_MARKER_NO_LOOP_END', true);
       define ('AI_CONTENT_MARKER_NO_GET_SIDEBAR', true);
       ?>
       ```
   
 * [https://adinserter.pro/documentation/sticky-ads#content-markers](https://adinserter.pro/documentation/sticky-ads#content-markers)
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/error-with-jannah-theme/#post-15271919)
 * For support questions regarding Ad Inserter Pro please use this form:
    [https://adinserter.pro/contact#help](https://adinserter.pro/contact#help)
 *  Thread Starter [metometo](https://wordpress.org/support/users/metometo/)
 * (@metometo)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/error-with-jannah-theme/#post-15272166)
 * i get this message when i add this code in header.php
    `تمّ التراجع عن تعديلاتك
   الخاصة بشفرة PHP نظراً لحدوث مشكلة في ملف wp-content/themes/jannah/header.php
   وتحديداً بالسطر 35. يرجى إصلاح هذه المشاكل وإعادة محاولة الحفظ مرة أخرى.
 * syntax error, unexpected ‘&’, expecting end of file
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/error-with-jannah-theme/#post-15272189)
 * You should put the code into the header code window of the plugin:
    [https://adinserter.pro/documentation/header-and-footer-code](https://adinserter.pro/documentation/header-and-footer-code)
 * The error indicates that you did not put it right into the theme file.
    However,
   it makes no sensse to put into the theme files as they are overwritten with every
   theme update.
 *  Thread Starter [metometo](https://wordpress.org/support/users/metometo/)
 * (@metometo)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/error-with-jannah-theme/#post-15272201)
 * <?php
    /** * The template for displaying the header * */
 * defined( ‘ABSPATH’ ) || exit; // Exit if accessed directly
 * ?><!DOCTYPE html>
    <html <?php language_attributes(); ?>> <head> <meta charset
   =”<?php bloginfo( ‘charset’ ); ?>” /> <link rel=”profile” href=”[http://gmpg.org/xfn/11&#8243](http://gmpg.org/xfn/11&#8243);/
   > <?php wp_head(); ?> </head>
 * <body id=”tie-body” <?php body_class(); ?>>
 * <?php wp_body_open(); ?>
 * <div class=”background-overlay”>
 *  <div id=”tie-container” class=”site tie-container”>
 *  <?php do_action( ‘TieLabs/before_wrapper’ ); ?>
 *  <div id=”tie-wrapper”>
 *  <?php
 *  TIELABS_HELPER::get_template_part( ‘templates/header/load’ );
 *  do_action( ‘TieLabs/before_main_content’ );
    <?php define (‘AI_CONTENT_MARKER_NO_LOOP_START’,
   true); define (‘AI_CONTENT_MARKER_NO_LOOP_END’, true); define (‘AI_CONTENT_MARKER_NO_GET_SIDEBAR’,
   true); ?>
 *  Thread Starter [metometo](https://wordpress.org/support/users/metometo/)
 * (@metometo)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/error-with-jannah-theme/#post-15272216)
 * theme editor not accept code you sent when i put it like i sent above
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/error-with-jannah-theme/#post-15272218)
 * Your code is wrong.
    You put PHP tags into PHP code.
 * Inside PHP code use PHP code:
 *     ```
       do_action( ‘TieLabs/before_main_content’ );
   
       define (‘AI_CONTENT_MARKER_NO_LOOP_START’, true);
       define (‘AI_CONTENT_MARKER_NO_LOOP_END’, true);
       define (‘AI_CONTENT_MARKER_NO_GET_SIDEBAR’, true);
       ```
   
 *  Thread Starter [metometo](https://wordpress.org/support/users/metometo/)
 * (@metometo)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/error-with-jannah-theme/#post-15272227)
 * like that [https://ibb.co/9h4LSs9](https://ibb.co/9h4LSs9)
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/error-with-jannah-theme/#post-15272235)
 * No.
 * Add [PHP code](https://wordpress.org/support/topic/error-with-jannah-theme/#post-15271914)
   to the existing code (after it) and enable PHP processing.
 *  Thread Starter [metometo](https://wordpress.org/support/users/metometo/)
 * (@metometo)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/error-with-jannah-theme/#post-15272245)
 * <?php
    /** * The template for displaying the header * */
 * defined( ‘ABSPATH’ ) || exit; // Exit if accessed directly
 * ?><!DOCTYPE html>
    <html <?php language_attributes(); ?>> <head> <meta charset
   =”<?php bloginfo( ‘charset’ ); ?>” /> <link rel=”profile” href=”[http://gmpg.org/xfn/11&#8243](http://gmpg.org/xfn/11&#8243);/
   > <?php wp_head(); ?> </head>
 * <body id=”tie-body” <?php body_class(); ?>>
 * <?php wp_body_open(); ?>
 * <div class=”background-overlay”>
 *  <div id=”tie-container” class=”site tie-container”>
 *  <?php do_action( ‘TieLabs/before_wrapper’ ); ?>
 *  <div id=”tie-wrapper”>
 *  <?php
 *  TIELABS_HELPER::get_template_part( ‘templates/header/load’ );
 *  do_action( ‘TieLabs/before_main_content’ );
    <?php /** * The template for displaying
   the header * */
 * defined( ‘ABSPATH’ ) || exit; // Exit if accessed directly
 * ?><!DOCTYPE html>
    <html <?php language_attributes(); ?>> <head> <meta charset
   =”<?php bloginfo( ‘charset’ ); ?>” /> <link rel=”profile” href=”[http://gmpg.org/xfn/11&#8243](http://gmpg.org/xfn/11&#8243);/
   > <?php wp_head(); ?> </head>
 * <body id=”tie-body” <?php body_class(); ?>>
 * <?php wp_body_open(); ?>
 * <div class=”background-overlay”>
 *  <div id=”tie-container” class=”site tie-container”>
 *  <?php do_action( ‘TieLabs/before_wrapper’ ); ?>
 *  <div id=”tie-wrapper”>
 *  <?php
 *  TIELABS_HELPER::get_template_part( ‘templates/header/load’ );
 *  do_action( ‘TieLabs/before_main_content’ );
    define (‘AI_CONTENT_MARKER_NO_LOOP_START’,
   true); define (‘AI_CONTENT_MARKER_NO_LOOP_END’, true); define (‘AI_CONTENT_MARKER_NO_GET_SIDEBAR’,
   true);
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/error-with-jannah-theme/#post-15272260)
 * Looks better now.
 *  Thread Starter [metometo](https://wordpress.org/support/users/metometo/)
 * (@metometo)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/error-with-jannah-theme/#post-15272272)
 * ok thanks for your effort but problem still happen after adding this code nothing
   changed
    but when i deactivated it again news blocks worked correctly
 *  Plugin Author [Spacetime](https://wordpress.org/support/users/spacetime/)
 * (@spacetime)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/error-with-jannah-theme/#post-15272300)
 * Maybe you forgot to flush the caches.
    The inserted code should prevent inserting
   content markers.
 * In case you can’t solve the isseue I would suggest to contact plugin support 
   as instructed.
 *  Thread Starter [metometo](https://wordpress.org/support/users/metometo/)
 * (@metometo)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/error-with-jannah-theme/#post-15272308)
 * ok thanks i sent in contact support and wait for response

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/error-with-jannah-theme/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/error-with-jannah-theme/page/2/?output_format=md)

The topic ‘error with jannah theme’ is closed to new replies.

 * ![](https://ps.w.org/ad-inserter/assets/icon-256x256.jpg?rev=1502039)
 * [Ad Inserter - Ad Manager & AdSense Ads](https://wordpress.org/plugins/ad-inserter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ad-inserter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ad-inserter/)
 * [Active Topics](https://wordpress.org/support/plugin/ad-inserter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ad-inserter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ad-inserter/reviews/)

## Tags

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

 * 17 replies
 * 2 participants
 * Last reply from: [Spacetime](https://wordpress.org/support/users/spacetime/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/error-with-jannah-theme/page/2/#post-15272371)
 * Status: resolved