WordPress.org

Forums

Lightbox Pop
do shorcode isn't working (2 posts)

  1. joedoomer
    Member
    Posted 1 year ago #

    When i try to insert my lightbox only in single posts pages, it doesnt work:

    Single.php:

    <?php get_header(); ?>

    <div class="motopress-wrapper content-holder clearfix">
    <div class="container">
    <div class="row">
    <div class="span12" data-motopress-wrapper-file="single.php" data-motopress-wrapper-type="content">
    <div class="row">
    <div class="span8 <?php echo of_get_option('blog_sidebar_pos'); ?>" id="content" data-motopress-type="loop" data-motopress-loop-file="loop/loop-single.php">
    <?php get_template_part("loop/loop-single"); ?>
    </div>
    <div class="span4 sidebar" id="sidebar" data-motopress-type="static-sidebar" data-motopress-sidebar-file="sidebar.php">
    <?php get_sidebar(); ?>
    </div>
    </div>
    </div>
    </div>
    </div>
    </div>

    <?php echo do_shortcode('[xyz_lbx_default_code]'); ?>

    <?php get_footer(); ?>

    How can i insert it only in a single post page?

    http://wordpress.org/plugins/lightbox-pop/

  2. f1logic
    Member
    Plugin Author

    Posted 1 year ago #

    please let us have the url where the shortcode is displayed

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Lightbox Pop
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.