Hi im extremely new to php but i got a problem that may be super simple for someone to solve. I want to make more tabs to my site and it took me a really long time to get this far but i finally found the tab part of the site and tried to make another tab unfortunately it doesn’t work like its supposed to. i added the “word up” tab but i just basically copy and pasted the home tab and don’t know what parameters to change to make word up work. heres the code for those two tabs the second being the lame word up tab that i pasted (the actual page ID for the “word up!” tab is 20: please let me know what all the crazy nonsense is that im doing wrong…
<li<?php echo (!isset($_GET['page_id']) || intval($_GET['page_id']) == 0 ? ' class="current_page_item"': '')?>><a href="<?php echo get_option('home'); ?>/">Home</a></li>
<li<?php echo (!isset($_GET['page_id']) || intval($_GET['page_id']) == 20 ? ' class="current_page_item"': '')?>>Word Up!