by Garth | May 4, 2018 | PHP, Wordpress
// Custom Post 1 register_post_type( ‘courses’, array( ‘labels’ => array( ‘name’ => __( ‘Courses’ ), ‘singular_name’ => __( ‘Course’ ) ), ‘public’ => true,...
by Garth | May 4, 2018 | Debugging, Wordpress
Add this line of code at the top of your child theme function. It should get rid of your error. If not good luck debugging 🙂 wp_enqueue_script(‘jquery’);
by Garth | May 3, 2018 | PHP, Wordpress
<?php echo do_shortcode(“[shortcode]”); ?>
by Garth | May 3, 2018 | PHP, Wordpress
Inside your themes functions.php add the below snippet and fill out the placeholders. ############################################################################ ////////////////////////////////////// // This is your shortcode. You reference it like you see below...
by Garth | May 3, 2018 | Wordpress
<?php /* Template Name: any_name.php */ ?>