What Others Are Saying

Latest Version: 1.4
Works on: Version 2.07 - 2.5.1
Last Update: 8th May 2008

This plugin allows you to display the most recent post of your favourite blogs somewhere on your site. It utilises the RSS link field from the blogroll for each of your links. If the RSS link exists it attempts to get the last post from it. It then displays the most recent X number of posts depending on your settings. Each blog can have one post in the list.

See Update Information

Requirements

I've checked this down to WordPress version 2.0.7 without problem and this works up to the latest version 2.3. The script works on PHP 4.4 and 5.2 and MySQL 4 and 5 so should be fine for most servers.

Instructions

  1. Download the Plugin and unzip it.
  2. Upload the file to your plugins folder then activate it via the WordPress admin panel.
  3. Go to Options - What Others Say and make changes to the defaults if you wish See Figure 1
  4. Add RSS feed links to the links in your Blogroll that you want to display in the list (The RSS link goes in the Advanced section on the Add/Edit link page).
  5. Add the code below to wherever you want the list to display.
PHP Code Excerpt
  1. <?php if (function_exists('what_others_are_saying')) {
  2. what_others_are_saying();
  3. } ?>
Figure 1: The Options page in the Admin
What Others Are Saying Plugin Options

The plugin simply outputs the post and site name wrapped in a list item, so you would need to insert the above code into either an unordered or ordered list, and also give it a header. I've done it this way so that people don't need to edit the plugin file to change their markup.

Suggested markup would be:
  1. <h3>What Others Are Saying</h3>
  2. <ul>
  3. <?php if (function_exists('what_others_are_saying')) what_others_are_saying(); ?>
  4. </ul>

If you have any comments or problems with installation let me know :)

Download the plugin.

