WordPress.org

Ready to get started?Download WordPress

Forums

Smooth Slider
Smooth Slider Not Showing Up At All (9 posts)

  1. JustDuckyDesigns
    Member
    Posted 1 year ago #

    I am using version 2.4 and WordPress version 3.4.2
    No slider is showing up at all. Here is the link to the page: http://dreamingthefire.com/

    I installed Smooth Slider, I created a post, with a photo, I added the post to Smooth Slider, Here is my index.php:

    <?php get_header(); ?>
    			<?php get_sidebar('top'); ?>
    			<?php
    
    <?php if ( function_exists( 'get_smooth_slider' ) ) { get_smooth_slider(1); } ?>
    
    			if (have_posts()) {
    				/* Display navigation to next/previous pages when applicable */
    				if (theme_get_option('theme_' . (theme_is_home() ? 'home_' : '') . 'top_posts_navigation')) {
    					theme_page_navigation();
    				}
    
    				/* Start the Loop */
    				while (have_posts()) {
    					the_post();
    					get_template_part('content', get_post_format());
    				}
    				/* Display navigation to next/previous pages when applicable */
    				if (theme_get_option('theme_bottom_posts_navigation')) {
    					theme_page_navigation();
    				}
    			} else {
    				theme_404_content();
    			}
    			?>
    			<?php get_sidebar('bottom'); ?>
    <?php get_footer(); ?>

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum's parser.]

    http://wordpress.org/extend/plugins/smooth-slider/

  2. slidervilla
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    As the PHP tag is already open before the Smooth Slider template tag, there is no need to put the PHP open/close tag again while adding the template tag. As I can see, you have resolved the problem on your website and slider is running fine now, but this solution would help others.

    Best regards,
    SliderVilla Team

  3. jaydokie
    Member
    Posted 1 year ago #

    My homepage is http://roundhousetalk.com I have the same problem and still can't make it appear on my homepage. I use the same plugin version and WordPress version 3.4.2. Here is my index.php code:

    <div id="primary">
    			<div id="content" role="main">
    			<?php if ( function_exists( 'get_smooth_slider' ) ) { get_smooth_slider(1); } ?>
    			<?php if ( have_posts() ) : ?>
    
    				<?php twentyeleven_content_nav( 'nav-above' ); 
    
    				<?php /* Start the Loop */ ?>

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum's parser.]

    My smooth slider doesn't show up.

  4. slidervilla
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Write the slider id inside a single quote. Here is the example,

    <?php if ( function_exists( 'get_smooth_slider' ) ) { get_smooth_slider('1'); } ?>

    Let me know if it helps.

    - SliderVilla.com Team

  5. jaydokie
    Member
    Posted 1 year ago #

    Here's how I did it but still no slider. Did I put it in the right place?

    get_header(); ?>
    
    		<div id="primary">
    			<div id="content" role="main">
    						<?php if ( have_posts() ) : ?>
    
    				<?php twentyeleven_content_nav( 'nav-above' );
    				<?php if ( function_exists( 'get_smooth_slider' ) ) { get_smooth_slider('1'); } ?>
    				<?php /* Start the Loop */ ?>

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum's parser.]

    Here's the generated CSS code identified on the slider settings which show me what the slider looks like on the page. Thanks for your quick response as I have been struggling with this for 2 days.

  6. slidervilla
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Check if the code is inside any IF condition. And paste the smooth slider template tag before the <?php if ( have_posts() ) : ?>

    See if you site is using index.php for the front page (verify that by seeing the WordPress dashboard ==> Settings ==> Reading ) page.

  7. jaydokie
    Member
    Posted 1 year ago #

    [Please stop posting in uppercase. It's the electronic equivalent of shouting and is considered quite rude. Post de-capped.]

    i tried it but no luck. below is the code in main index template. i checked the dashboard ==> settings ==> reading ) page and it shows my main page as the front page with no page selection for posts in the static address:

    get_header(); ?>
    
    		<div id="primary">
    			<div id="content" role="main">
    				<?php if ( function_exists( 'get_smooth_slider' ) ) { get_smooth_slider('1'); } ?>
    
    				<?php if ( have_posts() ) : ?>
    
    				<?php twentyeleven_content_nav( 'nav-above' ); 
    
    				<?php /* Start the Loop */ ?>
    				<?php while ( have_posts() ) :

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum's parser.]

  8. jaydokie
    Member
    Posted 1 year ago #

    Ok, I got the smooth slider to appear on my homepage at http://roundhousetalk.com but I had to use a widget for it on the sidebar. How do I get it to show up on the page body table rather than the sidebar. It looks too big for the sidebar and is cut off. Thanks.

  9. kahwajo
    Member
    Posted 1 year ago #

    OK. thank u its done ur a man

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic