Using in single-swfd-topic.php
-
Hi, first of all, I’m your new best friend. ?? Thank you for creating this plugin as it takes care of three nagging issues.
I was hoping to use <uo_breadcrumbs()> inside of my customized page:
single-swfd-topic.php
This file resides in my theme child’s folder. I’m using Avada 3.9.4 and the standard Avada Classic demo child theme.
I added the code like so:
<?php get_header(); ?> <div id="content" <?php Avada()->layout->add_style( 'content_style' ); ?>> <?php uo_breadcrumbs(); ?> <?php while( have_posts() ): the_post(); ?> <div id="post-<?php the_ID(); ?>" <?php post_class('post'); ?>> <?php the_content(); ?> <?php avada_link_pages(); ?> </div> </div> <?php endwhile; ?> <?php wp_reset_query(); ?> </div> <?php do_action( 'fusion_after_content' ); ?> <?php get_footer(); // Omit closing PHP tag to avoid "Headers already sent" issues.
However, I get the following error and have to back away:
Fatal error: Class ‘uncanny_learndash_toolkit\uncannyBreadcrumbs’ not found in /home/devu/public_html/wp-content/plugins/uncanny-learndash-toolkit/src/includes/uncanny-breadcrumbs-function.php on line 10
Note, these pages are password protected, however I can supply a username if you would like to check it out. Contact me: [email protected]
Thank you again for your brilliant work and warmest of regards!
bobhttps://www.ads-software.com/plugins/uncanny-learndash-toolkit/
- The topic ‘Using in single-swfd-topic.php’ is closed to new replies.