Forum Replies Created

Viewing 4 replies - 31 through 34 (of 34 total)
  • Thread Starter tjsherrill

    (@tjsherrill)

    Ok I got this to work in part.

    <?php query_posts(array('post_parent' => 6, 'post_type' => 'page')); while (have_posts()) { the_post(); ?>
    
            <div class="blind-subpage">
    
                <?php if ( has_post_thumbnail() ) {?>
    
                    <?php the_post_thumbnail(); ?>
    
                <?php } else { ?>
    
                    <!-- Else Don't show anything -->
    
                <?php } ?>
    
            <!-- closes blind-subpage -->
            </div>
    
        <?php } ?>

    Actually works fine, it grabs the post thumbnail just like I needed it to. The problem now is that I need it to also run a standard loop below that for the homepage text.

    <?php if (have_posts()) : while (have_posts()) : the_post();?>
     			<?php the_content(''); ?>
      		 <?php endwhile; endif; ?>

    Any ideas on how to run a second loop so that it displays the current page’s content. The first loop is overriding the page I think. I have read the support stuff for multiple loops but am to new to php to make great sense of it. Any help is greatly appreciated.

    thanks

    Thread Starter tjsherrill

    (@tjsherrill)

    Ok, this is great info… I really appreciate it.

    So how would one of you do this if you had to? I think the site title or custom field option could handle the city name. But I want to make sure I have a solid method to handle page inheritance.

    Basically the parent page will have many pages, and I need those pages to be inherited by the child sites. Is this a custom solution? Or is there a method to handle this through the default options.

    thanks so much

    Thread Starter tjsherrill

    (@tjsherrill)

    andrea,

    So you are saying that Multisite automatically pulls from the default? That would be fantastic but doesn’t make sense to me.

    If I have Parent site and two child sites and I create an About page on the parent site, my understanding would be that it would not create an identical page on both sub sites.

    Am I incorrect?

    thanks for the help, its very appreciated

    Thread Starter tjsherrill

    (@tjsherrill)

    thanks to both of you for the responses. Trying to learn this stuff. Just didn’t know to include the &… SOLVED.

Viewing 4 replies - 31 through 34 (of 34 total)