WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
NextGEN Gallery not functioning with custom theme (6 posts)

  1. nakcreative
    Member
    Posted 1 year ago #

    I've done everything properly as far as I can tell. I followed the plugin video and directions yet the gallery does not function. I tested it on the standard 2010 theme and it functions there. Is there anything I can do to make this gallery function in my custom theme...

    http://journeymaninc.ca/

    Thanks!
    Neil

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

  3. nakcreative
    Member
    Posted 1 year ago #

    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)

    <?php
    /**
     * 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(); ?>>
    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <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 )
    		echo ' | ' . sprintf( __( 'Page %s', 'journeymaninc' ), max( $paged, $page ) );
    
    	?></title>
    <link rel="profile" href="http://gmpg.org/xfn/11" />
    <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    <?php
    	/* 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.
    	 */
    	wp_head();
    ?>
    
    <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>
    
    	</div><!-- #access -->
    
    </div><!-- #header-inside -->
    </div><!-- #masthead -->	
    
    </div><!-- #header -->
    
    	<div id="main">

    .... and this is my footer.php ....

    <?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>
        <div align="right" style="padding-top:10px;">
        <a href="http://www.ihsa.ca/"><img src="../../../images/ihsa_brand-sm.png" width="81" height="30" /></a> 
        <a href="http://www.iciconstruction.com/"><img src="../../../images/ocs-sm.png" width="66" height="30" /></a>
    <!--  #footer-inside -->
       <!-- </div>-->
        </div>
        <!-- #footer -->
    
    </div><!-- #wrapper -->
    
    <?php
    	/* 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.
    	 */
    
    	wp_footer();
    ?>
    </body>
    </html>

    [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.]

  4. nakcreative
    Member
    Posted 1 year ago #

    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!
    Neil

  5. nakcreative
    Member
    Posted 1 year ago #

    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!
    cheers
    Neil

  6. nakcreative
    Member
    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic