Need help times I do not want text in the Description Rss Feed

Home Forums Calendar Products Events Calendar PRO Need help times I do not want text in the Description Rss Feed

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #952243
    alonso
    Participant

    I would like to Rss Feed of any content contains only Title and Meta Data

    How can I hide on the function.php

    #952282
    alonso
    Participant

    This is what I want to see in Rss Feed

    Hope someone can help

    http://markttermine-saar.de/saarland/kategorie/flohmarkt-saarland/

    #952871
    Gustavo Bordoni
    Keymaster

    Hi 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,

    #952891
    alonso
    Participant

    HI
    sorry here is the feed

    http://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>&raquo;&nbsp;Wo:</strong> ' . sp_get_zip() . ' ' . tribe_get_city() . '</h3><hr>'; 
            //$output .= '<strong>&raquo;&nbsp;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>&raquo;&nbsp;Veranstalter:</strong> ' . sp_get_organizer ()   . '<br>';   
            $output .= '<strong>&raquo;&nbsp;Wo:</strong> ' . tribe_get_venue() . '<br>';  
            $output .= '<strong>&raquo;&nbsp;Adresse:</strong> ' . sp_get_full_address () . '<br>';
            $output .= '<p><strong>&raquo;&raquo;&nbsp;<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');
    #952893
    alonso
    Participant

    what you see in the function I want to show only the content is not so the description of events

    #954088
    Gustavo Bordoni
    Keymaster

    Hi 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,

    #954102
    alonso
    Participant

    Title
    Start-Date
    venue
    full adress
    Google Map Link

    That is all

    #957372
    Gustavo Bordoni
    Keymaster

    Hi 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,

    #984057
    Support Droid
    Keymaster

    This 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.

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Need help times I do not want text in the Description Rss Feed’ is closed to new replies.