Include external php page inside a page.php
-
Hi,
I’m trying to make condition in which if the page is sales inquiries,
there’s an include php page but it doesn’t let me show:<div id="full_contents" class="right"> <?php if(have_posts()) : ?> <?php while(have_posts()) : the_post(); ?> <?php the_content(); ?> <?php if(is_page('sales-enquiries')):?> <?php include 'sales-enquiry.php'; ?> <?php endif;?> <?php endwhile; ?> <?php endif; ?> </div>
I wonder what’s wrong ;(
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Include external php page inside a page.php’ is closed to new replies.