• I would like use wp_list_table (class_list_table) in shortcode definitions or page template definitions. So far, I only found examples which implement admin plugins, .e.g. step-by-step guide and an example. I googled for solutions, only found two previous posts (both about 1 yr ago) the authors asked for the same question. In both cases, the questions were closed without any solutions/answers posted.

    Desperate, I followed this example to develop a working code which produces this ugly table. Besides bearing little resemblance to other (mostly pretty) WP admin tables, a lot of things go wrong. e.g

    1. the hidden column is not working
    2. there is no “little triangles” on sortable columns, which are only highlighted
    3. the actions defined for rows are displayed all time, rather than being displayed only when the cursor is there

    My list goes on as you can see.

    After my experiments, I start to suspect that my objective is impractical. If you agree with this suspicion, please let me know. I’ll be very grateful if someone can share previous experience with me, or suggest alternatives.

    John Zhu

  • The topic ‘using wp_list_table in shortcode definitions’ is closed to new replies.