• Hi,

    in my wordpress blog I have changed the link to a post with a custom field calls “url”, what keeps the link to the post.

    To be able to use the rss feed I would like to change in the feed.php

    function the_permalink_rss() {
    	echo apply_filters('the_permalink_rss', get_permalink());
    }

    the get_permalink() with the custom field “url”.

    I tried to replace “get permalink()” with “get_post_custom_values(“url”)” but it doesn’t work.

    I also tried to change the function into

    function the_permalink_rss() {
            $values = get_post_custom_values("url");
    	echo apply_filters('the_permalink_rss', $values[0]);
    }

    Doesn’t work either.

    Somebody know the solution? thanks

    Jarod
    Wordpress 2.7

The topic ‘rss feed 2.0 – feed.php change permalink’ is closed to new replies.