Forums

Aleph
Adding users' views (3 posts)

  1. itomizer
    Member
    Posted 1 year ago #

    Hey threre, I'm using the Aleph plugin, it's very good and finally I managed to solve almost every task i needed.. just one thing is obscure for me:

    In the readme the author says that you can create custom users view with custom slugs and query.. that's exactly what I needed, but it seems that i don't understand how to do it.

    He says:

    After the plugin is loaded, you can add new lists/views using a special function called aleph_register_view:

    add_action('init', 'my_aleph_views', 100);
    
    function my_aleph_views() {
        aleph_register_user_view('view_slug', 'My User List', 'user_key=some_meta_key');
    }

    The question is: WHERE I have to put that code? in my theme's functions.php? I've tried every file but nothing works.. :( please help!

    thank you.

  2. itomizer
    Member
    Posted 1 year ago #

    Bump!

    Please help..

  3. itomizer
    Member
    Posted 1 year ago #

    Bump... Nobody is developing this nice plugin?? :(

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags