Support » Plugin: weDocs - the documentation plugin » Displaying the shortcode wedocs in backend

  • I’m trying to display the wedocs shortcode as a dashboard widget in the backend. do_shortcode(‘[wedocs]’) is not working, so is it possible to display the data by directly running the associated functions? Can you provide the code? Thanks.

Viewing 1 replies (of 1 total)
  • Plugin Author Tareq Hasan


    Shortcodes are for frontend only. But you could try like this:

    if ( ! class_exists( 'WeDocs_Shortcode_Handler') ) {
        require_once WP_CONTENT_DIR . '/plugins/wedocs/includes/class-shortcode.php';

    You won’t have any CSS styles though, you’ve to manage your own.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.