• Closed
  • joanne chia
    Spectator
    10.05.2015 at 12:05 #17405

    Currently the tabbed allow to display latest posts and/or comments in the tabs. How do i customize it so that I have it point to load a marquee announcement.

    my currently marquee annoucement that i would like to load within the tab 1 looks like this

    <!–CSS Code–>
    <style type=”text/css” scoped>
    .GeneratedMarquee {
    color:#000000;
    }
    </style>

    <marquee class=”GeneratedMarquee” direction=”up” scrollamount=”1″ behavior=”scroll”>
    [nlposts instance=prinews number_posts=3 title_only=false display_type=olist blog_id=3 excerpt_length=10 auto_excerpt=true sort_by_date=true sorting_order=newer]
    </marquee>

    and for tab 2

    <!–CSS Code–>
    <style type=”text/css” scoped>
    .GeneratedMarquee {
    color:#000000;
    }
    </style>

    <marquee class=”GeneratedMarquee” direction=”up” scrollamount=”1″ behavior=”scroll”>

    [nlposts instance=prinews number_posts=3 title_only=false display_type=olist blog_id=4 excerpt_length=10 auto_excerpt=true sort_by_date=true sorting_order=newer]

    </marquee>

    please help. Thanks!

    Roman
    Spectator
    Posts: 3147
    10.05.2015 at 14:10 #17408

    sorry, tab widget can display only those sections which are built in…but you could use Tabs shortcode https://theme4press.com/alora-documentation/shortcodes/tabs/ in the text widget and then it could work as you require