• jrjordan

    (@jrjordan)


    Hello all, I was needing to create a type of subpage, or something like that, with no tab. I can make a subpage, but I want the new page to not have a parent page URL.

    How do I do this?

    Thanks so much,
    john

Viewing 5 replies - 1 through 5 (of 5 total)
  • alexleonard

    (@alexleonard)

    I’m afraid you’re going to need to be a little bit more specific than that!

    If you supply a URL of your site and please give an example of what it is that is wrong, and what you are trying to do.

    Thread Starter jrjordan

    (@jrjordan)

    Thank you for your request for clarification.

    I want to make a page, optimized for a particular keyword, and not have it show up as a tab.

    My site: https://www.ConnectionCare.com

    I have the following tabs at the top: home, premarital compat. test, prepare enrich, resources, etc.

    Let’s say I want a page optimized for the keyword “marriage communication.” I don’t want another tab on my index/home page. I just want to make the page with the following URL or link: https://www.connectioncare.com/marriage-communication.

    How do I make that page, and not have it show up as a tab?

    I do not know that much about WordPress or creating the site, so I am not exactly sure for what I should be asking.

    Thanks again!

    alexleonard

    (@alexleonard)

    Oh right. I think I understand what you are trying to do.

    Anytime you create a page it appears in the top tabs.

    The best navigation tool I use is NAVT

    It’s a brilliant tool and will allow you much greater control over your page navigation.

    Upload and activate the plugin.

    Go to Manage > NAVT Lists

    In here you can create a new navigation menu, say call it “main”. Once it’s created you can drag any of your desired tabs from “unassigned” to “main”

    Then, go into (I’m guessing here) your header.php file and find the wp_list_pages() function and replace it with:

    <?php navt_getlist(main, $bEcho=true, $sTitle='', $sBefore='ul', $sAfter='/ul', $sBeforeItem='li', $sAfterItem='/li') ?>

    This code will tell your theme to render that main list of navigation items.

    It might require a bit of work in around that, but it’s so worthwhile as you can create more menus and use them as widgets in your side bar.

    Otherwise, if you don’t like the sounds of that, and assuming your template is using wp_list_pages to create your tabs, then have a detailed read of:

    https://codex.www.ads-software.com/Template_Tags/wp_list_pages

    Everything you need is in there (just not quite as cool as NAVT)!

    Thread Starter jrjordan

    (@jrjordan)

    Thanks for your help. I think I found the solution, a plugin can just about solve anything–

    https://www.ads-software.com/extend/plugins/exclude-pages/installation/

    alexleonard

    (@alexleonard)

    Cool. Glad you found something that suited. If that works, please mark this topic resolved.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Page without a tab needed…how?’ is closed to new replies.