WordPress.org

Ready to get started?Download WordPress

Forums

WP Parallax Content Slider
[resolved] Slider Won't Display, Does Nothing (10 posts)

  1. southamericaliv
    Member
    Posted 1 year ago #

    I'm a webmaster, don't code anymore but tried to install this slider and added the necessary code to my home.php file. Can't get anything to display, not sure what else I am suppose to do.

    My site is http://www.southamericaliving.com

    http://wordpress.org/extend/plugins/wp-parallax-content-slider/

  2. southamericaliv
    Member
    Posted 1 year ago #

    Here is the code that I added to, the code above slider code was already in template, and when I removed that, broke the whole site (again, I have not done dev work for many years, am a writer/publisher now).

    <div id="featured-slider">
    
    <?php if ( $paged < 2 ) {  // Do stuff specific to first page  ?>
          <?php if (have_posts()) : ?>
          <?php $my_query = new WP_Query('showposts=1'); while ($my_query->have_posts()) : $my_query->the_post(); $do_not_duplicate = $post->ID;?>
          <?php endwhile; ?>
    
    :<?php if ( function_exists( 'get_wp_parallax_content_slider' ) ) { get_wp_parallax_content_slider(); } ?>
    		 </div>

    [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.]

  3. southamericaliv
    Member
    Posted 1 year ago #

    I'm sorry, I corrected the code to add to home.php (syntax error above and found a new line in the settings area), but still does not work at all.

    This is the code I have in home.php (above line corrected):

    if ( function_exists( 'get_wp_parallax_content_slider' ) ) { get_wp_parallax_content_slider(); }

  4. southamericaliv
    Member
    Posted 1 year ago #

    I'm sorry, I corrected the code to add to home.php (syntax error above and found a new line in the settings area), but still does not work at all.

    This is the code I have in home.php (above line corrected):

    if ( function_exists( 'get_wp_parallax_content_slider' ) ) { get_wp_parallax_content_slider(); }

    Note: I DID add 'backticks' using the code button to the above code. If not showing, I do NOT know why & apologies.

  5. wp-maverick
    Member
    Plugin Author

    Posted 1 year ago #

    Hello southamericaliv,
    the plugin code have to be inserted somewhere in a wordpress php file outside the wordpress loop (see the codex)!

    If you have done this and installed the plugin in wordpress, it should work great.

    Sometimes, users seems to have problems with their own theme or plugins. Most of the time, there are jQuery conflicts and then, javascript can't be executed...

    I can see many errors on your website using chrome debug console so I think you should start by that.

    Another solution is to add the plugin code at the end of the header.php file of your theme, before the loop. If the slider doesn't display then, there is another problem.

    Let me know if you find something (or not)!

    Regards ;)

  6. southamericaliv
    Member
    Posted 1 year ago #

    wp-maverick, thanks so much for the info! I gave it one more shot, but have to have someone more skilled do it.

    I will pay via PayPal for this help, should be very simple for someone skilled, if you or anyone you know can help out please send e a note via my contact form on the website - http://www.southamericaliving.com/contact-us/

    Would hugely appreciate it!

  7. wp-maverick
    Member
    Plugin Author

    Posted 1 year ago #

    One simple thing to do is:
    1 - deactivate all plugins on your wordpress installation
    2 - Activate only wp-parallax-slider

    Here, you should test if the plugin works well when its "alone"!

    If OK, then activate other plugins one by one and find the one which creates conflict.

    If not OK, deactivate your theme, activate one regular theme (eg. Twenty eleven) and put the slider code at the end of header.php file. Then, look if the slider works.

    I hope you'll then be able to find if there is a plugin conflict or a thme conflict!

    Good luck :)

  8. southamericaliv
    Member
    Posted 1 year ago #

    Definitely, but am not sure I've put the code in correctly, actually pretty sure I haven't, so really need someone who knows PHP to help. My site has errors already I know, so don't want to add any more sloppy code that has to be fixed later! Want this done right.

    I'll try to find someone but again, if anyone can help please contact me via my contact form at http://www.southamericaliving.com. Love the plugin, can't wait to use it, thanks for all the great help wp-maverick, I've read your other replies to other posts too.

  9. southamericaliv
    Member
    Posted 1 year ago #

    All that displays is the line of code that I am putting in the header.php file on the top of every page. No slider.

    How can I find someone to help me install this? Thanks.

  10. wp-maverick
    Member
    Plugin Author

    Posted 1 year ago #

    Close this one because there are other threads about this kind of problem !

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic