Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-12-2013, 03:18 PM   PM User | #1
jarv
Banned

 
Join Date: Mar 2007
Posts: 1,523
Thanks: 116
Thanked 0 Times in 0 Posts
jarv can only hope to improve
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(); ?>
jarv is offline   Reply With Quote
Old 02-16-2013, 11:16 AM   PM User | #2
jarv
Banned

 
Join Date: Mar 2007
Posts: 1,523
Thanks: 116
Thanked 0 Times in 0 Posts
jarv can only hope to improve
is anyone able to help me out here?
jarv is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:12 PM.


Advertisement
Log in to turn off these ads.