How do I show plugin content in my own theme?
-
Hi everybody,
The plugin is “The Events Calendar”, it’s supposed to appear at /events url, now how can I render it in my own theme?
What I tried so far is to edit page.php but I can’t find what’s the function I must call there.
Tried the_content() but I guess it’s the wrong one because I get a blank page and this warning
Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/etc/wp-includes/post-template.php on line 316
This is my page.php right now
<?php get_header(); ?> <div class="container"> <?php the_content(); ?> </div> <?php get_footer(); ?>
I’m checking others themes code but I can’t make sense of that.
Thanks in advance.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How do I show plugin content in my own theme?’ is closed to new replies.