Skip to:
Content
Pages
Categories
Search
Top
Bottom

Smooth slider on home page

  • Avatar of slicktig1
    slicktig1
    Participant

    @slicktig1

    I am using wpmu+buddypress with bp default theme. I would like to use the smooth slider plugin for featured posts for which i need to edit the theme. which file i need to edit to insert the following code in order to show featured posts on the left side of home page.

    i’ve tried using PHPCode widget and copy pasted below slider plugin code. but it simply displays the same code back . NO SLIDER.

    if ( function_exists( ‘get_smooth_slider_wpmu_all’ ) ) { get_smooth_slider_wpmu_all(); }

    pls help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Avatar of slicktig1
    slicktig1
    Participant

    @slicktig1

    sorry . it was a silly mistake. php tags were missing. works fine now . A featured posts gallery from various blogs would be a nice asset for buddypress.

    Avatar of mcrustk2
    mcrustk2
    Participant

    @mcrustk2

    Where abouts in your index.php file did you place this?

    My home page is a static homepage, does that matter?

    Avatar of Kunal17
    Kunal17
    Participant

    @kunal17

    @Slicktig1, did you get it to work properly? In my setup, adding it, vanishes all the widgets underneath it.

    Avatar of gregfielding
    gregfielding
    Participant

    @gregfielding

    @kunal17

    What’s your site? I’d love to see your slider…I want one too… :)

    Avatar of Kunal17
    Kunal17
    Participant

    @kunal17

    @gregfielding,

    You can see at the bottom left of the homepage at http://theindianstartup.com. The admin part of the plugin works well, I just wish I could figure out how to add it to the top of the left column without it vanishing my other widgets.

    Avatar of mcrustk2
    mcrustk2
    Participant

    @mcrustk2

    @Kunal17

    Your site is great!

    How do I edit the theme for my front page so that recent posts and recent articles show much like yours?

    Also, is there any HTML or web editing tool you would specifically recommend for theme design, Dreamweaver or other?

    My site is http://site.chestermc.org

    Im trying to create a dynamic front page much like yours, with articles, posts and maybe a cloud tag DIV.

    Avatar of pcwriter
    pcwriter
    Participant

    @pcwriter

    @Kunal17

    In case you haven’t yet figured out the problem with Smooth Slider “vanishing” your other widgets, here’s why (I think):

    The overall page width is 960px with 20px padding (.padder div) = 920px for content.

    Your sidebar (first-section div) has a margin-right of 560px which results in a width of 360px for the widgets.

    Oops! The Smooth Slider widget is 380px wide – 20px too much – so, if you put it at the top of the section, it throws everything else out of whack.

    Reduce the width of the widget to 360px, or edit the first-section div to have a margin-right of only 540px and things should work.

    The Firebug for Firefox addon helps zero in on problems like this. I installed it a few days ago and am loving it!

    Hope this helps!

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.