WordPress.org

Ready to get started?Download WordPress

Forums

A little programming help please (3 posts)

  1. Altstatten
    Member
    Posted 7 years ago #

    Using a plugin that indicates my feed address as such:

    $defaultdata = array(
    'new_visitor_message' => "<p style='border:thin dotted black; padding:3mm;'>If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!</p>",
    'message_location' => 'before_post',
    'repetition' => '3'
    );

    Am trying to "substitite" the feedburner address below for the appropriate portion above but I keep getting parse error messages. If one of you "practiced eyes" out there could help me with the proper syntax here I would be ever so grateful. The new feed address is:

    <p>< a href="http://feeds.feedburner.com/TheDonutTheory" rel="alternate">Subscribe to The Donut Theory</ a></p>

    I added some spaces to keep it from doing what html does. thanks a heap!

  2. citeewurkor
    Member
    Posted 7 years ago #

    I'm not exactly sure what you're wanting to do, but to change my default rss feeds for visitors, I just changed them in my theme's header.php file between the <head> tags. They would look something like this:
    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="http://feeds.feedburner.com/yourfeed" />

    <link rel="alternate" type="text/xml" title="RSS .92" href="http://feeds.feedburner.com/yourfeed" />

    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="http://feeds.feedburner.com/yourfeed" />

  3. Altstatten
    Member
    Posted 7 years ago #

    I appreciate the reply but I already have the feed code that works. The feed code in the plugin works. The replacement line of code works fine elsewhere, but when I try and sub the new line for the original feed code in the plugin I get error messages. Trying to figure out why...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.