Support » Plugins » Simplepie, exclude the big title

  • Hello all,

    anyone have used simplepie?? If so, could anyone tell me how to exclude the big title of the feed. For example, news feed from google, when the feed comes, it contains a big title google news on top of all feeds, how to exclude that??

    Thanks

Viewing 1 replies (of 1 total)
  • I’m not sure if you’re using a plug-in or a diy installation.

    If you’ve done your own Simplepie installation and have a page like their sample then just remove the header section:

    <div class="header">
    <h1><a>get_permalink(); ?>"><?php echo $feed->get_title(); ?></a></h1>
    <p><?php echo $feed->get_description(); ?></p>
    </div>

    If you’re using the plugin from Simplepie, you need to edit the template you’re using (found at
    /public_html/wp-content/plugins/simplepie-plugin-for-wordpress/templates/yourtemplate.tmpl) to remove:

    <h3><a href="{FEED_PERMALINK}">{FEED_TITLE}</a></h3>

Viewing 1 replies (of 1 total)
  • The topic ‘Simplepie, exclude the big title’ is closed to new replies.