• I should preface this question with a statement: I don’t have “mad crazy skillz” with PHP so feel free to speak slowly and use exaggerated hand movements.

    I’m using WP for a client’s site to manage their news, events and press releases. Ideally, they’d like the homepage to display 3 tabs, 1 tab for each category. News is open by default, the other two tabs are inactive. You click and tab and presto! the posts related to that category appear.

    Is it as simple as assigning a tab to a category URL? In other words, <a href="#" rel="/wordpress/?cat=3">News</a>

Viewing 4 replies - 31 through 34 (of 34 total)
  • In events.php you are just supposed to have a copy of index.php of the theme, with the category query, and the template call at the top.

    Are you adding other coding?

    Thread Starter jhames

    (@jhames)

    I’ve decided to manually control the tabs and pages outside of WP tags. I’m not going to mark this thread as “resolved” since I can’t achieve the desired effect. But if anyone can figure out how to present categories – not pages – as tabs for navigation, let me know.

    Thread Starter jhames

    (@jhames)

    I can ZIP and e-mail you what I’ve got, if that helps.

    Yes, we can try it by email. From here, use my contact form, so I can email you. That way I can show you how I worked with the pages displaying different categories.

    It’s really easy to set up.

Viewing 4 replies - 31 through 34 (of 34 total)
  • The topic ‘Work with index.php to display a tab for created categories’ is closed to new replies.