Support » Plugin: NextGEN Gallery - WordPress Gallery Plugin » NextGEN Gallery not functioning with custom theme

Viewing 5 replies - 1 through 5 (of 5 total)
  • Michael


    Forum Moderator

    I’m currently working on the site so it isn’t properly styled, but yes I am…

    this is my header.php …

    (footer.php included below)

     * The Header for our theme.
     * Displays all of the <head> section and everything up till <div id="main">
     * @package WordPress
     * @subpackage journeymaninc
     * @since journeymaninc 1.0
    ?><!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    	 * 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 )
    		echo ' | ' . sprintf( __( 'Page %s', 'journeymaninc' ), max( $paged, $page ) );
    <link rel="profile" href="" />
    <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    	/* We add some JavaScript to pages with the comment form
    	 * to support sites with threaded comments (when in use).
    	if ( is_singular() && get_option( 'thread_comments' ) )
    		wp_enqueue_script( 'comment-reply' );
    	/* Always have wp_head() just before the closing </head>
    	 * tag of your theme, or you will break many plugins, which
    	 * generally use this hook to add elements to <head> such
    	 * as styles, scripts, and meta tags.
    <body <?php body_class(); ?>>
    <div id="wrapper" class="hfeed">
    	<div id="header">
        <div id="header-inside">
      <div id="masthead">
      <div id="access" role="navigation">
    			  <?php /*  Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff */ ?>
    				<div class="skip-link screen-reader-text"><a href="#content">"><?php _e( 'Skip to content', 'journeymaninc' ); ?></a></div>
    				<?php /* Our navigation menu.  If one isn't filled out, wp_nav_menu falls back to wp_page_menu.  The menu assiged to the primary position is the one used.  If none is assigned, the menu with the lowest ID is used.  */ ?>
    				<?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary_nav' ) ); ?>
                              <div id="secondary_nav" role="navigation">
                    <?php wp_nav_menu( array( 'container_class' => 'secondary_nav', 'theme_location' => 'secondary_nav' ) ); ?>
    	</div><!-- #access -->
    </div><!-- #header-inside -->
    </div><!-- #masthead -->	
    </div><!-- #header -->
    	<div id="main">

    …. and this is my footer.php ….

     * The template for displaying the footer.
     * Contains the closing of the id=main div and all content
     * after.  Calls sidebar-footer.php for bottom widgets.
     * @package WordPress
     * @subpackage journeymaninc
     * @since journeymaninc 1.0
    	</div><!-- #main -->
    <div id="footer"  role="contentinfo">
    <div id="footer-inside" class="menu-footer">
    	<div class="footer"><?php wp_nav_menu (array('menu'=>'footer_menu'));?>
        <div align="right">
        <a href="#"><img src="../../../images/social/facebook.png" width="30" height="30" /></a> 
        <a href="#"><img src="../../../images/social/twitter.png" width="30" height="30" /></a> 
        <a href="#"><img src="../../../images/social/linked.png" width="30" height="30" /></a>
        <div align="right" style="padding-top:10px;">
        <a href=""><img src="../../../images/ihsa_brand-sm.png" width="81" height="30" /></a> 
        <a href=""><img src="../../../images/ocs-sm.png" width="66" height="30" /></a>
    <!--  #footer-inside -->
       <!-- </div>-->
        <!-- #footer -->
    </div><!-- #wrapper -->
    	/* Always have wp_footer() just before the closing </body>
    	 * tag of your theme, or you will break many plugins, which
    	 * generally use this hook to reference JavaScript files.

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. Or better still – use the pastebin. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]

    as far as i can tell everything should be fine. i’m relatively new at creating custom themes & templates though. the plug in does work when i convert quickly back to 2010. so my guess is, it is the custom theme… even though nextgen states this as a feature of theirs… tha tit works well in custom themes….

    thanks for your response sweeper!

    i decided to just go with the “slideshow-jquery-image-gallery” plugin from the repository. it’s working fine. i just need something simple and easy for the end users (clients). could use a little more control for what i’d like though. what i don’t like is that the images fade and reveal the background. so there’s a nice huge empty space there for a bit! many of the slider plugins do not work in my custom theme. obviously something i need to look at when creating a custom theme. so far only wow slider and this one are compatible.
    thanks for your input sweeper!

    on to installing a forum. any recommendations Sweeper? i’m trying out bbPress right now.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘NextGEN Gallery not functioning with custom theme’ is closed to new replies.