[Plugin: Mini Loops] Shortcode not working on specific template page
-
This shortcode works on a subpage, but not the template I’m using for my homepage:
[miniloop number_posts=1][ml_format][/miniloop]
On the homepage it just shows up blank. I’m not sure why. I made sure that my Custom Field is correct.
The generic shortcode does work though:
[miniloop number_posts=1]
Also the page works when I view it as domain.com/home/ but not as root at domain.com/
Here is my homepage code:
<?php get_header(); ?> <div id="home_tour"> <a class="lbpModal" title="" href="https://www.youtube.com/v/WWdddVQZXI&autoplay=1&rel=0&showinfo=0&modestbranding=1&autohide=1"><img src="/images/virtual_tour.jpg" /></a> </div> <div id="sliderHome"> <?php echo do_shortcode('[nivoslider slug="homepage_730"][/nivoslider]'); ?> </div> <div class="separatorFull"></div> <div class="shadowBg"> <div class="spacernew"></div> <div class="contentWrap corporate"> <?php show_post(7); ?> </div> <div class="clear"> </div> <?php get_footer(); ?>
Do you have any idea of what could be conflicting with it?
- The topic ‘[Plugin: Mini Loops] Shortcode not working on specific template page’ is closed to new replies.