function get_the_abstract_section($post_id)
{
    $abstract = get_abstract_text($post_id);
    if (!empty($abstract)) {
        $html = "\n            <div class='widget uw-story-central'>\n                <h3 class='widgettitle'>Abstract</h3>\n                <div id='abstract-section'>" . $abstract . "</div>\n            </div>";
        return story_section($html);
    }
    return '';
}
    ?>
" >
         <div class='boundless-image' style='background-image:url("<?php 
    echo get_story_featured_image_url($post->ID, false, array(350, 350));
    ?>
");' ></div>
            <div class="boundless-text">
                <h3 class="searchtag"><a href='<?php 
    the_permalink();
    ?>
'><?php 
    the_title();
    ?>
</a></h3>
                <p class="searchtag"><?php 
    echo get_abstract_text($post->ID);
    ?>
</p>
                <div class="searchbody" style="display:none"><?php 
    echo the_content();
    ?>
</div>
                <a class="more" href='<?php 
    the_permalink();
    ?>
'>More</a>
         </div>
     </div>

<?php 
}
Example #3
0
            <div class='promoted-story-tile'>
                <div class='tile-background' style='background-image:url("<?php 
    echo get_story_featured_image_url($promoted->ID, true, array(750, 550));
    ?>
");' ></div>
                <div class='tile-bottom'></div>
                <a href='<?php 
    echo get_permalink($promoted->ID);
    ?>
'><div class='tile-title-holder'>
                    <h2><?php 
    echo $promoted->post_title;
    ?>
</h2>
                    <p class='abstract'><?php 
    echo get_abstract_text($promoted->ID);
    ?>
</p>
                </div></a>
            </div>
            <div class='spacer'></div>
            <?php 
}
?>

            <?php 
foreach (get_stories_with_pillar($pillar) as $post) {
    setup_postdata($post);
    ?>

                <div class='story-tile'>