Support » Plugin: Jetpack by WordPress.com » Tiled Galleries Not Displaying

Viewing 15 replies - 1 through 15 (of 33 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic

    You seem to be using another Gallery plugin (lightbox 2).
    Could you try to deactivate it, and see if that helps?

    If the problem remains, could you post a screenshot of your Jetpack menu?

    Thanks!

    Thanks for the reply.

    I am using Lightbox 2 but disabling it didn’t help. I had tried it.
    It’s not really a gallery plugin. Just a lightbox.

    Is this the JetPack Menu?

    View post on imgur.com

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic

    Could you try to deactivate Lightbox 2 again, for a few minutes, so I can check how it looks without it?

    Deactivated.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic

    Thank you. If you enable the carousel module, do you still experience issues?

    Yes. It’s enabled now…but I had tried that too.

    I disabled all the plugins (almost) and still had the same issue so I tried a different theme and then…
    It’s seems to be a theme conflict.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic

    Alright. It seems that the Javascript librairies and stylesheets used to control Carousel and the Tiled Galleries do not load on your site. They should appear in your site’s footer.

    Could you check your theme’s footer.php file for a call to wp_footer()?

    If you do not see such function, could you add it right before the closing </body> tag?
    <?php wp_footer ?>

    It seems to be there:

    <?php do_atomic( 'close_body' ); // path_close_body ?>
    
    	<?php wp_footer(); // wp_footer ?>
    
    </body>
    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic

    I just noticed the Quick Cache plugin. Was it active before? Could you try to clear the cache on that page? It might be why we don’t see the new librairies and stylesheets.

    If that doesn’t help, could you look for functions altering wp_footer() in your theme?

    It was active but I cleared it. Originally (and now) it was disabled.

    I wouldn’t know where to look for functions in the theme but below is the footer file. I will ask the theme author tomorrow.

    <?php
    /**
     * Footer Template
     *
     * The footer template is generally used on every page of your site. Nearly all other
     * templates call it somewhere near the bottom of the file. It is used mostly as a closing
     * wrapper, which is opened with the header.php file. It also executes key functions needed
     * by the theme, child themes, and plugins.
     *
     * @package Path
     * @subpackage Template
     * @since 0.1.0
     */
    ?>
    				<?php get_sidebar( 'primary' ); // Loads the sidebar-primary.php template. ?>
    
    				<?php get_sidebar( 'secondary' ); // Loads the sidebar-secondary.php template. ?>
    
    				<?php do_atomic( 'close_main' ); // path_close_main ?>
    
    			</div><!-- .wrap -->
    
    			<?php get_sidebar( 'subsidiary' ); // Loads the sidebar-subsidiary.php template. ?>
    
    			<?php get_template_part( 'menu', 'primary-mobile' ); // Loads the menu-primary-mobile.php template. ?>
    
    			<?php get_template_part( 'menu', 'secondary-mobile' ); // Loads the menu-secondary-mobile.php template. ?>
    
    		</div><!-- #main -->
    
    		<?php do_atomic( 'after_main' ); // path_after_main ?>
    
    		<?php do_atomic( 'before_footer' ); // path_before_footer ?>
    
    		<footer id="footer">
    
    			<?php do_atomic( 'open_footer' ); // path_open_footer ?>
    
    			<div class="wrap">
    
    				<div class="footer-content">
    
    					<?php hybrid_footer_content(); ?>
    				</div>
    
    				<?php do_atomic( 'footer' ); // path_footer ?>
    
    			</div><!-- .wrap -->
    
    			<?php do_atomic( 'close_footer' ); // path_close_footer ?>
    
    		</footer><!-- #footer -->
    
    		<?php do_atomic( 'after_footer' ); // path_after_footer ?>
    
    		<?php get_template_part( 'menu', 'subsidiary' ); // Loads the menu-subsidiary.php template. ?>
    
    	</div><!-- #container -->
    
    	<?php do_atomic( 'close_body' ); // path_close_body ?>
    
    <?php wp_footer(); // wp_footer ?>	
    
    </body>
    </html>

    Hi. Just to let you know that I found the solution and that this will be a problem with most or all ThemeHybrid themes. But there is an easy fix and that is:

    Put this in child theme functions.php inside setup function to test it out.

    remove_theme_support( 'cleaner-gallery' );

    Here’s something to think about for future releases:

    Basically, Jetpack just decides that if another theme/plugin is overwriting the gallery, it will do nothing. Instead, it should just overwrite it because, obviously, the user wants to use that functionality. I don’t understand the reasoning behind their decision to do nothing. – Justin Tadlock

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic

    While overwriting another plugin might not be the best solution, I agree that the current solution is not ideal.
    We plan on making improvements to the Tiled Galleries code to fix that!

    I think the above solution from deadhippo, sounds like it might solve my problem. However, I’m a newbie when it comes to code.

    I pasted the above code in my themes function.php here:

    function esplanade_theme_setup() {
    	remove_theme_support( 'cleaner-gallery' );
     	// Set default content width based on the theme's layout. This affects the width of post images and embedded media.
    	global $content_width;
    	if( ! isset( $content_width ) ) $content_width = 700;

    This seemed to have no effect and my them still used it’s default lightbox gallery instead of tiled+carousel.

Viewing 15 replies - 1 through 15 (of 33 total)
  • The topic ‘Tiled Galleries Not Displaying’ is closed to new replies.