WordPress.org

Ready to get started?Download WordPress

Forums

PhotoMatt's "Asides" (16 posts)

  1. Nick Momrik
    Member
    Posted 10 years ago #

    Matt,
    Care to share the secret?
    http://photomatt.net/archives/category/asides/

  2. charle97
    Member
    Posted 10 years ago #

  3. Nick Momrik
    Member
    Posted 10 years ago #

    Thanks!

  4. charle97
    Member
    Posted 10 years ago #

    matt uses a function in 1.2 called in_category or something, so you may want to look into the code.

  5. Nick Momrik
    Member
    Posted 10 years ago #

    Even nicer....don't need those extra functions, just simply pass the ID of the category and it's done. Thanks again!

  6. Matt Mullenweg
    Troublemaker
    Posted 10 years ago #

  7. quasistoic
    Member
    Posted 10 years ago #

    Now, is there any way, when reading your weblog, to view all categories except asides?

  8. cLin
    Member
    Posted 10 years ago #

    So for the title of the post would you just put in an Html link or just the URL or...?

  9. Nick Momrik
    Member
    Posted 10 years ago #

    The Post title is still the same idea as a regular post, but in this instance it will be the text that is a link to whatever URL you are going to use...and then you use either the excerpt or content fields for the URL, depending on your implementation.

  10. cLin
    Member
    Posted 10 years ago #

    can you give an example? (sorry finals is stressing me out and it's hard for me to comprehend the simpliest comments)
    This is what I have in my head of what you said:
    Title: Check this out
    Excerpt: http://www.google.com
    Output
    Date Author
    Check this out linked to google
    If that is the case, how did you get it so you have that Link It on your site?

  11. Beel
    Member
    Posted 10 years ago #

    Allusion, I followed your well written instructions and it almost worked for me, but unlike hand grenades and horsehoes, close don't count. I am getting a database error to check syntax near "AND comment_approved = 1..." Any thoughts?

  12. Beel
    Member
    Posted 10 years ago #

    Ah, yes. Wish I had seen your post before I jumped back in the index file ;-). You got me going in the right direction and 'twas a slight error in placement which caused the problem.

  13. Nick Momrik
    Member
    Posted 10 years ago #

    I've replaced the_content_rss('', 0, ''); with echo wptexturize($post->post_content); (from Matt's implementation) and it works much nicer.

  14. atog
    Member
    Posted 10 years ago #

    I did made my own hack of the asides, and I modified the recent_posts function to take these asides into account.
    I did it with an extra db call, but I think the code looks nicer :)
    If you're interested, take a look here

  15. atog
    Member
    Posted 10 years ago #

    Since I get a lot of visitors coming from this post, it's probably a good thing to know that I now use Kitten's show_categories plugin.
    Works like a charm.

  16. bloodylamer
    Member
    Posted 10 years ago #

    <li id="quicklinks">
    <?php echo show_category_posts('89','','','','6'); ?>


  17. That's teh code I have in my index file. what's next?! I have Kitten's plugin uploaded & activated :-)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.