Skip to:
Content
Pages
Categories
Search
Top
Bottom

shortcode show members in functions.php


  • juanandrius
    Participant

    @juanandrius

    Hi,

    How can I show members in a post insert a shortcode?. I have a test shortcode title “gracias” in my functions.php file,something like this:

    function shortcode_gracias() {
    return ‘<p>¡Gracias por leer mi blog!, si te gustó suscríbete al feed RSS</p>’;
    }
    add_shortcode(‘gracias’, ‘shortcode_gracias’);

    My question is:

    How I create a shortcode to show members list of buddypress using a shortcode?? And I would like to filter members about custom fields like “country”.

    Thanks in advantage!

    Regards.

  • You must be logged in to reply to this topic.
Skip to toolbar