Ejemplo n.º 1
0
	            <p class="comments"><a href="<?php 
echo $blog_special->guid;
?>
#comments" class="comments"><?php 
echo $blog_special->comment_count;
?>
 comentarios</a></p>
	            <p class="rate"><em><?php 
//wp_gdsr_render_article();
?>
</em></p>
	            
	          </div>	          
        </div>
             	<?php 
$post = get_a_post(330);
$blog_random = current($post);
?>
          
        <div id="blog_random" class="top_news_featured">
        	<h3><a href="<?php 
echo $blog_random->guid;
?>
"><?php 
echo $blog_random->post_title;
?>
</a></h3>
	          <p>
	
	              <?php 
$content = $blog_random->post_content;
Ejemplo n.º 2
0
px;
	}
	</style>
    
    <div id="myGallery">
    <?php 
$imgthumb = get_option('gallery-use-thumb-image') ? "thumbnailimg" : "articleimg";
$wordquantity = get_option('gallery-rss-word-quantity') ? get_option('gallery-rss-word-quantity') : 100;
if (get_option('gallery-way') == 'new') {
    //new way
    $arr = split(",", get_option('gallery-items-pages'));
    if (get_option('gallery-randomize-pages')) {
        shuffle($arr);
    }
    foreach ($arr as $post_or_page_id) {
        get_a_post($post_or_page_id);
        ?>
				 <div class="imageElement">
					 <h2><?php 
        the_title();
        ?>
</h2>
					 <?php 
        if (get_option('gallery-use-featured-content')) {
            ?>
					     <p><?php 
            $key = "featuredtext";
            echo get_post_meta($post->ID, $key, true);
            ?>
</p>
					  <?php