• Resolved bethneibert

    (@bethneibert)


    in custom page/template in TwentyTen theme. I have verified each plugin, don’t have Google Analytics and it will work on a default template. Does that mean I’m missing something in my template code? Here it is:

    <?php
    /**
    Template Name: Background Only

    */
    ?>
    <html>
    <head>
    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
    <style type=”text/css”>
    body { background-color: #cccccc; background-image: url(‘http://pagesbybeth.com/wp-content/uploads/2010/10/bg.jpg&#8217;); background-repeat: repeat-y; background-position: top center; background-attachment: scroll; }
    #page-content { width: 520px; margin: 10px auto; }
    #page-content p { font-size: 1em; font-family: Georgia; line-height: 1.5em; text-align: justify; }
    </style>
    <title><?php wp_title( ‘|’, true, ‘right’ ); bloginfo(‘name’); ?></title>
    <?php wp_head(); ?>
    </head>

    <body>
    <?php while (have_posts()) : the_post(); ?>
    <div id=”page-content”>
    <?php the_content(); endwhile; ?>
    </div>
    </body>
    </html>

    Here’s the URL to my page, however, it may not be this way long as I’m up against a deadline and have to go a different route to create a slide show unless you get me an answer ASAP:
    http://www.pagesbybeth.com/port-to-pass-adventure-corridorwelcome/

    Thank you! I appreciate your help.
    Beth

    http://wordpress.org/extend/plugins/portfolio-slideshow/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Dalton Rooney

    (@daltonrooney)

    Your template is missing the wp_head() and wp_footer() functions. These are required in any WP template for plugins to work properly.

    Plugin Contributor Dalton Rooney

    (@daltonrooney)

    Hope it worked out. :-/

    Thread Starter bethneibert

    (@bethneibert)

    Hey Dalton,
    Sorry for the delay in responding.

    The header and footer are missing because I don’t want them in my page. I’m actually using the content with an iframe in another forum. Is there anything I can do to change the code so it will work? Thanks for your help!

    Beth

    Plugin Contributor Dalton Rooney

    (@daltonrooney)

    You don’t need to include the header.php and footer.php files, but you do need the wp_head() and wp_footer() functions, otherwise the scripts won’t load. Take a look in the header and footer files of twentyeleven for examples. These functions are required for any plugin that requires it’s own javascript or CSS to work.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Portfolio Slideshow Non-functional’ is closed to new replies.