Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #7624

    <div id=”avia_combo_widget-3″ class=”widget avia_combo_widget”>

    Hi Support,

    How can I add a fourth tab to the standard combo widget?

    I would like to add a Tab that contains an ‘Icon List’ set of links.

    Regards,

    Paul

    UPDATE: After some searching I found the class frameworks widget file and can see the area that displays the last tab, ‘Tags’.

    This is the content I would like to add to a fourth Tab called ‘Profiles’

    [ilink url="URL" style="info"]NAME[/ilink]

    [ilink url="URL" style="info"]NAME[/ilink]

    [ilink url="URL" style="info"]NAME[/ilink]

    [ilink url="URL" style="info"]NAME[/ilink]

    [ilink url="URL" style="info"]NAME[/ilink]

    [ilink url="URL" style="info"]NAME[/ilink]

    This is the PHP of the last tab:

    echo ‘<div class=”tab last_tab widget_tab_tags”><span>’.__(‘Tags’, ‘avia_framework’).’</span></div>’;

    echo “<div class=’tab_content tagcloud’>”;

    wp_tag_cloud(‘smallest=12&largest=12&unit=px’);

    echo “</div>”;

    Could you help me with the code so I can make the fourth tab.

    Regards,

    Paul

    #58703

    1) You need to remove the “last_tab” class from the tag cloud tab. Then add your tab code like:

    echo '<div class="tab last_tab widget_tab_ilink"><span>'.__('iLink', 'avia_framework').'</span></div>';
    echo "<div class='tab_content ilinktab'>";
    echo do_shortcode('[ilink url="URL" style="info"]NAME[/ilink]');
    echo "</div>";

    #58704

    Thanks for that, will give it a try today.

    Appreciate the support.

    Best,

    Paul

    #58707

    Dude,

    That worked a treat, I now have a 4th tab :)

    One thing, currently the links go horizontally across the tab, how do I make them into a vertical list?

    e.g.

    Item1

    Item2

    etc.

    #58708

    Hey,

    could you link to your page? This way we can give specific styling instructions.

    #58709

    Hi Chris,

    Site is in maintenance mode… anyhow here’s a screenshot… Instead of horizontal listing, trying to make each item underneath.

    https://picasaweb.google.com/lh/photo/5LbSXiTPQklzV09g_wqC3-1weXy7Yda0nUpnM4vvAq0?feat=directlink

    Looking for the right code to add to the php widget file.

    Best regards,

    Paul

    #58710

    Hey,

    this really depends on where it’s used, I could provide you with CSS code that works for me but I don’t feel like doing it on my own installation only to find out it doesn’t look right on yours. I can check on it if you can create me an admin account & send me the login info ( (Email address hidden if logged out) ).

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

The topic ‘Avia Combo Widget’ is closed to new replies.