blog_topics
The blog_topics function returns a sequence of blog topic objects for the specified blog, sorted by slug ascending. This sequence can be stored in a variable and iterated through to create custom topic post filters.
This function accepts two parameters. The first parameter specifies which blog to fetch topics from. The second parameter sets a limit on the number of topics fetched.
The first line of the example below demonstrates how the function returns a sequence of topic objects. The rest of the example demonstrates a use case of saving a sequence into a variable and then iterating though the topic objects, printing a set of author topics links. The example assumes that the blog has 4 topics.
This function has a limit of 250 topics.