WordPress.org

Ready to get started?Download WordPress

Forums

Easing Slider "Lite"
[Plugin: Easing Slider] Loading at top of page? (6 posts)

  1. cyhwebby
    Member
    Posted 4 years ago #

    When I use the short code for the easing slider in my page, it automatically loads the easing slider at the top of the page. Any suggestions for how to integrate it with my text? I have tried <div style="display: block; float: right"> to no avail. I'd love some help.

    Thank you!

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

  2. MatthewRuddy
    Member
    Plugin Author

    Posted 4 years ago #

    Hey. What exactly do you mean by integrate it with your text? As in you want the text to float left/right of it?

    Can you link me to the page/post in question?

    Matthew.

  3. cyhwebby
    Member
    Posted 4 years ago #

    Thanks for replying. I have put it on a test page for you to see:
    http://basementrepairspecialists.com/test-page

    Basically I want to be able to style it like an image and have it not float to the top of the page. Floating left or right would also be great.

  4. MatthewRuddy
    Member
    Plugin Author

    Posted 4 years ago #

    Due to the CSS's markup I don't think this would be possible via the shortcode. This will be something I'll address in the future when I get the time to bring out the first major update to the slider.

    What you can do is edit the themes 'single.php' file and insert the slider manually using PHP.

    Firstly download the "Custom Post Templates" plugin. Next, duplicate your single.php file and rename the duplicate to a name of your choice. Next, open the newly duplicated file and paste this code at the very top:

    <?php
    /*
    Template Name Posts: Easing Slider Post
    */
    ?>

    Next, insert this <b>below</b> the div with the class "entry";


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

    Then, edit the post you wish to have the Easing Slider displayed on. When editing the post you will see a new box called 'Custom post template'. Select the template 'Easing Slider Post'. If done correctly I believe the slider will appear underneath your specific posts content. If not, reply back to me here. If possible, paste the code of your modified duplicate file here and I will take a look at it. Sorry if this is a lot to take in.

    Matthew.

  5. cyhwebby
    Member
    Posted 4 years ago #

    I think I got it working. I had to do it via the page template rather than posts as the page I ultimately want to edit is governed by page.php. I did notice I had to change the top code to:
    <?php
    /*
    Template Name: Easing Slider Page
    */
    ?>

    Rather than Template Name Posts.

    Thanks for your help; I really appreciated it! And great plugin. This is one of the easiest image slideshow plugins around, and I have tried a lot of them. Good work!

  6. MatthewRuddy
    Member
    Plugin Author

    Posted 4 years ago #

    Sorry, didn't realise you were using pages instead of posts.

    Glad you like it. Ease of use was my number one aim. Thanks a lot, appreciated. :D

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic