WordPress.org

Forums

Totally Booked
[resolved] Default plugin content showing up in my footer, not using as a widget (3 posts)

  1. vetala
    Member
    Posted 2 years ago #

    So I activated the plugin and immediately went to add a sample book to see what the layout was like. After I added the book in the dashboard, I published and viewed the page to find the content of the plugin showing up in my footer as shown here:

    http://www.vetala.me/wp/books/hitchhikers-guide-to-the-galaxy/

    As you can see it has stretched my footer to over 10 times it's usual size and I have no clue why the content is showing up there. The only info that is supposed to be in my footer is the "Vetala Valo © 2013 BizzCard Theme by ThemeZee". Everything else is content from the plugin.

    Feel free to browse about my site to see that I have no other footer issues. I am not an expert but I totally get how the pages are supposed to be set up and I can't figure out where it's going wrong. Is this a bug, is it me, any answer will do.

    Please help!

    http://wordpress.org/extend/plugins/totally-booked/

  2. vetala
    Member
    Posted 2 years ago #

    I figured it out.

    In single_book.php I changed this:

    <div class="entry-content clear">
            <?php $title = get_post_meta( 'content_title' ); if( ! $title ) $title = __( 'About This Book', 'totally-booked' ); ?>
            <h3 class="content-title"><?php esc_html_e( $title ); ?></h3>
            <?php the_content(); ?>
            <?php echo tb_get_entry_meta(); ?>
    </div>

    To this:

    <div class="entry-content clear">
            <?php $title = get_post_meta( 'content_title' ); if( ! $title ) $title = __( 'About This Book', 'totally-booked' ); ?>
            <h3 class="content-title"><?php esc_html_e( $title ); ?></h3>
            <?php the_content(); ?>
            <?php echo tb_get_entry_meta(); ?>
    		<div class="clear"></div>
    </div>

    No more plugin content showing up in the footer:

    http://www.vetala.me/wp/books/hitchhikers-guide-to-the-galaxy/

    Hope this helps someone at some point.

  3. Ben Casey
    Member
    Plugin Author

    Posted 2 years ago #

    Thank you for your response, Ill be sure to include that tweak in the next update.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Totally Booked
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic