1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Opinions on my new WordPress plugin

Discussion in 'WordPress' started by sadcox, Apr 22, 2008.

  1. #1
    Hey guys,

    I've just written my first WordPress plugin and put it out for consumption. Admittedly, not doing a huge amount of promotion for it right now, but I was wondering if you guys would mind checking it out and giving me some feedback.

    It's a pretty simple concept, so it should only take a few minutes to test...

    Give the plugin the slug of a category or tag and it returns a list of the n most recent articles with that category or tag. There are only a few settings to check out, so again, it won't be that difficult.

    I'd really appreciate it, and once I've gotten good feedback I'll give credit (and backlinks) from a few different blogs for those who've helped. You can find the new plugin here.

    Thanks again!
     
    sadcox, Apr 22, 2008 IP
  2. arwen54

    arwen54 Active Member

    Messages:
    632
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    60
    #2
    ooh! I like that...I've bookmarked and will test it out later! If it works out I will blog about it too :)
     
    arwen54, Apr 22, 2008 IP
  3. sadcox

    sadcox Peon

    Messages:
    162
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks arwen54! Anything you think I need to change or add to make it more useful, just let me know.

    I actually wrote it because I needed to do the same thing for a site I'm building. I figured it would be useful for anyone who runs a site that delivers news in different categories on the same page.
     
    sadcox, Apr 22, 2008 IP
  4. fish

    fish Well-Known Member

    Messages:
    450
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    120
    #4
    Wow, that's pretty cool. Is it possible to use a template tag (for use in theme files) as well? There is another plugin that does the template tags but it's pretty outdated. I think it would make a good feature for yours.
     
    fish, Apr 22, 2008 IP
  5. sadcox

    sadcox Peon

    Messages:
    162
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks fish...good suggestion. I'm actually already working on providing ways to call with options to override the settings. I can add the template tags in with the next version as well.
     
    sadcox, Apr 22, 2008 IP
  6. TVDinner

    TVDinner Well-Known Member

    Messages:
    177
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    108
    #6
    very cool plug in - have people been downloading it?
     
    TVDinner, Apr 22, 2008 IP
  7. fish

    fish Well-Known Member

    Messages:
    450
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    120
    #7
    I actually tried to activate this plugin. It triggered a fatal error.

    Looking at the code there was a lot of \par and \tab and slashes before the brackets } and {. Removed all of those and there's still some sort of error I can't pinpoint.
     
    fish, Apr 23, 2008 IP
  8. sadcox

    sadcox Peon

    Messages:
    162
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Thanks fish, I haven't tried to install from the .zip. I'll try it on a different blog and get it fixed.
     
    sadcox, Apr 23, 2008 IP
  9. sadcox

    sadcox Peon

    Messages:
    162
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Okay....try again. Sorry about that.
     
    sadcox, Apr 23, 2008 IP
  10. tomazinis

    tomazinis Peon

    Messages:
    30
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    That's usefull tool. I like it.
     
    tomazinis, Apr 23, 2008 IP
  11. sadcox

    sadcox Peon

    Messages:
    162
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #11
    So far you guys are the only ones who've downloaded and used along with a couple of local friends. I've submitted it for WordPress to accept. I guess it's just a waiting game for them to include it and get it set up with Subversion. Again, I really appreciate you guys checking it out and giving feedback, and I'll reciprocate with some link love.
     
    sadcox, Apr 24, 2008 IP
  12. fish

    fish Well-Known Member

    Messages:
    450
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    120
    #12
    Okay, just tested it again. Seems to be working fine with the updated version. :)

    Thought I would add some suggestions:

    1. Tempalte tags (already mentioned that above)
    2. Make it so you can define how many should be displayed in a specific list, like [cattagart slug-name 15] for 15 posts to be displayed.

    I'll let you know if I think of anything else.

    And some bugs...

    1. It displays drafts and other hidden/protected posts in the lists.
    2. If you make a list of the "default" category...stuff other than posts show there, like images, etc.
     
    fish, Apr 24, 2008 IP
    sadcox likes this.
  13. sadcox

    sadcox Peon

    Messages:
    162
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Thanks fish...

    The bugs are taken care of, thanks for finding those. :eek:

    I thought of another feature I'll add in the next version along with the template tags and settings override suggestions. Currently the plugin returns both pages AND posts, but in the future version I'll let the user choose one or both.

    By the way, I hadn't thought of using this to control the order of categories for a sitemap...I really like what you did with it on your site!
     
    sadcox, Apr 24, 2008 IP