WordPress.org

Ready to get started?Download WordPress

Forums

Pages & SubPages Question! (7 posts)

  1. ever9
    Member
    Posted 7 years ago #

    Hi to all!
    First of all: WordPress is fantastic!!!!!!!!!!! Compliments!

    Well, i need help about some problems..

    1. I need to create a subpage with image thumbinal in a one page.
    Example: My site is dedicated to tutorial for photoshop, i created a PAGE called "Tutorial", and into it, i would create some subpages like "Effect on Text, Drawing, Layout, Photo Retouch, ect.." with an image of category. And then, i would post articles of tutorials in one of subpage of Tutorial Page. How to do this?
    And the subpages of the Tutorial Page, they be must hidden on home-page menĂ¹.

    Thanks guys!
    Bye!

  2. moshu
    Member
    Posted 7 years ago #

    a PAGE called "Tutorial", and into it,
    Nope, it's UNDER, not IN.

    with an image of category
    Pages dont' have categories.

    Always start your discovery at the online manual of the "fantastic" WP - it is almost as fantastic as the script :)
    http://codex.wordpress.org/Main_Page

    Re Pages:
    http://codex.wordpress.org/Pages
    displaying Pages list:
    http://codex.wordpress.org/Template_Tags/wp_list_pages
    (see the parameters!!!)

  3. ever9
    Member
    Posted 7 years ago #

    Ok.
    But i dont understand a thing..
    How to exclude the page tutorial and about? The id are: 2,14.

    Whats code i have to insert in sidebar.php?

  4. moshu
    Member
    Posted 7 years ago #

    See my last link and the "exclude" parameter.
    Section 4.4

  5. ever9
    Member
    Posted 7 years ago #

    Ok..
    But how to post article in a subpage?

  6. moshu
    Member
    Posted 7 years ago #

    Do you have a working WP installed?
    Did you ever try to create a new Page by going > Write > Write Page?
    If yes, you should have seen on the right all kind of dropdown menu options (blue things with + on the right; I'd click on them just out of curiousity...)
    One of them should say: Page Parent.

  7. ever9
    Member
    Posted 7 years ago #

    Yeah, i've a working WP installed.
    OK now work :).

    Another question:

    I've read here this: 4.2 The MenĂ¹, http://codex.wordpress.org/Category_Templates#The_Menu

    But i've tryed to insert

      <?php
      wp_list_cats('list=1&use_desc_for_title=0&child_of=' . $this_category->category_parent); ?>

    </div>

    in the sidebar.php, replacing the original code that shows the categories.

    But the new code not work, it doesnt shows the cagetories and show "No categories"! Why!? And the default code of WP work fine!
    This is the default code:
    <ul class="ul-cat">
    <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>

    Help me! Please! My only question is showing subcategory in sidebar.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags