Forums

[Plugin: FD Feedburner Plugin] Feed for Author (3 posts)

  1. array064
    Member
    Posted 6 months ago #

    To accomodating author feed into feedburner with this plugin, I added this code:

    // Get author
    	$author = null;
    	if ($wp->query_vars['author_name'] != null) {
    		$author = $wp->query_vars['author_name'];
    	}
    	if ($author) {
    		$feed_url .= '_author_'.$author;
    	}

    After this line:

    // Get tag
    	$tag = null;
    	if ($wp->query_vars['tag'] != null) {
    		$tag = $wp->query_vars['tag'];
    	}
    	if ($options['feedburner_append_cats'] == 1 && $tag) {
    		$feed_url .= '_'.$tag;
    	}
  2. array064
    Member
    Posted 6 months ago #

    in file fdfeedbuner.php

  3. fabdango
    Member
    Posted 4 months ago #

    Awesome! I disabled the plugin because of that, I can now have it enabled again.

    Thanks!

Reply

You must log in to post.

About this Topic