Show multiple pages on homepage in different javascripted tabs?
-
The site I’m trying to mimic is https://www.mybiolumix.com.
If you go there and in the center is a box with 5 different tabs you can click on and each reveals different information.
I am porting this site over to WordPress as it currently is just HTML.
I cannot for the life of me get it so that each tab is just a specific page and to just display a different page in each of the tabs.
I’m trying to use
<div class="tabber"> <div class="tabbertab"> <h2> <?php echo get_the_title(2) ?></h2> <p> <?php query_posts('page_id=2'); the_content(); ?> </p> </div> <div class="tabbertab"> <h2> <?php echo get_the_title(9) ?></h2> <p> <?php query_posts('page_id=2'); the_content(); ?> </p> </div> </div>
and that doesn’t work at all. All it does is show the About page in every tab and does nothing between tab switching.
The tabbing javascript I’m using is located at:
https://www.barelyfitz.com/projects/tabber/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Show multiple pages on homepage in different javascripted tabs?’ is closed to new replies.