WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Content Slide
[resolved] WP Content Slider with Arras theme (7 posts)

  1. Helterskelter
    Member
    Posted 3 years ago #

    Using all the initial settings and nothing appears on the page.
    Put<?php if(function_exists('wp_content_slider')) { wp_content_slider(); } ?> and nothing appears
    the theme has <?php wp_head(); ?> in it as that omission can cause problems i know
    any ideas why this does not work?

  2. Helterskelter
    Member
    Posted 3 years ago #

    I solved the problem by placing<?php
    if(is_page('slideshow') )
    {
    if(function_exists('wp_content_slider')) { wp_content_slider(); }
    }
    ?>

    in the page.php page
    but why dont you explain more clearly in the instructions about how to place the php script correctly?
    that would make a good plugin better

  3. myidea1
    Member
    Posted 3 years ago #

    I have to agree with you Helterskelter. The installation instructions are extremely poor. The instructions assumes the user already knows what has to be done and how in order to make it work. I still haven't gotten it to work, and I am no greenhorn at this.

  4. goldenimage
    Member
    Posted 3 years ago #

    I solved the problem by placing<?php
    if(is_page('slideshow') )
    {
    if(function_exists('wp_content_slider')) { wp_content_slider(); }
    }
    ?>
    in the page.php page
    but why dont you explain more clearly in the instructions about how to place the php script correctly?
    that would make a good plugin better

    Okay, newb here. I do know you can't add php in the html code section of a post via the admin. (without widgets etc)

    Where is the mypagename.php file? How do I get to it?
    If its via ftp, would you please specify the exact file path?

  5. Nilesh Shiragave
    Member
    Plugin Author

    Posted 3 years ago #

    Okay, newb here. I do know you can't add php in the html code section of a post via the admin. (without widgets etc)

    Where is the mypagename.php file? How do I get to it?
    If its via ftp, would you please specify the exact file path?

    page.php is a default page template file. And you can find that file inside your active theme directory.

    About the Instructions I am working on it. All instructions will be available with next release.

  6. tubehead
    Member
    Posted 3 years ago #

    I've done everything as stated by adding the code below to the page.php file and nothing shows up. This is using the default settings once the plugin was activated.

    <?php
    if(is_page('home'))
    {
    if(function_exists('wp_content_slider')) { wp_content_slider(); }
    }
    ?>

  7. tubehead
    Member
    Posted 3 years ago #

    My bad... I was able to get this FANTASTIC slider to work.

    I found that I was putting the PHP code in the page.php file. I wanted the slider to display on my homepage with the sidebar disabled. I put the PHP code in the 'onecolumn-page.php' file and the slider showed up.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic