Support » Plugins » A little programming help please

  • 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=”” rel=”alternate”>Subscribe to The Donut Theory</ a></p>

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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="" />

    <link rel="alternate" type="text/xml" title="RSS .92" href="" />

    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="" />

    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…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘A little programming help please’ is closed to new replies.