Title: No compatible
Last modified: August 24, 2016

---

# No compatible

 *  Resolved [manelroig](https://wordpress.org/support/users/manelroig/)
 * (@manelroig)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/no-compatible-1/)
 * Hi,
 * i’am using SENNA template, and the last version of plugin (2.4), don’t work with
   4.0 WP.
 * I only INSERT one page. I cant do [insert page=”x”] [insert page=”2x”].
    I back
   to 1.4 and works fine. Tanks.
 * [https://wordpress.org/plugins/insert-pages/](https://wordpress.org/plugins/insert-pages/)

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

1 [2](https://wordpress.org/support/topic/no-compatible-1/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/no-compatible-1/page/2/?output_format=md)

 *  anonymized-14293447
 * (@anonymized-14293447)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/no-compatible-1/#post-6065471)
 * Not working with latest 4.2. I really hope you can make this plugin compatible
   soon.
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/no-compatible-1/#post-6065523)
 * It’s working fine in all of my WordPress 4.2.1 installs. Can either of you provide
   additional details, such as server error messages, that might shed some light
   on what’s going on?
 * Senna template is not an open source theme, so I have no way of determining if
   something in that theme’s codebase is conflicting with WordPress 4+.
 *  anonymized-14293447
 * (@anonymized-14293447)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/no-compatible-1/#post-6065578)
 * For what concerns me, I get no error but only any text that would be in the appended
   page, not its images or other html elements. I’ve tried to type out the shortcode,
   but none of the esamples work (and the .php example doesn’t load the parent page
   at all).
    Maybe it’s due to the way my theme’s pages are created, or the fact
   I’m usign a child theme?
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/no-compatible-1/#post-6065596)
 * Offhand I can’t think of what the problem is, but it’s probably something in 
   your theme code (especially if you’re using a custom template for the inserted
   page). Maybe there’s a strip_tags() call somewhere?
 *  anonymized-14293447
 * (@anonymized-14293447)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/no-compatible-1/#post-6065600)
 * I don’t know where to look for a strip_tag. It’s not in the functions.php neither
   in the page. Maybe I can show you the page code:
 *     ```
       <br />
       <?php<br />
       get_header(); ?><br />
       <?php include(locate_template('top-header.php')); ?><br />
       	<div id="page-content"><br />
       		<div class="container"><br />
       			<div class="page-content"><br />
               <?php if( have_posts() ) : while(have_posts()) : the_post(); ?><br />
       			  <div class="about-us"><br />
       					<h3><strong><?php bloginfo('name'); ?></strong></h3></p>
       <p>					<?php the_content(); ?></p>
       <p>					<h3 class="team"><strong>chi siamo</strong> in redazione</h3></p>
       <p>          <div class="row"><br />
                     <?php<br />
                       $team_posts = get_posts(array(<br />
                         'post_type' => 'team',<br />
                         'posts_per_page'   => -1,<br />
                       ));<br />
                     ?><br />
                     <?php if( ! empty( $team_posts ) ) : ?><br />
                       <?php foreach($team_posts as $team) : ?><br />
         					<div class="col-md-6 col-sm-6 col-lg-3"><br />
         						<div class="member-details"><br />
         							<div class="porfile-pic"></p>
       <p>  								  <?php if( has_post_thumbnail( $team->ID ) ) : </p>
       <p>                      $thumb_id = get_post_thumbnail_id( $team->ID );<br />
                             $thumb_url_array = wp_get_attachment_image_src( $thumb_id, 'thumbnail-size', true );<br />
                             $thumb_url = $thumb_url_array[0];</p>
       <p>                    ?></p>
       <p>                      <img src="<?php echo esc_url( $thumb_url ); ?>" alt=""></p>
       <p>                    <?php else : ?><br />
                             <?php echo globo_theme_profile_placeholder_image(); ?><br />
                           <?php endif; ?></p>
       <p>  								<ul class="list-inline"><br />
                           <?php if( (get_post_meta( $team->ID, '_meta_box_team_fb', true ) ) != "" ) { ?></p>
       <li><a>ID, '_meta_box_team_fb', true )); ?>"><i class="fa fa-facebook"></i></a></li>
       <p>                    <?php }<br />
                           if( (get_post_meta( $team->ID, '_meta_box_team_twitter', true ) ) != "" ) { ?></p>
       <li><a>ID, '_meta_box_team_twitter', true )); ?>"><i class="fa fa-twitter"></i></a></li>
       <p>    								<?php }<br />
                           if( (get_post_meta( $team->ID, '_meta_box_team_google', true ) ) != "" ) { ?>	</p>
       <li><a>ID, '_meta_box_team_google', true )); ?>"><i class="fa fa-google-plus"></i></a></li>
       <p>    								<?php }<br />
                           if( (get_post_meta( $team->ID, '_meta_box_team_linkedin', true ) ) != "" ) { ?>	</p>
       <li><a>ID, '_meta_box_team_linkedin', true )); ?>"><i class="fa fa-linkedin"></i></a></li>
       <p>  								  <?php } ?></p>
       <p>  							</div></p>
       <p>  							<h3><a>ID)); ?>"><?php echo esc_attr(get_the_title($team->ID)); ?></a></h3></p>
       <p>  							<p class="title"><?php echo esc_attr(get_post_meta( $team->ID, '_meta_box_team_designation', true )); ?></p></p>
       <p>  							<p><?php echo esc_attr(get_post_meta( $team->ID, '_meta_box_team_bio', true )); ?></p></p>
       <p>  						</div> <!-- end member-details --><br />
         					</div> <!-- end grid-layout --></p>
       <p>          <?php endforeach; ?></p>
       <p>            <?php endif; ?></p>
       <p>          </div> <!-- end .row --></p>
       <p>				</div> <!-- end .about-us --><br />
               <?php endwhile; endif; ?><br />
       			</div> <!-- end .page-content --><br />
       		</div> <!-- end .container --></p>
       <p>	</div> <!-- end #page-content --><br />
       <?php wp_reset_postdata(); ?><br />
       <?php get_footer(); ?><br />
       ```
   
 *  anonymized-14293447
 * (@anonymized-14293447)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/no-compatible-1/#post-6065642)
 * …sorry if my previous post was useless because I pasted the code, but this topic
   is marked resolved whereas it isn’t. Any advice is welcome.
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/no-compatible-1/#post-6065643)
 * It’s marked resolved because it’s not a problem with the Insert Pages plugin 
   code. It’s a configuration or integration issue on your end. I’m offering help
   as a community service.
 * What does your insert page shortcode look like? What display are you using? If
   you’re using “content,” only what’s in the tinymce editor of that page will show
   up. If you want more customized displays, you need to set a custom template.
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/no-compatible-1/#post-6065644)
 * Also, when posting in the WordPress forums, you need to wrap code samples in 
   backticks (`). Look at the “Posting Code” section here:
    [https://codex.wordpress.org/Using_the_Support_Forums](https://codex.wordpress.org/Using_the_Support_Forums)
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [11 years, 1 month ago](https://wordpress.org/support/topic/no-compatible-1/#post-6065645)
 * Code fixed. 😉
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/no-compatible-1/#post-6065646)
 * Thanks Jan!
 *  anonymized-14293447
 * (@anonymized-14293447)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/no-compatible-1/#post-6065647)
 * (thank you for fixing the code, and sorry for messing it up)
    I have tried all
   suggested shortcode displays. Some pages are shown and some not (all with text
   center aligned). I believe it’s only showing text but not PHP includes. For this
   reason I guess is useless to create a custom template as it will always be made
   of PHP includes (the theme is built like that).
 *  anonymized-14293447
 * (@anonymized-14293447)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/no-compatible-1/#post-6065668)
 * this plugin is so simple to use and I need it badly the way it is… but it just
   doesn’t work for any of my page 🙁
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/no-compatible-1/#post-6065669)
 * I see what looks like a lot of php and html validation errors in the code you
   pasted, maybe start by cleaning that up?
 * For example, these are both invalid:
    `<p></div></p>`
 *     ```
       <?php<br />
                       $team_posts = get_posts(array(<br />
                         'post_type' => 'team',<br />
                         'posts_per_page'   => -1,<br />
                       ));<br />
       ```
   
 * One other thing to try, if you’re doing deep nesting (i.e., an inserted page 
   within an inserted page), is to disable the deep nesting check that’s intended
   to prevent circular loops. Put this in your active theme’s functions.php:
 *     ```
       function theme_init() {
           // Disable nesting check to allow inserted pages within inserted pages.
           add_filter( 'insert_pages_apply_nesting_check', function ( $should_apply ) { return false; } );
       }
       add_action( 'init', 'theme_init' );
       ```
   
 *  anonymized-14293447
 * (@anonymized-14293447)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/no-compatible-1/#post-6065670)
 * The breakine tags you see above were generated when I inserted the code on this
   page. They are not in the real code.
    I have also tried inserting that function(
   though I’m not deep nesting) to no avail. At this point (since this plugin was
   too good to be true) I need to know what’s the function to append one page to
   another without using a plugin, i.e. a line of code I can insert in my page template.
   Please advice on this or other methods.
 *  anonymized-14293447
 * (@anonymized-14293447)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/no-compatible-1/#post-6065671)
 * I have found a code:
 *     ```
       <?php $recent = new WP_Query("page_id=**ID**"); while($recent->have_posts()) : $recent->the_post();?>
              <h3><?php the_title(); ?></h3>
              <?php the_content(); ?>
       <?php endwhile; ?>
       ```
   
 * it has little improvement, at least the title of the page is added, but the content
   isn’t. This is beyond my skills.

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

1 [2](https://wordpress.org/support/topic/no-compatible-1/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/no-compatible-1/page/2/?output_format=md)

The topic ‘No compatible’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/insert-pages.svg)
 * [Insert Pages](https://wordpress.org/plugins/insert-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-pages/reviews/)

 * 16 replies
 * 4 participants
 * Last reply from: [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/no-compatible-1/page/2/#post-6065672)
 * Status: resolved