Home › Forums › Calendar Products › Events Calendar PRO › Need help times I do not want text in the Description Rss Feed
- This topic has 8 replies, 3 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
March 31, 2015 at 8:20 am #952243
alonso
ParticipantI would like to Rss Feed of any content contains only Title and Meta Data
How can I hide on the function.php
March 31, 2015 at 10:18 am #952282alonso
ParticipantThis is what I want to see in Rss Feed
Hope someone can help
http://markttermine-saar.de/saarland/kategorie/flohmarkt-saarland/
April 2, 2015 at 11:29 am #952871Gustavo Bordoni
KeymasterHi Michael,
Thanks for reaching out to us here on our support forums.
Can you point me to which feed you want to change? I mean the URL.
MY Best Regards,
April 2, 2015 at 12:04 pm #952891alonso
ParticipantHI
sorry here is the feedhttp://markttermine-saar.de/saarland/kategorie/flohmarkt-saarland/feed/
and this is im my function to show the date
/* Working on adding Tribe Events info to RSS content */ function tribemeta_in_feed($content) { if(is_feed()) { $post_id = get_the_ID(); $output .= '<strong> *** ' . sp_get_start_date() . ' *** ' . tribe_get_city() . '</strong> ***<hr>'; // $output .= '<h3><strong>» Wo:</strong> ' . sp_get_zip() . ' ' . tribe_get_city() . '</h3><hr>'; //$output .= '<strong>» Ende: ' . sp_get_end_date() . '</strong><br><hr>'; //$output .= '<p><strong>Wo:</strong> ' . tribe_get_venue() . '</p>'; //$output .= '<p><strong>Adresse:</strong> ' . sp_get_full_address () . '</p>'; $content = $output.$content; } return $content; } add_filter('the_content','tribemeta_in_feed'); /* Working on adding Tribe Events info to RSS content */ function tribemeta_in_feed2($content) { if(is_feed()) { $post_id = get_the_ID(); //$output .= '<p><strong>Beginn:</strong> ' . tribe_get_start_date() . '<br>'; $output .= '<hr><strong>» Veranstalter:</strong> ' . sp_get_organizer () . '<br>'; $output .= '<strong>» Wo:</strong> ' . tribe_get_venue() . '<br>'; $output .= '<strong>» Adresse:</strong> ' . sp_get_full_address () . '<br>'; $output .= '<p><strong>»» <a href="' . sp_get_map_link () . '" target="_blank">Zeige Ort auf Google Map</p></strong></a>'; $content = $content.$output; } return $content; } add_filter('the_content','tribemeta_in_feed2');April 2, 2015 at 12:06 pm #952893alonso
Participantwhat you see in the function I want to show only the content is not so the description of events
April 8, 2015 at 9:43 am #954088Gustavo Bordoni
KeymasterHi Alonso,
I would like to know which are the meta data you want to show, and if the content of the event should be displayed as well. I mean, give me specifics and I can craft a snippet for you.
My Best Regards,
April 8, 2015 at 10:08 am #954102alonso
ParticipantTitle
Start-Date
venue
full adress
Google Map LinkThat is all
April 22, 2015 at 8:24 am #957372Gustavo Bordoni
KeymasterHi Alonso,
Sorry for the big delay on my answer.
Now I have a snippet plugin that should fix you issue, just follow the instructions on the link below:
https://github.com/bordoni/tec-forum-support/tree/plugin-952243
My Best Regards,
July 7, 2015 at 6:31 am #984057Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Need help times I do not want text in the Description Rss Feed’ is closed to new replies.
