Is there a way to add a tab section within a post

  • Unknown's avatar

    Is there any equivalent on wordpress.com sites for what the WordPress Post Tabs plugin does for self-hosted pages?

    I’d really like to put tabbed content within a post without having to go to a self-hosted page.

    Thanks for any help.

    The blog I need help with is: (visible only to logged in users)

  • If by “Post Tabs” you mean having different “pages” inside a post with tabs at the top one can click to see the different pages, that’s not possible here. But you can get a similar effect using page-jump links.

    Compose your post with headings for the different sections, and then create a “menu” by adding those heading to the top as an index. Then you can add page-jumps to each menu item to take readers directly to the relevant headings on the page. http://en.support.wordpress.com/splitting-content/page-jumps/

  • Unknown's avatar

    well… actually I think there might be a way to do this, using so called guru level CSS

    for example i have already managed to create rounded tabs inside a page, which i will demo soon

    now the thing about tabs is that normally you have to use js to cycle between them

    this is the usual WP restriction — it is very diffuclt to cycle through links and data structures in a normal programming style… so you have to resort to workarounds with advanced html/css — keeping in mind always the annoying things the preprocessor does silently to your code

    but if a way could be found to match element ids via the hashtag symbol on URL using CSS you could be in business

    maybe not though.

    i will try it. The page jump thing is a primitive hack. it is not in fact tabs at all.

    what you really want is a page that has, say, 4 or 5 tabs, each one containing different or related content.

    it would be awesomeness to pull this off, so i will give it a go in my free time.

    i could be wrong about this, though, as i am new to css and learning it as i go along… but i have already managed to do things that i was told were not possible simply by looking at the wp source code and using css ;-)

  • Unknown's avatar

    Hello there,
    This is the Support forum and you need to post to the CSS Forum. Please use this link https://en.forums.wordpress.com/forum/css-customization#postform so you can copy and paste your text into a thread that will appear in the CSS Forum where you will get the help you need.

  • The topic ‘Is there a way to add a tab section within a post’ is closed to new replies.