WordPress.org

Ready to get started?Download WordPress

Forums

WP UI on homepage/frontpage (5 posts)

  1. Jvds
    Member
    Posted 2 years ago #

    Hi,

    I'm trying to get the WP UI - Tabs, Accordions, Sliders on my homepage. I haven't found a shortcode that I can put in my index.php file, but it must be possible.

    See this site: http://gemrecords.nl. They have their 'releases' with (I think WP UI - Tabs, Accordions, Sliders) on their homepage.

    Does anybody know how?

    Thanks!

    Jelle

  2. kavingray
    Member
    Posted 2 years ago #

    Hi Jelle,

    You can use HTML to implement accordions on the home page, as referenced here. you can also use the shortcodes with do_shortcode function.

    <?php echo do_shortcode( '[wptabposts type="accordion" cat="137" number="10"]' ); ?>
  3. Jvds
    Member
    Posted 2 years ago #

    Hi Kevin,

    It isn't working, or/and I don't know how to.

    I want to make 20 accordion tabs on the homepage. In that tabs, I want to put some stuf. (like a youtube vid, tables, etc). When I insert the code, there are lots of stuff, but not what I want.

    Can you please help me?

    Thanks a lot!

    P.S. Your plugin is GREAT!

  4. Jvds
    Member
    Posted 2 years ago #

    Hi,

    I fugured it out myself, it worked, but not correctly.

    My sidebar went down when I inserted the code. My code:

    [71 lines of code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    A question: I want to set an height. I inserted 15 tabs and they're not the full height of the accordion height. There's a lot of empty space. Another question: can I remove the space on the top and on the bottom? There are little spaced between the first tab and the top. On the bottom there's a black line, and after that there is an empty tab space again.

    Thanks!

    p.s. I posted this message on your website as well.

  5. kavingray
    Member
    Posted 2 years ago #

    Hi there,

    Enabling accordion auto height by Options page -> Effects -> Accordion auto height( check ) adjusts the height automatically. If the sidebar is being pushed down, make sure all the div elements are closed correctly.

    A link to the page, apart from the code would be helpful. :)

Topic Closed

This topic has been closed to new replies.

About this Topic