Skip to:

Add language filter to recent blog posts widget?

  • wabugi


    I’m using the sitewide recent blog posts widget on my bp-install. I’d like to add a filter-function with clickable options that let’s the visitor filter the recent posts by the blog language.

    In the wp_BlogID_options table, there is a value for language which could be used for this.

    Can anybody give me a hint where to begin? My knowlege of wp doesen’t seem to be enough for that ^^

    I’m using wpmu 2.8.4a and bp 1.0.3.

Viewing 1 replies (of 1 total)

  • wabugi


    The widget I use is located at buddypress/bp-blogs/bp-blogs-widgets.php

    The widget is calling this function to get the blog posts: $posts = bp_blogs_get_latest_posts( null, $instance[‘max_posts’] )

    Could I apply a filter right after that and before the blog posts are displayed?

    I know I should go and learn the basics of wp coding but I sadly don’t have the time for that at the moment :(

    Would be cool if anyone could give me a hint.

Viewing 1 replies (of 1 total)
  • The topic ‘Add language filter to recent blog posts widget?’ is closed to new replies.
Skip to toolbar