1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

can i exclude some feeds from rewriting filter in feedwordpress?

Discussion in 'Blogging' started by drabdoelkady, Jul 13, 2015.

  1. drabdoelkady

    drabdoelkady Newbie

    Joined:
    Feb 14, 2015
    Messages:
    3
    Likes Received:
    0
    Hi

    in feedwordpress filter :

    add_filter('syndicated_item_title', 'fwp_set_title', 10, 2);
    function fwp_set_title ($title)
    {
    $title1[0] = "Title 1";
    $title1[1] = "Title 2";
    $title1[2] = "Title 3";
    $title1[3] = "Title 4";
    $title1[4] = "Title 5";
    $title1[5] = "Title 6";
    $title1[6] = "Title 7";
    $title1[7] = "Title 8";
    $title1[8] = "Title 9";
    $title1[9] = "Title 10";
    $randomize = rand(0, 9);
    return ($title1[$randomize]);
    }

    I want to exclude some feeds of rewriting to publish on my blog with source title.


    Sorry for my poor English
     
    Last edited: Jul 13, 2015