• page-about.php

    <div id="AboutNav">
    		<h3>About</h3>
                <p style="border-bottom: 1px dotted #787878; width: 200px;"></p> 
    
                    	<a href="https://localhost/wordpress/about/">Vision & Mission</a>
                    	<a href="https://localhost/wordpress/about/">History</a>
                    	<a href="https://localhost/wordpress/about/">Client</a>
                        <a href="https://localhost/wordpress/about/">People</a>
    
    </div>

    Hello, in wordpress in page about, I create a custom page that consists of 5 other pages.

    How to link those pages in wordpress. Any idea ? How to link those pages with wordpress CMS ?

    Thanks for suggestion.

Viewing 15 replies - 1 through 15 (of 23 total)
  • The simplest thing to do would be to edit the About page and insert links into it. Is that what you want?

    If you really want to use the code you showed, you could install the Exec-PHP plugin and then just put the code in the page.

    Thread Starter davy_yg

    (@davy_yg)

    I read the manual but still do not understand what it is for ?

    Perhaps I do not understand what you want to do.

    The Exec-PHP plugin will let you put code into a Post and execute it. Using the plugin, you could put the code you showed directly into a Post and have it run.

    plugin?? dont think so u need it anyway.. which permalinks setting r u using? u can try this btw.. just umm go to pages>all pages and there ull see all ur pages u created for those which u want to link press “view” located under the pages titles this will lead u to ur pages and
    <a href="https://localhost/wordpress/about/"> and replace https://localhost/wordpress/about/ with your new URL u see on the URL bar when u r viewing ur page

    sorry for bad english..
    CHEERS!!

    Thread Starter davy_yg

    (@davy_yg)

    How to code it ? I’ve installed the plugin.

    page-about.php

    <div id="AboutNav">
    		<h3>About</h3>
                <p style="border-bottom: 1px dotted #787878; width: 200px;"></p><br /> 
    
                    	<a href="https://localhost/wordpress/about/about-vision.php">Vision & Mission</a><br />
                    	<a href="https://localhost/wordpress/about/about-history.php">History</a><br />
                    	<a href="https://localhost/wordpress/about/about-client.php">Client</a><br />
                        <a href="https://localhost/wordpress/about/about-people.php">People</a><br />
                    </ul>
                <br>
    </div><br />

    I’ve tried that. It shows me different page then I’ve coded in each page. I copy paste page-about.php code to other pages. Yet, whenever I click each navigation page, it shows me banner without content. Similar to index.php page (banner with content). I only place the banner in index.php. Why is it ? (the url is correct, but the web that appears looks different)

    Thread Starter davy_yg

    (@davy_yg)

    This time it shows me blank pages on other pages:

    <a href="https://localhost/wordpress/about/about-vision.php">Vision & Mission</a><br />
    <a href="https://localhost/wordpress/about/about-history.php">History</a><br />
    <a href="https://localhost/wordpress/about/about-client.php">Client</a><br />
    <a href="https://localhost/wordpress/about/about-people.php">People</a><br />

    Why is it ?

    Please follow these steps:

    1. Install, activate and configure the Exec-PHP plugin.
    2. Edit the Page.
    3. Erase everything on the Page.
    4. Switch to HTML mode (not Visual).
    5. DO NOT EVER switch back to Visual mode on that Page!!
    6. Paste in your code.
    7. Update the Page.
    8. View the Page.

    It still may be that the simplest thing to do is just put the links into the page in the usual way.

    1. Keep the Page in Visual mode.
    2. Highlight the text you want to display for the link.
    3. Click the ‘Link’ icon – looks like chain links.
    4. Enter the URL for the link.
    5. Click ‘Add Link’.
    6. Update the Page.
    7. View the Page.
    Thread Starter davy_yg

    (@davy_yg)

    Okay, the problem with creating new page is the new page will be included in the upper navigation while my point is the upper navigation must remains in about:
    (https://localhost/wordpress/about/)

    – Vision & Mission
    – History
    – Client
    – People

    (These are the side navigation)

    Only the side navigation changes with different posting for each side navigation item. How to create a new page with out adding a new item in the upper navigation ?

    I also have already try to create a new custom page such as:
    https://localhost/wordpress/about/about-vision.php

    Yet, wordpress is unable to open that page (it opens a blank page) eventhough the codes inside it is exactly the same like about page. Why is it ?

    Use the WP Menu system to create the menu. Then you can control exactly what it shows. Here is a tutorial:

    https://ericasays.com/2984/wordpress-3-custom-menu-tutorial/

    Thread Starter davy_yg

    (@davy_yg)

    Is that a plugin ? I wonder why the menu shows in the wordpress tutorial video difference from the menu in my wordpress 3.1.1 ?

    It is not a plugin. It is just the built-in WP Menu system. The structure is set by the WP Menu system, the appearance is set by the theme.

    Thread Starter davy_yg

    (@davy_yg)

    How to go to the menu system in the appearance there are only three items: Themes, Widgets, Editor.

    To add menu I usually add the page, the problem with that is every page has a top navigation. I cannot choose which page has a top navigation and which does not.

    Don’t know why you don’t have Appearance->Menus. Maybe you should try re-installing WP by going to Dashboard->Updates and clicking ‘Re-install Now’.

    Thread Starter davy_yg

    (@davy_yg)

    Fatal error: Maximum execution time of 30 seconds exceeded in C:\xampp\htdocs\wordpress\wp-includes\class-http.php on line 1106

    It sounds like something is seriously wrong with your setup. Is it out of the question to start fresh, or maybe you have a backup copy of a working version?

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Navigation’ is closed to new replies.