Example #1
0
function eme_rss_link_shortcode($atts)
{
    extract(shortcode_atts(array('justurl' => 0, 'text' => 'RSS', 'scope' => 'future', 'order' => 'ASC', 'category' => '', 'author' => '', 'contact_person' => '', 'limit' => 5, 'location_id' => '', 'title' => ''), $atts));
    $result = eme_rss_link("justurl={$justurl}&echo=0&text={$text}&limit={$limit}&scope={$scope}&order={$order}&category={$category}&author={$author}&contact_person={$contact_person}&location_id={$location_id}&title=" . urlencode($title));
    return $result;
}
Example #2
0
        ?>
">
		<h2 class="post-title"><?php 
        the_title();
        ?>
</h2>
			<div class="texto-portada-individual">
				<?php 
        the_content('<p class="serif">Leer el resto de esta página &raquo;</p>');
        ?>
				
				<?php 
        if ($url == "www.mozilla-hispano.org/difusion/eventos/") {
            ?>
				<p class="evento-rss"><a href="<?php 
            eme_rss_link(justurl);
            ?>
">Canal RSS de eventos</a></p>
					<p>Esta página muestra información sobre los próximos eventos de la comunidad de Mozilla en español.</p>
						<p>Si tienes información sobre cualquier evento que se vaya a realizar y quiere que sea añadido al calendario, <a href="/documentacion/Organizaci%C3%B3n_de_Mozilla_Hispano#Difusi.C3.B3n">ponte en contacto con nosotros</a> e infórmanos.</p>
						<h3>Próximos eventos</h3>
						
							<?php 
            eme_get_events_list("limit=5&scope=future&order=ASC");
            ?>
 
						
				<?php 
        }
        ?>
				
Example #3
0
function eme_rss_link_shortcode($atts) {
   extract ( shortcode_atts ( array ('justurl' => 0, 'text' => 'RSS', 'scope' => 'future', 'order' => 'ASC', 'category' => '', 'author' => '', 'contact_person' => '', 'limit' => 5, 'location_id' => '', 'title' => '' ), $atts ) );
   $result = eme_rss_link ( "justurl=$justurl&echo=0&text=$text&limit=$limit&scope=$scope&order=$order&category=$category&author=$author&contact_person=$contact_person&location_id=$location_id&title=".urlencode($title) );
   return $result;
}