Lee has made a widget verson of this plugin, so you can download this from his site - Download widget. (This is currently of the previous version that doesn't contain an admin page. Once I know he's updated his widget I'll remove this comment).

Updates (Newest First)

  • 08/05/2008: Updated the admin page to fit in with the new WordPress 2.5 look.
  • 17/03/2008: Cleaned up the code to use WordPress API code entirely, removed the need for a cachetime.txt file and set up the cache timing in the options table instead. Added a readme.txt file and screenshot in the zip file.
  • 19/10/2007: Cleaned up the code, fixed invalid ampisands in titles and added the option to display either most recent posts or a randomised list of all the latest posts.
  • 14/10/2007: The admin page has landed! You can now update the options via an admin page under your Options menu, rather than editing the file directly.
  • 08/10/2007: After finding people having problems with modifying the output I realised that perhaps I should just output the list and nothing more, allowing people to write their own header and markup. So I've removed this.
  • 03/10/2007: The script now checks for a database connection and reconnects if it needs to. Added support for another type of RSS feed. Option to have the site name linked as well as the post title.
  • 27/09/2007: Added in extra variable to allow people to set the header title above the list. Defaults to 'What Others Are Saying'
  • 25/09/2007: Found a database table without the prefix on correctly, plus added in code to prevent duplicates being displayed. I think it occurs if two visitors hit during the update at the same time.
  • 25/09/2007: The code now pulls in the table prefix from WordPress settings so this will avoid errors where someone has changed the table prefix from the standard wp_ and not updated the file. Also one less thing to set!
  • 25/09/2007: Added in a couple of error print outs for if/when errors do occur as it's easier to determine the cause then.
Subscribe to Email Update Notification
  1. 82 Responses to “What Others Are Saying”

  2. It would be nice if it was upgraded to a widget ;) then a user can just activate it and move it into their sidebar for example.

    By slee on Sep 25, 2007

  3. I don't use widgets so I don't know much about them. Feel free to convert it if you want ;)

    By Sarah on Sep 25, 2007

  4. Sarah, I tried installing it on my blog and ran into a couple SQL errors- I don't have time to check them out right now but I will take a look at it tonight and see if I did something wrong

    I got a mysql_num_rows supplied argument is not a valid error on line 82, and a mysql_fetch_object supplied argument is not a valid MySQL result resource on line 150 error.

    By Chance on Sep 25, 2007

  5. Hmm the errors are related as the second error is cropping up because there are no results to display.

    The first error is showing because it can't pull any feeds out of the blog roll database. Two questions to that are
    1. Have you added RSS links into your blog roll?
    2. What version of WordPress are you running on?
    3. Is your table prefix wp_ and if not have you changed that in the code?

    Unfortunately I don't know how far back the links table schema goes. Mine is 2.2.X and that works.

    I'd say give me a shout when you're looking later but it depends how late and how far behind you are to GMT! I'll try and look at the various table schemas for versions and see if I can pinpoint where this may stop working.

    By Sarah on Sep 25, 2007

  6. Hi Jason, I've checked on the schema on a much older site and the table for the links/blogroll contains the fields I'm using so my only guess is that either something is erroring or your RSS feeds haven't been entered.

    I've updated the plugin to contain a couple of error outputs so if you want to update with the new version then the errors will appear if there's an SQL issue and we can see what's going on.

    I've also removed the table prefix variable and worked out how to use the one set in the wp-config.php file instead, so one less issue to think about :)

    By Sarah on Sep 25, 2007

  7. Updated to new version with a few minor fixes plus a major fix.

    By Sarah on Sep 25, 2007

  8. There's now a widget version available from Lee

    By Sarah on Sep 25, 2007

  9. 2 of the 5 fed posts at http://www.stuffbysarah.net/ais/ are the same ones from your /blog. How about functionality to prevent dupes being displayed?

    Also, I like the idea of the widgetised version as it means no faffing around with theme code, but will it be kept up to date as a separate branch or merged into the main?

    By Will on Sep 25, 2007

  10. I have, check the update notes ;)

    I just haven't updated my AIS blog yet. Still trying to work out how the duplicates are getting in there!

    By Sarah on Sep 25, 2007

  11. 5. Add RSS feed links to the links in your Blogroll that you want to display in the list (The RSS link goes in the Advanced section on the Add/Edit link page).

    Users can do this automatically by exporting an OPML file from their feedreader, and then importing that in to Wordpress. This should then import the feed URL into the blogroll as well as the site URL.

    By David Anderson on Sep 25, 2007

  12. To prevent duplication of links I'd suggest that if you want to import from an OPML file, create a new category and don't make it visible on your blog roll. Then import the links and feed links into that.

    The script only retrieves one version of the feed link anyhow, so duplication will only occur if you have the same site with two different feed addresses.

    By Sarah on Sep 26, 2007

  13. Another minor update to allow people to change the header title of the list from 'What Others Are Saying' semi-easily (there's still no admin panel!). Thanks to Lee for mentioning this the other day.

    By Sarah on Sep 27, 2007

  14. I've now upgraded to WordPress 2.3 and this plugin works fine on that too.

    By Sarah on Sep 28, 2007

  15. Hi Sarah,

    Im having trouble connecting to the database as well. Ive added one link to my blogroll and placed the corresponding rss feed url in the advanced section. Im using wp 2.3 and your latest plugin file.

    The plugin didnt create the table so my initial thought was that it was connected to that however I created the database using the code in the file and im getting the same error.

    Any ideas? :)

    By Kevin Muldoon on Sep 29, 2007

  16. Hi Kevin, Is there any error being output? Or is it simply a case of could not connect to the database?

    I'm away at present and have barely any internet access but once I'm back I'll write some debug code into the plugin which can be run to report a few bits of info that can give me an idea of why something may not work as it should do.

    If there are any errors showing can you let me know what those are then I may be able to have a better suggestion for the time being.

    By Sarah on Sep 30, 2007

  17. Hi Sarah,

    yeah there is an error but its a mysql connection error.

    heres what it says

    Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /..path to my folder../wordpress/wp-content/plugins/other-posts/other-posts.php on line 52

    Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /..path to my folder../wordpress/wp-content/plugins/other-posts/other-posts.php on line 52

    Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /..path to my folder../wordpress/wp-content/plugins/other-posts/other-posts.php on line 66

    Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /..path to my folder../wordpress/wp-content/plugins/other-posts/other-posts.php on line 66

    Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /..path to my folder../wordpress/wp-content/plugins/other-posts/other-posts.php on line 67

    Warning: mysql_query() [function.mysql-query]: Access denied for user 'nobody'@'localhost' (using password: NO) in /..path to my folder../wordpress/wp-content/plugins/other-posts/other-posts.php on line 81

    Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /..path to my folder../wordpress/wp-content/plugins/other-posts/other-posts.php on line 81
    Access denied for user 'nobody'@'localhost' (using password: NO)

    thanks for looking into this

    kevin

    By Kevin Muldoon on Sep 30, 2007

  18. I must admit, your problem has stumped me! At first I thought it may be due to you putting it in its own directory but I've just tried this on two blogs (one is WP 2.3) and it still worked.

    It seems that it's not getting your database connection details hence the Access denied error. However as a plugin, it should already have the database connection made by the basis of running WordPress.

    Anyhow, if you add the following code in near the top, right after the line

    global $wpdb;

    then it will reconnect to the WP database and then the errors should stop showing. The code is

    include ABSPATH ."wp-config.php";
    mysql_connect(DB_HOST, DB_USER, DB_PASSWORD);
    mysql_select_db(DB_NAME);

    Alternatively, download this updated alternative version - Plugin plus new code, which has the extra code in. If that works then I'll put it up in the post for others to use if they suffer a similar issue.

    Let me know if that works for you.

    By Sarah on Oct 1, 2007

  19. many thanks Sarah, that worked a treat!! :)

    By Kevin Muldoon on Oct 2, 2007

  20. Hey Kevin, great to hear that. I just realised the first line could probably have been omitted as the ABSPATH constant is pulled from the wp-config.php file anyway! So if it didn't know that it would have error'd anyway.

    Seems like your database connection had been closed before the plugin function is called. I'll update the existing plugin to check for the connection automatically, saves offering two different ones :)

    Cheers for the feedback :)

    By Sarah on Oct 2, 2007

  21. yeah its working perfectly now :)

    Some suggestions for future versions

    * ability to change update time via control panel
    * option to make the site name a clickable link to the url (eg. Stuff by Sarah would be Stuff by Sarah)

    :)

    By Kevin Muldoon on Oct 2, 2007

  22. Hey Kevin, cheers again for the feedback and suggestions. I'm currently working on an admin page / options page for it as I know few people will want to go into the PHP. With it being my first plugin, I'm still dissecting another to work out how!

    The clickable links are easy enough to add though :)

    Thanks again.

    By Sarah on Oct 2, 2007

  23. Hi Sarah, I love your plugin!

    I am just having one small problem at the moment. One of my feeds which should be returning an url like "http://www.searchengineguide.com/laycock/010817.html" instead returns this url: "http://www.patbdoyle.com/10817@http://www.searchengineguide.com/laycock/". (It puts my blog URL in the front, then the post number, then @ and then the blog URL.) It only happens with this one feed. Is there anything I can do about this?

    Thanks in advance for any help you can give.

    By Pat B. Doyle on Oct 2, 2007

  24. Hey Pat, some feeds weren't supported (yet!) as there are so many different styles! In this instance the feed for Search Engine Guide has a funny URL under the item I'm grabbing it from.

    However, now I know this one, give me until the end of the day (as my workload is major this morning) and I'll get the plugin updated to suit the feed :)

    PS. Glad you like it :)

    By Sarah on Oct 3, 2007

  25. Plugin Updated again - version 1.1.3. This now includes the following:

    Automatic checking that a database connection is present, it reconnects if it isn't.

    Support for another type of RSS feed, let me know if there are any more displaying funny. I wish everyone would use the same code!

    A new variable to allow you to switch on/off the option to link the Site Name to the site, which is displayed under each post, as per Kevin's suggestion.

    Tested on my own site, as usual, let me know if there are any problems.

    By Sarah on Oct 3, 2007

  26. Superb Sarah
    Ill upload this later

    Keep up the good work :)

    By Kevin Muldoon on Oct 3, 2007

  27. Thanks, Sarah, that was quick! I will install the new version tonight.

    By Pat B. Doyle on Oct 3, 2007

  28. Thanks for both of your feedback Kevin and Pat. It's truely much appreciated.

    Pat, don't hesitate to let me know if you come across any further problems with feeds. The more different feeds I can see the more I can support!

    By Sarah on Oct 3, 2007

  29. "Create a empty text file in the same directory as your blog index called cachetime.txt. Chmod it to 766 (the code does try to do this for you but it probably won’t be successful on most servers)."

    Could you please explain what this means? I tried to use Lee's plug-in and it worked fine but does not assimilate with the sidebar. The text is smaller/different and the title does not show up in the same format as the other sidebar items. It otherwise worked great.

    If you could explain how to perform the steps above, I'm sure that I could implement this and have it look right, too.

    Thanks.

    By JHS on Oct 5, 2007

  30. Hey JHS. To explain the step… You need to either upload an empty file called 'cachetime.txt' into the same directory as where your blog files are stored. For most this would be the root, the 'www', 'public_html', 'htdocs' etc.

    If you can't upload an empty file via FTP (which is sometimes the case), then just put a character into it eg. a 1, and save and upload that.

    Then once it's online, depending on your FTP program, you need to find where to set the permissions known as CHMOD. Usually you can right-click on the file (cachetime.txt) and under the menu that comes up should hopefully have an option called Permissions or CHMOD. Click on that and then change it to 766.

    However, I've looked at the site you gave with your comment and if that's the site in question then I can see that the output of the plugin doesn't match your other widgets.

    I can either write out the code for you to copy and replace in your plugin or I can redo the output part and provide you with a new plugin file that would have the same output markup and then hopefully take on the same styles as the other sections on your sidebar.

    Let me know which is easiest for you :)

    By Sarah on Oct 5, 2007

  31. Sarah:

    I looked at my www directory and there was already a file there called cachetime.txt. Thanks for explaining about the permissions. I right-clicked on CHMOD (Unix) and entered 766.

    I switched back to your plug-in and put your code into a widget php box, but only the code itself shows up, not the target list.

    So I just reactivated Lee's plugin. Either of the two options you suggested is fine with me . . . I appreciate your assistance, but please provide the fix that requires the least amount of time for you.

    Thanks.

    By JHS on Oct 5, 2007

  32. I will be updating the widget version this weekend with Sarah's new updates so hopefully it will help

    By slee on Oct 5, 2007

  33. Hey JHS, my code won't work in a widget PHP box I guess. Sorry I don't use widgets so I don't know how they work. If you prefer using those then I'd stick with Lee's widget.

    *code removed as it wouldn't display correctly!*

    PS. Cheers for the update Lee :)

    By Sarah on Oct 5, 2007

  34. I got carried away again and i've done it already so if you want the widget pop on over and grab it fro my site :) ie updated it with Sarah's latest code as of today.

    By slee on Oct 5, 2007

  35. Sarah, thanks, the feed is working now!

    By Pat B. Doyle on Oct 5, 2007

  36. Lee, you're as bad as me! Cheers for the update.

    Pat, thanks for letting me know :)

    By Sarah on Oct 5, 2007

  37. Lee's new version of the widget produces the same result/look in my sidebar.

    So I deleted it and tried the code set forth above. That resulted in a fatal error and the plugin being deactivated.

    By JHS on Oct 6, 2007

  38. JHS, Lee's plugin is simple a widget version of mine, so it would still need changing to the code above.

    Sounds like it'll be easier if I download Lee's widget and alter the code for you. I won't be able to do this until later today as I'm out for the morning and early afternoon, however I'll get it done and email it over to you later today and we can go from there :)

    By Sarah on Oct 6, 2007

  39. Hi Sarah,

    Your Plugin is great byt the sounds of it. I actually got rid of my Blogosphere widget because of yours as i find it much better. More control for the user on what's being displayed.

    Problem is I can't get it to work. Seems like JHS I can only get the actual code to display in my sidebar.
    I uploaded the plugin
    I created the cachetime.txt and uploaded it to public_html
    I CMOD ed it to 766
    I created my RSS feeds in the blogroll

    And then I tried to add it to me left sidebar. This is the code where I tried to input it between the tags

    What Others Are Saying

    All it showed was your code and thats it.

    Any suggestions on what to do? I don't want to use the widget from Lee (it does work as I tried it) because I prefer to style my sidebars myself. And when I activated the widget i lost all the other stuff.

    Thanks
    Monika

    By Monika @ The Writers Manifesto on Oct 6, 2007

  40. Hi Monika,

    Did it show the actual PHP code or do you have it running at present where the list is empty on your site? If it's the latter then it looks like it's not picking up any entries from other feeds. If you're familiar with phpMyAdmin (and have access to it) this should be able to show you whether there are any feeds retrieved for the list in the table wp_linkspost.

    If the code isn't presently running can you let me know what exactly shows up when it is. Feel free to send a screenshot to sarah at my domain here.

    I'm presuming your sidebar is the standard side bar (so not widgetised). Also does it execute standard PHP? eg. if you insert the code

    <php echo "Hello World!"; >

    and see if that displays. If it does then the PHP should be running. If it doesn't then something is stopping it.

    Let me know on these things and we'll go from there :)

    By Sarah on Oct 6, 2007

  41. Hi Sarah,

    I'm not sure what you mean by phpMyAdmin? Is that to be found in cpanel? I tried the code above and it didn't show anything. Still only the "What others are saying in my left sidebar" as the title.

    When I did input your original code, the one that is supposed to show all links, it came up as showing this code under the title in my sidebar.

    Monika

    By Monika @ The Writers Manifesto on Oct 7, 2007

  42. Monika, do you use a widget/dynamic sidebar or a standard one? It sounds like PHP isn't running hence why you're seeing the actual PHP code, which I've only heard happen when you use the dynamic sidebar.

    phpMyAdmin is under cPanel yes, but if you've not been in there before don't worry about it as it's not somewhere you want to go! It's like a graphical user interface for accessing a viewing databases and tables. Don't worry about that.

    I'll drop you an email with a couple of other options.

    By Sarah on Oct 7, 2007

  43. @JHS - I don't know if you got my email from yesterday with a copy of the widget plugin designed to suit your markup. If you didn't (as I know zip files can be blocked as spam or viruses) let me know and I'll post up a link to it here.

    By Sarah on Oct 7, 2007

  44. can you show the demo of this plugin?i don't understand what the plugin will look like after being install..

    By khairilz on Oct 8, 2007

  45. Hi Khairilz, the plugin is already in use on this site in the sidebar under the heading 'What Others Are Saying'.

    There are also other sites currently sporting the plugin. Of those I know about

    http://www.osworld.biz
    http://www.bloggingtips.com
    http://www.patbdoyle.com
    http://www.jhsiess.com
    http://www.samulli.com/weblog/

    I may set up a list of sites using the plugin so that you can see the usage of it across differing sites.

    By Sarah on Oct 8, 2007

  46. A new minor update to the plugin. After a few people having either problems or annoyances with changing the output markup I've removed all but the list items for each entry.

    So the new version simply outputs

    <li>Post 1<br />
    Site Name</li>

    For each post it finds.

    If you want to keep the same code I had originally (which I deem to be the most appropriate naturally!), then update the plugin to the new one and replace the plugin code in your sidebar with

    <h3>What Others Are Saying</h3>
    <ul>
    <?php if (function_exists('what_others_are_saying')) what_others_are_saying(); ?>
    </ul>

    This will simply give everyone more control and flexibility over how it looks on their own site (as I'm still working on how to do the admin page!).

    Feedback, as always, is welcome.

    By Sarah on Oct 8, 2007

  47. The admin page has landed :D You can now update the options via an admin page under your Options menu, rather than editing the file directly.

    Latest version is now 1.2. Let me know if you have any problems with it.

    By Sarah on Oct 14, 2007

  48. Hi Sarah,
    I don't remember anymore how I found your site, but I have just installed this plugin in my blog and it works great. Thanks a lot for making it available!
    :)

    By samulli on Oct 15, 2007

  49. Hey Samulli, thanks for letting me know :) Glad you like the plugin.

    By Sarah on Oct 15, 2007

  50. New update. Cleaned up the code, fixed invalid ampisands in titles (after noticing a warning on my site!) and added the option to display either most recent posts or a randomised list of all the latest posts.

    By Sarah on Oct 19, 2007

  51. Hi Sarah, I just installed the latest update, and now the links for 45n5.com are not working correctly. He just updated his site too, so maybe he changed something with his feed. Could you please take a look at this? Thanks, and thanks again for the great plugin!!

    By Pat B. Doyle on Oct 23, 2007

  52. Hi Pat, Mark's feed links are wrong which doesn't help. Even in Google Reader they're not correct. I'll drop him a mail and let him know, once his are working I can then alter the parser if I need to.

    To be honest I use his feedburner link instead ;)

    By Sarah on Oct 23, 2007

  53. Pat, Just to let you know it was an error on Mark's feed, he's fixed it now so it should all be fine for you now, or on the next update.

    By Sarah on Oct 23, 2007

  54. Great, thanks, Sarah!

    By Pat B. Doyle on Oct 23, 2007

  55. Whoa! Nifty. I SO wanna try this plugin.

    By Jenny on Oct 25, 2007

  56. Hey Jenny, be my guest. Let me know if you encounter any problems :)

    By Sarah on Oct 25, 2007

  57. Really nice blogroll plugin. I'd like to use it, if I used WordPress, but I don't. But it 'looks' and feels pretty 'cool'. –John

    By John W. Furst on Oct 26, 2007

  58. Cheers John. Sorry you don't use WordPress! It can work outside of WordPress but needs recoding for that. When I've got time I'll make up a standalone version.

    By Sarah on Oct 26, 2007

  59. Sarah… I think I'm missing a step or something… Why is it showing a blank list?

    - I added feed info to the RSS Address field in the BlogRoll
    - Activated the Plugin
    - Added the code above to one of my text widgets in the sidebar
    - The list is blank!

    May be the php code does not work in a text widget in the sidebar??

    I may be doing something wrong for sure!

    By Guillermo on Nov 8, 2007

  60. Hi Guillermo. Not sure wht you mean by a text widget?

    At present there are two plugin versions. The one from this site which is not designed to work with widgets, and the one from Lee's site, which is a widgetised and once installed should just require dragging and dropping via the Themes -> Widgets section.

    Are you using a Widget/dynamic sidebar? If so then you'll need Lee's version.

    By Sarah on Nov 8, 2007

  61. Hi Sarah, Tks for your fast replay! I will use Lee's version then!

    By Guillermo on Nov 8, 2007

  62. No problem, let me know how it goes :)

    By Sarah on Nov 8, 2007

  63. Brilliant - this has just come at the right time for a new site i'm making!

    By Martin Paling on Nov 12, 2007

  64. Glad to hear it Martin, let me know if you have any feedback/issues/suggestions :)

    By Sarah on Nov 13, 2007

  65. Okay, I think someone's going to have to explain what 'Chmod it to 766' means?

    By Stewart on Dec 11, 2007

  66. Hi Stewart. 'Chmod' is a way to set permissions on a server (non IIS only). Usually in your FTP program you should be able to right click on a file and select something such as 'Permissions' or 'CHMOD' and then you can change the permissions here.

    Here's a site that tells you how to update permissions with various major FTP programs - Chmod Article.

    Let me know if that helps you at all :)

    By Sarah on Dec 11, 2007

  67. Hi Sarah, Do you know of anything similar to your plug in that can also give me the chance of showing an excerpt of the post?

    Thanks!

    By Guillermo on Apr 14, 2008

  68. Hi Guillermo, I don't know of any plugin similar. But I can set mine up to show excerpts as an option. Give me 24 hours :)

    By Sarah on Apr 15, 2008

  69. Sarah you're amazing… this thing rocks except for each RSS feed i enter there's a title link with a link directly to the feed's main page including the little RSS image. how do i get rid it?

    By mark on Apr 15, 2008

  70. wow i give up, i've been trying to get this thing to work for about 10 hours… no matter where i put up the code it just doesn't show up at all. i don't know if its because i don't have a dynamic sidebar. im using word press 2.5 and when i use RSS Feed link it makes it automatically appear on my site regardless of using your code. please help thanks

    By mark on Apr 16, 2008

  71. Hi Mark,

    I'm not sure exactly what's going wrong for you. You don't need a dynamic sidebar, in fact you shouldn't have a dynamic sidebar for my plugin to work.

    You mentioned when you add an RSS feed link it appears on your site, yet the function for my code doesn't work. Sounds like your template is pulling the feed link out.

    I'll drop you an email so you can maybe show me your site and I can take a look, privately :)

    By Sarah on Apr 16, 2008

  72. Upgraded this plugin to fit in with the new WordPress 2.5 admin design.

    By Sarah on May 9, 2008

  73. Your plugin sounds promising; I've been looking for a non-widget plugin like this. I have a problem, however. I've installed and activated the plugin, installed the code on my home page (at the bottom of the page) and checked my options, but nothing appears. Can you suggest what I can do to solve this?

    By Phil Barron on May 16, 2008

  74. Sarah: Duh. I misinterpreted the instructions, which show me how to do what I asked. Trying the plugin out now.

    By Phil Barron on May 16, 2008

  75. Hi Phil, sorry was out and missed your comments, I've removed the two middle ones as I didn't think they were relevant anymore! Hopefully everything's working as it should do now for you :) Give me a shout if you still have problems.

    By Sarah on May 16, 2008

  76. The plugin works great! I have just one question. I tried inserting target="_blank" into the URL for the outgoing link because I prefer such links to open up a new tab rather than take people away from my blog, but that didn't work. How would you suggest I edit the link to allow this (assuming it's possible)?

    By Phil Barron on May 16, 2008

  77. Hi Phil, you'd need to edit the plugin to insert the target attribute. If you're not too scared of looking at the PHP then open up the plugin file, scroll to the bottom of it where you should see the HTML output (mixed with a little PHP). Find the link tag and add your attribute in there.

    If you're not sure let me know and I can modify the file and email it to you.

    By Sarah on May 16, 2008

  78. Hi, Sarah. What you described is exactly what I did (apologies for not describing it more clearly before). Inserting the target attribute in the link tag resulted in a fatal error:

    Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home/REDACTED/public_html/wp-content/plugins/other-posts.php on line 239

    If you can think of a way to avoid the error, that would be great.

    By Phil Barron on May 18, 2008

  79. Hi Phil, typical PHP syntax error there. I've amended the file for you and emailed it over, hope it all works fine for you now :)

    By Sarah on May 19, 2008

  80. Ah, single quotes instead of double quotes; I should have tried that on my own. The plugin now works as well as I could have hoped. Really, this is just what I was looking for. Thank you very much, Sarah!

    By Phil Barron on May 19, 2008

  81. No problem Phil :)

    By Sarah on May 20, 2008

  1. 2 Trackback(s)

  2. Jun 3, 2008: New features and tools at the old blog | Waveflux
  3. Jul 18, 2008: 50 Wordpress plugins del 2 | Webmastern.se
Post a Comment

Please use your real name, nickname or an online name. Names I consider spam will be changed.