• Resolved gladfriends

    (@gladfriends)


    Thank you for writing this awesome plugin.

    The Feed to Post method allows the display of the feed source entered in the feed name of each feed (feed name 1, feed name 2, etc. in Feed)

    Is there any way to call the feed name directly in my theme template so i can have it placed in my entry meta, instead of the x inside the green label (cf. prt scr http://i.imgur.com/1pAdir0.png)?

    The code is as follow:

    <span class=”label label-default”><time class=”published” datetime=”<?php echo get_the_time(‘c’); ?>”><?php echo get_the_date(); ?></time></span>
    <span class=”label label-primary”><?php $category = get_the_category(); echo $category[0]->cat_name; ?></span>
    <span class=”label label-success”>x or WHERE THE FEED NAME/SOURCE NEED TO BE DISPLAYED</span>

    I only need the feed name to be displayed, not the feed source attribution label.

    Many thanks in advance for your help.

    http://wordpress.org/plugins/wp-rss-multi-importer/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Allen

    (@amweiss98)

    the feed to post simply takes rss feed and puts it in your blog as a blog post…it’s then up to your theme to determine what is displayed and what isn’t. You can go into import_posts.php (in the inc folder of the plugin) and comment out anything you don’t want included in the description that gets put in the contents of your blog post. Easier yet, just go into the Feed to Post admin page and check off the box that says to display the feed source.

    Thread Starter gladfriends

    (@gladfriends)

    I am not very familiar with wordpress, but thank you for your help.

    This is how I did it:

    <span class=”label label-success”><?php echo get_the_excerpt(); ?></span>

    It allowed me to get the excerpt without the <p></p> enclosure.

    Here is the prt scr after the change http://i.imgur.com/3kinA41.png.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Feed source’ is closed to new replies.