• Resolved aladinDr

    (@aladin007463)


    Hello , i try to use this shortcode by function do_shortcode in my wordpress
    <?php
    get_header();

    echo do_shortcode(‘[uo_courses enrolled_only=”yes” price=”no” limit=”all” ]’);

    ?>
    but it display the grid without your great css design
    how can i resolve that pleaase ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Uncanny Owl

    (@uncannyowl)

    Hi, it looks like the CSS isn’t being loaded properly for the grid. You could try forcing it by adding the following code to the functions.php file in the child theme:

    add_action( ‘wp_enqueue_scripts’, ‘toolkit_enqueue_style’ );
    function toolkit_enqueue_style() {
    wp_enqueue_style( ‘course-grid-view-core-css’, ‘/wp-content/plugins/uncanny-toolkit-pro/src/assets/frontend/css/course-grid-view-core.css’ );
    wp_enqueue_style( ‘course-grid-view-css’, ‘/wp-content/plugins/uncanny-toolkit-pro/src/assets/frontend/css/course-grid-view.css’ );
    }

    Thread Starter aladinDr

    (@aladin007463)

    yeaaah it resolved now thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Question’ is closed to new replies.