Jump to content


Where to put code to display feed


2 replies to this topic

#1 russell

russell

    Advanced Member

  • Members
  • Others: Builder
  • PipPipPip
  • 55 posts

Posted 02 October 2010 - 06:29 PM

I am using a plugin that allows me to enter a short code to call up specified RSS feeds into post or pages but the instructions are if I want to put the short code anywhere else on the site I have to put this in the location

<?php sp_getFeedContent("feedname");?>

I want to end up using it in a tabber widget but I guess I would just use a text box inside the tabber and insert the short code. Just not sure where to put the code so the short code will work in a text widget?

Any help would be appreciated.

Russ

www.thecoastalguy.com / under costruction

#2 Sridhar Katakam

Sridhar Katakam

    Moderator

  • Moderators
  • Others: Administrators, All Plugins, All Themes, BackupBuddy, DisplayBuddy, Webdesign
  • 22,017 posts
  • LocationBangalore, India

Posted 02 October 2010 - 07:35 PM

Russ,

That's not short code, that's PHP code. Short code is enclosed in [ and ].

To display PHP code in widgets, http://wordpress.org/extend/plugins/php-widgetify/ plugin can be used.

#3 russell

russell

    Advanced Member

  • Members
  • Others: Builder
  • PipPipPip
  • 55 posts

Posted 02 October 2010 - 09:34 PM

Yes your right.

Got it now thanks.

Found a plugin like you suggested and it works fine

Thanks for the quick reply.

Thanks, Russ



Reply to this Topic


ATTENTION
If this topic is marked RESOLVED or INFORMATION, or if you are NOT experiencing EXACTLY the same issue, please start a new topic to provide the details of your problem. If the solution provided doesn't work for you, you should start a new topic. If you feel this thread contains relevant information, you may include a link to it in your new topic. To ensure that we can process your support request efficiently, ALWAYS include a link to your site, and/or the page your request is related to. When posting your question or request on the forum, please be as concise and specific as possible. The shorter and more to the point you can make your request, the better.

For BackupBuddy related issues, be sure to include the status log from your most recent backup.

CLICK HERE to start a new topic in the Tabber-Widget Plugin forum.


  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users