Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Banned
    Join Date
    Mar 2007
    Posts
    1,523
    Thanks
    116
    Thanked 0 Times in 0 Posts

    Question wordpress - show POSTS under content in a PAGE

    Hi, I would like to be able to show my POST under my content in my page, here is my home page template:

    PHP Code:
    <?php
    /*
    Template Name: Homepage
    */
    ?>

    <?php get_header(); ?>

    <section id="omc-main">    

                    <?php
          $dispalyed 
    false;
          if (
    function_exists('shareit_output')) {
            
    $h_sticky shareit_output();
            
    $home_page get_option ('shareit_home'0);
            if (!
    $displayed and $h_sticky && $home_page == 1) {
              echo 
    $h_sticky;
              
    $displayed true;
            }
          }
          
    ?>
        <?php get_template_part'loop''flexslider-homepage' ); ?>

        <?php     if ( have_posts() ) : while ( have_posts() ) : the_post();     ?>

            <?php the_content(); ?>        

        <?php endwhile; endif; ?>    

        <br class="clear" />

    </section><!-- /main -->

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

  • #2
    Banned
    Join Date
    Mar 2007
    Posts
    1,523
    Thanks
    116
    Thanked 0 Times in 0 Posts
    is anyone able to help me out here?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •