• Unfortunately this plugin don’t work for my custom post loop. Somehow it show only 2 news on archive page and hide also < prev next > bar. When i deactivate it everything works fine. All other sections of my web works fine. It’s probably some problem in my code, but i haven’t any problems with any other plug-ins i’m using. Also acceleration isn’t too noticable.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Dipak C. Gajjar

    (@dipakcg)

    Thanks for using WP Super Minify and taking time to review the plugin.

    Plugin Author Dipak C. Gajjar

    (@dipakcg)

    Have you tried disabling Compress JavaScript (by unchecking it) in WP Super Minify Options under WP-Admin?

    Thread Starter jabbo126

    (@jabbo126)

    I tride disabling Compress JavaScript just to try but it still don’t work. I can put my original code here (sorry there are some czech words in comments). This is my original news-archive.php:

    <?php get_header(); ?>
    <div id="wrapper-page">
    <div id="main-content" class="left">
       	 <h2 class="yellow-label">Novinky</h2>
         <div id="yellow-label-corner">
         <img class="yellow-label-img" src="<?php bloginfo ('template_directory'); ?>/images/h2-right-29x39.png" />
         </div>
    
        <!-- loop začátek -->
        <?php $mypost = array( 'post_type' => 'novinky', ); ?>
        <?php while (have_posts() ) : the_post();?>
    
    	<div id="news-area">
    
    		<div id="news-post">
    
                <!-- thumbnail začátek -->
                <?php if( '' != get_the_post_thumbnail() ) : ?>
                <div id="news-img" class="left">
                <a href="<?php the_permalink(); ?>"><?php the_post_thumbnail( 'novinky-thumb' ); ?></a>
                </div>
                <?php else : ?>
                <?php endif ?>
                <!-- thumbnail konec -->
    
                <!-- nadpis --><h2 class="news-h2"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
                <!-- datum --><p class="datum">publikováno: <?php the_time();?></p>
                <!-- obsah --><p><?php the_content ('celý článek'); ?></p>
    
            </div>
    
           <!-- celý článek -->
           <p><a href="<?php the_permalink(); ?>"><div id="read-more">celý článek</div></a></p>
    
           <div class="clear"></div>
           <hr />
    
    	</div>
           <?php endwhile ?>
    	<!-- loop konec -->
    
        <!-- Starší/novější -->
    	<div id="prev-next">
    		<div class="left"><?php next_posts_link('< STARŠÍ'); ?> </div>
    		<div class="right"><?php previous_posts_link('NOVĚJŠÍ >');?></div>
    	</div>
    
    	<div class="clear"></div>
    
    </div>
    
        <!-- SIDEBAR --><?php include (get_template_directory() . "/code-sidebar-akcninabidka.php"); ?> 
    
        <div class="clear"></div>
    
    </div>
    </div>
    <?php get_footer(); ?>

    When i use your plugin only first two news show up and also prev-next area dissapear.

    Another thing – even if i uncheck Compress JavaScript in WP Super Minify settings in source code of my web is:

    “*** HTML, JavaScript and CSS of this site is combined and compressed by WP Super Minify plugin v1.0”

    So it still compress JavaScript?

    Plugin Author Dipak C. Gajjar

    (@dipakcg)

    You could give latest release of this plugin a try. I am sure it should do what it says.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Not working for my custom theme’ is closed to new replies.