• Cześć.
    Nie zakładałbym wątku, gdybym nie spędził kilku godzin na próbie rozwiązania problemu 🙂

    Nie znam się więc potrzebuję pomocy.

    Posiadam Shuttershot v.3 , i na stronie głównej działa Slider, ale już na stronie w ustawieniach fullpage nie.

    KOD FULLPAGE

    <?php
    /**
     * The template for displaying all pages.
     *
     * This is the template that displays all pages by default.
     * Please note that this is the WordPress construct of pages
     * and that other 'pages' on your WordPress site will use a
     * different template.
    
     Template name: Fullpage
     *
     * @package web2feel
     */
    
    get_header(); ?>
    <div class="container_12 site-cover">
    	<div id="primary" class="content-area grid_12">
    		<main id="main" class="site-main" role="main">
    
    			<?php while ( have_posts() ) : the_post(); ?>
    
    				<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> style="width:92%;">
    	<header class="entry-header">
    	<h1 class="entry-title"><?php the_title(); ?></h1>
    	</header><!-- .entry-header -->
    
    	<div class="entry-content">
    		<?php the_content(); ?>
    		<?php
    			wp_link_pages( array(
    				'before' => '<div class="page-links">' . __( 'Pages:', 'web2feel' ),
    				'after'  => '</div>',
    			) );
    		?>
    	</div><!-- .entry-content -->
    	<?php edit_post_link( __( 'Edit', 'web2feel' ), '<footer class="entry-meta"><span class="edit-link">', '</span></footer>' ); ?>
    </article><!-- #post-## -->
    
    				<?php
    					// If comments are open or we have at least one comment, load up the comment template
    					if ( comments_open() || '0' != get_comments_number() )
    						comments_template();
    				?>
    
    			<?php endwhile; // end of the loop. ?>
    
    		</main><!-- #main -->
    	</div><!-- #primary -->
    
    </div>
    <?php get_footer(); ?>

    np. w ustawieniacg strony homepage działa slider, ale nie ma strony 🙂 tzn info jakie wpiszę..

    kod HOMEPAGE

    <?php
    /**
     * The template for displaying all pages.
     *
     * This is the template that displays all pages by default.
     * Please note that this is the WordPress construct of pages
     * and that other 'pages' on your WordPress site will use a
     * different template.
     *
     Template name: Homepage
    
     * @package fabframe
     */
    
    get_header(); ?>
    
    <div id="hblock">
    
    <div id="home-slider">
    
    <ul class="slides-container">
    <?php
    
    $slidecount = ft_of_get_option('fabthemes_slidecount','5');
    $args = array( 'posts_per_page' => $slidecount, 'post_type'=> 'slides');
    
    $myposts = get_posts( $args );
    foreach ( $myposts as $post ) : setup_postdata( $post ); ?>
    	<li>
    		    <?php $img_url = get_post_meta($post->ID, "wtf_slider", true);	?>
    
    			<?php $elink = get_post_meta($post->ID, "wtf_extlink", true); ?>
    
    			<?php $oldimg =  get_post_meta($post->ID, "wtf_slide", true);?>
    
    			<a href="<?php echo $elink; ?>">
    				<?php if( $oldimg !=""){
    					echo '<img src="'.$oldimg.'"/>';
    				 } else {
    				    echo wp_get_attachment_image( $img_url, 'full' );
    				 } ?>
    			</a>
    
    	</li>
    <?php endforeach;
    wp_reset_postdata();?>
    
    </ul>
    
    </div>
    </div>
    <?php get_footer(); ?>

    jak udało mi się połączyć FULLPAGE i HOMEPAGE, że jest strona i slider, to strona się nie przewija w dół 🙁

    pomocy…! 🙂

Temat ‘Shuttershot – Slider’ jest zamknięty na nowe odpowiedzi.