Ejemplo n.º 1
0
	<?php 
/**
 * Fires at the end of the RSS Feed Header.
 *
 * @since 2.0.0
 */
do_action('rss_head');
?>

<?php 
while (have_posts()) {
    the_post();
    ?>
	<item>
		<title><?php 
    echo one_of(simple_fields_fieldgroup('short_title'), get_the_title());
    ?>
</title>
		<description><![CDATA[<?php 
    the_excerpt_rss();
    ?>
]]></description>
		<link><?php 
    the_permalink_rss();
    ?>
</link>
		<?php 
    /**
     * Fires at the end of each RSS feed item.
     *
     * @since 2.0.0
Ejemplo n.º 2
0
            ?>
 show-for-large-up">
            <a href="<?php 
            echo post_permalink($next->ID);
            ?>
">
                <img src="<?php 
            theme_image_src('arrow-right.svg');
            ?>
">
                <div class="arrow-hover right">
                    <h3 class="<?php 
            echo $next_category->slug;
            ?>
"><?php 
            echo one_of(simple_fields_fieldgroup('short_title', $next->ID), get_the_title($next->ID));
            ?>
</h3>
                </div>
            </a>
        </div>
    <?php 
        }
        ?>

<?php 
    }
}
?>

<?php