Forum Replies Created

Viewing 11 replies - 16 through 26 (of 26 total)
  • Forum: Fixing WordPress
    In reply to: [How To] RSS Tags?
    Thread Starter lozy

    (@lozy)

    πŸ™

    K, you know when you add keyword tags to your posts, right? and if you use the same tags on different published posts and when clicked on, it will show an archive of the recent posts with the associating tag that was used in all the posts. K, well, I was hoping to find the code that will allow me to have a image-link beside keyword tag that will create the rss feed for it.

    so the domain will look like this:
    http://www.example.com/blog/tag/tagname/feed/

    Forum: Fixing WordPress
    In reply to: [How To] RSS Tags?
    Thread Starter lozy

    (@lozy)

    You know what RSS feeds are right? Of course. πŸ˜‰
    You know what Tags are right? Of course.
    Put the two together and you get RSS Feed Tags.

    I also explained it mentioning the ultimate warrior tag too, which should of been self explanatory.

    And my post above was explained well.

    I mentioned that I wanted to have my tags also populated as RSS Feeds, just like Categories do, and recent posts do, etc.

    Sorry, I just fail to understand what was confusing by my post.

    Forum: Fixing WordPress
    In reply to: [How To] RSS Tags?
    Thread Starter lozy

    (@lozy)

    anyone?

    Been searching now for the past 6 hours and still can’t find any reference πŸ™

    did you upload the .htaccess file to your blogs’ root directory?

    .htacess is not a hidden file, it’s a file that you need to create, copy and paste the section below the custom area field if you wanted to change the way the permalinks are presented, save the file, don’t forget to remove the txt extension after uploading and there is a period (.) after the word “htaccess”

    seems to be ok looking from here, i can see it.

    resolved? How is it resolved?

    From what I can see you have to hard code each category ID, but what if you want to show Related Posts by Categories, rather than showing all the recent posts made on the blog?

    ideally it would be better if a post was found in category 1, then all the related posts would be displayed, in the side bar, or at the bottom of each post in the Loop, only, and not show other posts that were posted in a different category.

    Does anyone know how to do this?

    Thanks in advance.

    Has anyone found a solution to this at all please?

    I’m also looking to find out how I can only show related posts when a post that was posted in a certain category.

    ie, if I had a post about “home loans” and it was placed in a category of “loans”, then I was hoping to find some code that would allow me to only show those posts when that “home loans” post was clicked on.

    One solution a person kindly gave me was to mention the category name, but then I am limited to like if a person were to click on another post on my blog about “cheap insurance” that was posted in a category of “Insurance” then it wont show any related posts that were posted in the category of “insurance”

    So is there any way to say like, in coding terms of logic:

    if posts-posted-in-category = category-name, show posts, show total of related posts

    Does the
    while (have_posts($category_id)) : the_post();

    actually do this, and how would the entire loop look like?

    Thanks in advance

    Thread Starter lozy

    (@lozy)

    This link here was as close to what I mean,
    http://codex.wordpress.org/Template_Tags/query_posts

    But there isn’t any way from what I can see, to determine what category that post was posted then show all of it’s other posts in that category.

    But if I were to go to another post that was posted in another category, then the posts wont show because some of the code in that link above, and the example one above you kindly show, will not show any posts related to that category, but if I am going to be adding more categories later, it would make it quite cumbersome as the leading poster on that link above mentions to keep modifying the code.

    So I was wondering if there is like, any code that has the logic of like,

    if post = category, show category posts, limit to show number of posts.

    Then no matter what post was made, or category it was posted in, it will only show those related posts, down to a fixed number of related posts.

    Thread Starter lozy

    (@lozy)

    Arh ha, thanks, but is there any way that it can do this on the fly without having to supply the category name in the code above.

    Cos let’s say I have like 100 categories, that’s a lot of repetitive coding.

    See, since the single.php will display the entire post, and let’s assume there was a post about “Getting Cheaper Insurance”, placed under the category of “Insurance”, then would the code above not display any related posts because it’s not in the Loans, so how would I get the posts that were only posted into the “Insurance” category to show up as recent posts there also?

    Can you see where I’m going with this?

    Again, thanks for the help. Much appreciated. πŸ™‚

    Thread Starter lozy

    (@lozy)

    Oh, strange, now it’s disappeared and all my posts came back up again… hmm.. how odd.

    any way, any clues why this happened?

    Loz

Viewing 11 replies - 16 through 26 (of 26 total)