• Hey everyone;
    I’m new to WordPress,
    and am setting up a new site for the first time.

    The way I’m setting my site up so far is in such a way where the site itself will have multiple categories of posts. I have already set up these categories.

    The layout of my main index page will be divided into a top and a bottom part. The top part will have my header, and some basic site information, and the bottom part of the page will have 3 or 4 columns, each of which will display the most recent posts from a specific category. I have that much working already through the use of a template that I found and customized.

    I’m using RSS widgets in order to specify the category of the content to display in each of the columns –> using URLs such as “https://<sitelocation>/wordpress/?feed=rss2&cat=3&#8221;
    This works just great, however, the actual title of the section always seems to point back to the main index page’s URL, and I don’t know how to modify that.

    Does anybody know if this can be done?
    Any advice is very welcome.

    Thanks in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’m using RSS widgets in order to specify the category of the content to display in each of the columns

    You’re using the newsfeed from your own site? You might be better of using get_posts or query_posts to create multiple Loops.

    https://codex.www.ads-software.com/The_Loop#Multiple_Loops

    Thread Starter corematt

    (@corematt)

    Thanks for the quick reply esmi;
    and yes, I am grabbing feeds from my own site… as silly as that might sound. With my lack of knowledge of PHP, I thought it was a simple way to get the job done.

    Judging from the quick once-over I just gave the site you linked me to, switching to PHP loops (instead of feeds from my own site) will allow me to customize quite a bit more than the simple widget I’m using now.

    Is it detrimental to use category-based feeds to my own site, or are you offering the PHP Loop suggestion only because of the expanded customization that it will offer.

    Either way,
    I’ll certainly try to teach myself some PHP.

    Cheers

    I think using multiple Loops will allow you far more opportunity to customise the display and any generated links.

    Thread Starter corematt

    (@corematt)

    Thanks esmi;
    The multiple loop is working well for this.

    Does anyone know perchance,
    where I might be able to find a similar example for ‘links’ as opposed to ‘posts’?

    (I’m now trying to accomplish the same thing where I constrain the links shown in a section of the site to being those of a specific category, and finding it hard to find a good example, namely because of the fact that the word ‘links’ shows up on so many pages in a different context. The links widget works fine for this, however, I also want to constrain the number of links that will be displayed… for instance, only showing the most recent 5 links for that category. This would be for the sake of tidiness on the main page. From there, I would want a link from the header of that section to a view showing ALL links from the specified category.)

    Thanks

    Thread Starter corematt

    (@corematt)

    Hate to answer my own post,
    but I think I found a simple way to accomplish this.

    https://codex.www.ads-software.com/Template_Tags/wp_list_bookmarks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How do I change the link that an RSS feed goes to?’ is closed to new replies.