Forum Replies Created

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter Stephanie

    (@stef1908)

    Unfortunately, this isn’t working. The plugin keeps asking me to authorise. So I guess this topic isn’t resolved…

    Thread Starter Stephanie

    (@stef1908)

    It worked! Thanks so much!

    Thread Starter Stephanie

    (@stef1908)

    A ha! I’m getting somewhere… It worked because I deleted this snippet of code:

    // smart jquery inclusion
    if (!is_admin()) {
        wp_deregister_script('jquery');
        wp_register_script('jquery', ("http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"), false);
        wp_enqueue_script('jquery');
    
    }

    But now, my meteor slides are appearing at the bottom of the website, not below the menu, and above the content (the now blank square).

    Thread Starter Stephanie

    (@stef1908)

    Unnfortunately, it did not work for me. I updated the plugins, installed tje jquery migrate plugin, but it did not work

    Thread Starter Stephanie

    (@stef1908)

    Thank you! I will have a look at it 🙂

    Thread Starter Stephanie

    (@stef1908)

    I put meteor slides back to the previous version.

    Thread Starter Stephanie

    (@stef1908)

    This plugin crashes when I active the dk new media plugin

    Thread Starter Stephanie

    (@stef1908)

    But now they work, it’s a conflict with the dk new media image rotator

    ww.wp.xz.cn/support/topic/conflict-with-superfish-menu-other-plugins

    Thread Starter Stephanie

    (@stef1908)

    Thread Starter Stephanie

    (@stef1908)

    Thank you, that worked!

    Thread Starter Stephanie

    (@stef1908)

    Hm, shoot… the problem now is, it outputs all the categories and not just category 13… What am I doing wrong?

    Thread Starter Stephanie

    (@stef1908)

    Thanks so much alchymyth! It worked! 🙂

    Thread Starter Stephanie

    (@stef1908)

    This is the template file:

    <?php
    /**
     * Template Name: Homepage Heren 2
     */
    
    get_header(); ?>
    
        <div id="site_content">
          <div id="sidebar_container">
            <?php get_sidebar(); ?>
          </div><!-- #side_container END -->
           <div id="slideshow">
     <?php if ( function_exists( 'meteor_slideshow' ) ) { meteor_slideshow(); } ?>
    	</div>
          <div id="content">
            <div id="content_item">
    
    <h1>Homepage heren 2</h1>
    
    <?php
    $posts = get_posts(array('numberposts' => 10, 'category' => 13));
    
    if ( have_posts() ) while ( have_posts() ) : the_post(); ?>
    
    				<h2><?php the_title(); ?></h2>
    				<?php the_content(); ?>
    				<?php wp_link_pages( array( 'before' => '' . __( 'Pages:', 'twentyten' ), 'after' => '' ) ); ?>
    				<?php edit_post_link( __( 'Edit', 'twentyten' ), '', '' ); ?>
    
    <?php endwhile; ?> </p>
    
            </div><!-- #content_item END -->
          </div><!-- #content END -->
        </div><!-- #site_content END -->
    
    <?php get_footer(); ?>
    Thread Starter Stephanie

    (@stef1908)

    This is my loop file:

    <?php while ( have_posts() ) : the_post(); ?>
    
    <?php /* How to display posts in the Gallery category. */ ?>
    
    	<?php if ( in_category( _x('gallery', 'gallery category slug', 'twentyten') ) ) : ?>
    			<h2><a href="<?php the_permalink(); ?>" title="<?php printf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    			<?php twentyten_posted_on(); ?>
    
    <?php if ( post_password_required() ) : ?>
    				<?php the_content(); ?>
    <?php else : ?>
    <?php
    	$images = get_children( array( 'post_parent' => $post->ID, 'post_type' => 'attachment', 'post_mime_type' => 'image', 'orderby' => 'menu_order', 'order' => 'ASC', 'numberposts' => 999 ) );
    	$total_images = count( $images );
    	$image = array_shift( $images );
    	$image_img_tag = wp_get_attachment_image( $image->ID, 'thumbnail' );
    ?>
    					<a href="<?php the_permalink(); ?>"><?php echo $image_img_tag; ?></a>
    
    				<p><?php printf( __( 'This gallery contains <a %1$s>%2$s photos</a>.', 'twentyten' ),
    						'href="' . get_permalink() . '" title="' . sprintf( esc_attr__( 'Permalink to %s', 'twentyten' ), the_title_attribute( 'echo=0' ) ) . '" rel="bookmark"',
    						$total_images
    					); ?></p>
    
    				<?php the_excerpt(); ?>
    <?php endif; ?>
    
    				<a href="<?php echo get_term_link( _x('gallery', 'gallery category slug', 'twentyten'), 'category' ); ?>" title="<?php esc_attr_e( 'View posts in the Gallery category', 'twentyten' ); ?>"><?php _e( 'More Galleries', 'twentyten' ); ?></a>
    				|
    				<?php comments_popup_link( __( 'Laat een reactie achter', 'twentyten' ), __( '1 reactie', 'twentyten' ), __( '% Reacties', 'twentyten' ) ); ?>
    				<?php edit_post_link( __( 'Bewerk', 'twentyten' ), '|', '' ); ?>
    
    <?php /* How to display posts in the asides category */ ?>
    
    	<?php elseif ( in_category( _x('asides', 'asides category slug', 'twentyten') ) ) : ?>
    
    		<?php if ( is_archive() || is_search() ) : // Display excerpts for archives and search. ?>
    			<?php the_excerpt(); ?>
    		<?php else : ?>
    			<?php the_content( __( 'Lees meer... →', 'twentyten' ) ); ?>
    		<?php endif; ?>
    
    				<?php twentyten_posted_on(); ?>
    				|
    				<?php comments_popup_link( __( 'Laat een reactie achter', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?>
    				<?php edit_post_link( __( 'Edit', 'twentyten' ), '| ', '' ); ?>
    
    <?php /* How to display all other posts. */ ?>
    
    <h1> Nieuws </h1>	
    
    	<?php else : ?>
    			<h2><?php printf( the_title() ); ?></h2><?php twentyten_posted_homepage(); ?>
    
    	<?php if ( is_archive() || is_search() ) : // Only display excerpts for archives and search. ?>
    			<?php the_excerpt(); ?>
    	<?php else : ?>
    			<p class="date"><?php the_content( __( 'Lees meer...', 'twentyten' ) ); ?></p>
    
    			<?php wp_link_pages( array( 'before' => '' . __( 'Pages:', 'twentyten' ), 'after' => '' ) ); ?>
    				<?php endif; ?>
    				<?php endif; ?>
    				<?php comments_popup_link( __( 'Reageer', 'twentyten' ), __( '1 Reactie', 'twentyten' ), __( '% Reacties', 'twentyten' ) ); ?>
    
    		<?php comments_template( '', true ); ?>
    <br />
    <br />
    <br />
    <br />
    <br />
    <?php /* Display navigation to next/previous pages when applicable */ ?>
    <?php if (  $wp_query->max_num_pages > 1 ) : ?>
    				<?php next_posts_link( __( '← Vorige', 'twentyten' ) ); ?>
    				<?php previous_posts_link( __( 'Volgende →', 'twentyten' ) ); ?>
    <?php endif; ?>

    Did you mean this?

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