Ash
Forum Replies Created
-
No problem. Glad I was able to help. While we are on the topic, I also noticed that attempt to retrieve a prettylink record by slug throws an exception if the PL is not found, a better way (from the caller’s perspective) is to simply return false or null instead of just throwing an exception.
That way the caller can do something as simple as:
if(!get_pretty_link(slug))
{
add_pretty_link(…);
}Or if you feel strongly about throwing an exception then maybe add another method that checks if the slug exists: bool exists(slug);
Hi Jean,
In my blog I have several authors, each author also has another blog elsewhere, I would like to merge RSS feeds from their external blogs using WP-RSS-Aggregator, since each feed, technically corresponds to an author (WP account), i want to be able to link their names to their blog profiles along with other relevant data.
I understand that 90% of people using this plugin may not have this setup since it’s obviously requires a custom template/setup, but being able to control the template itself would allow be not to tamper with the wp-rss-aggregator code itself to render the desired output.
Having a template, I can setup something like
{feed_data} %author_avatar% <a href="https://mywebsite/author/{feed_name}">{feed_name}</a>
In other words, having templates, gives full flexibility to the user.
Cheers!
+1 as well!
Forum: Fixing WordPress
In reply to: Display sub-categories based selected Parent CategoryForum: Fixing WordPress
In reply to: Display sub-categories based selected Parent CategoryAgh. Didn’t even notice that. Lol ?? thanks
Is there a quick way to get the current category. if one is selected?
Thanks!!Forum: Fixing WordPress
In reply to: Display sub-categories based selected Parent CategoryThanks for the link. My guess is that I would use the include parameter to only include the sub categories of the currently selected category.
Any clues on how to go about achieving that?
Are you familiar with a plugin that does that? I looked into “AVH Extended Categories” but it simply exposes the parameters of wp_list_categories.
Thanks again!