• Resolved dingfelder

    (@dingfelder)


    The about page and contact page (linked to from the header of the connections theme for instance) link to: <blog root>/#

    How can I actually create a about page and then have he system point this link to the correct page?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Admin page > Write > Write Page:

    Make the title whatever you desire (About?) add the data about yourself.

    On the “write page” there is a box that says “Page Template:” and it should be a drop down box. Select whatever template your theme uses. (it may be about, or default) it varies with each theme.

    Then press “create new page” Then you will have to go inot “manage pages” you should see your new page.

    Select view page and copy the url displayed.

    Then place that url in, probably, your header file in the correct place.

    And you can always learn more here:
    http://codex.wordpress.org/Pages

    Thread Starter dingfelder

    (@dingfelder)

    I was hoping that would not be the answer. The tricky part is, there are (on many themes) 2 places that list pages.

    On the top (in the header) there is contact and about for instance

    In the sidebar is a list of all defined pages.

    If I follow your directions (if I am reading them right) then the “about” page will appear in both places, whereas I do NOT want it in the sidebar, only in the startic page list in the header.

    Does that make sense?

    You can edit your template to remove the call to wp_list_pages() in your sidebar; or you could modify the tag to exclude some pages from the sidebar list.

    Thread Starter dingfelder

    (@dingfelder)

    Excellent. Exactly what I was looking for (the link to Page Exclusion Code)

    Muchos Gracias 🙂

    dingfelder: can you mark this issue “resolved”, so we can keep tabs on which posts still need help and which don’t? Thanks!

    Thread Starter dingfelder

    (@dingfelder)

    ok, one more question.

    When I tried the example code, using:
    <ul>
    <?php wp_list_pages('exclude=17,38&title_li=<h2>' . __('Pages') . '</h2>' ); ?>
    </ul>

    I get weird output.

    I think it is (because of the css) making the page title be a <li> element.

    with the connections theme (which my site is a slight variation of) the csss for a page element is:


    #pagenav
    {
    list-style:none;
    }

    See my site: http://www.dingfelder.org/blog

    you will see there that I have moved the “months” section from the connection theme up and this is right before my pages code.

    the archive code is
    ‘<h2><?php _e(‘Archives:’); ?></h2>

      <?php wp_get_archives(‘type=monthly&show_post_count=true’); ?>

    what ends up happening is that my pages code gets indented within the archive code for some reason.

    Any idea what could be going wrong?

    Try <?php wp_list_pages('exclude=17,38&title_li='); ?>. Then you can manually insert an <h2>Pages</h2> above, and avoid the double list.

    Thread Starter dingfelder

    (@dingfelder)

    Very good. You can see the result at:
    http://www.dingfelder.org/blog

    I had to make 1 slight change to your suggestion: the code needed a UL tag:

    <h2><?php _e('Pages:'); ?></h2>
    <ul><?php wp_list_pages('exclude=16,19&title_li='); ?>
    </ul>

    Thanks for assistance 🙂

    What do you think of my modified theme? It is sort of a hybrid of “Pool” and “Connections”… Im still playing with the colors but I think the concept is pretty well finalized.

    Cheers,

    -Ding

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘about and contact pages’ is closed to new replies.