• Resolved holly200sld

    (@holly200sld)


    Hi, I created a blank page template for my site but when I add the table to any page using that template, it doesn’t show up. It just shows up as a line. Below is the code for the blank page. Is there something I need to add to the page template to make the tables show up using the shortcode? (the shortcode I’m using is [ninja_tables id=”553″])

    Thanks for any help you can give!

    Page code:
    <?php /* Template Name: Blank Template */ ?>
    <head>
    <title>
    <?php
    // Print the <title> tag based on what is being viewed.
    global $page, $paged;

    wp_title( ‘|’, true, ‘right’ );

    // Add the blog name.
    bloginfo( ‘name’ );

    // Add the blog description for the home/front page.
    $site_description = get_bloginfo( ‘description’, ‘display’ );
    if ( $site_description && ( is_home() || is_front_page() ) ) {
    echo ” | $site_description”;
    }

    // Add a page number if necessary:
    if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) {
    echo esc_html( ‘ | ‘ . sprintf( __( ‘Page %s’, ‘twentyeleven’ ), max( $paged, $page ) ) );
    }

    ?>
    </title>
    <link rel=”profile” href=”https://gmpg.org/xfn/11&#8243; />
    <link rel=”stylesheet” type=”text/css” media=”all” href=”<?php bloginfo( ‘stylesheet_url’ ); ?>” />
    <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>” />
    <?php
    if ( is_singular() && get_option( ‘thread_comments’ ) ) {
    wp_enqueue_script( ‘comment-reply’ );
    }
    wp_head();
    ?>
    </head>
    <div id=”primary” style=”padding: 0px”>
    <div id=”content” style=”width: 100%; margin: 0px;” role=”main”>
    <?php
    while ( have_posts() ) :
    the_post(); ?>
    <?php get_template_part( ‘content’, ‘page’ ); >
    <?php comments_template( ”, true ); ?>
    <?php endwhile; // end of the loop. ?>
    </div><!– #content –>
    </div><!– #primary –>

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Table not working on blank template’ is closed to new replies.