• How do I create pages? If I try to make them using WordPress, then how would I add my menu?

    If I try to make them manually, copy and pasting all that code in index.php to other page files, I get an error.

    Please have a look at my site here: https://xeenat.com/wordpress

    Having a really hard time with WordPress. ?? >.<

    Any help will be greatly appreciated. Thank you.

Viewing 15 replies - 1 through 15 (of 18 total)
  • In the Admin section go to Write->Pages.

    Here is where you create pages. Choose post-slugs that are descriptive of the page, such as “archives”, “contact me” and so on. When you create them, WordPress will automatically update your .htaccess file to allow access to them.

    In your template for the menu, you would then just reference <yourdoamin.com>/archives or <yourdomain.com>/about and so on.

    Visit https://codex.www.ads-software.com/pages for more details.

    And in general https://codex.www.ads-software.com is the best place to start off in learning the basics of WP.

    Regards

    Thread Starter bk

    (@bk)

    Sorry, but what are post-slugs? There is a page-slug option. And I don’t get the <yourdomain.com> part?

    Sorry, I’m new to PHP and WordPress. ??

    A post or Page slug is basically the same: the title of a post or Page in a format for use in the url. In WordPress there are two types of permalinks (links to specific content in your blog) you can have: the default, which would be something like index.php?p=10, or custom “cruft-free,” “pretty” permalinks, which make use of elements like the ‘slugs’ to provide a more human-readable link.

    By <yourdomain.com> Cypher means your web site address: https://xeenat.com/ . In other words, your domain.

    Thread Starter bk

    (@bk)

    Okay. I made a page for the site. It’s called “Designs.” Please take a look over here : https://www.xeenat.com/wordpress/?page_id=9

    Cypher says that add https://xeenat.com/thelink in my template menu. But that template is in the index.php file.

    There is no file for this particular “Designs” page so how would I add the menu?

    Take a look at this site : https://ganai.com. He’s a friend of mine and he said that all his other pages are made using Notepad instead of WP except for the Index page. When I try to do that, I get an error.

    Can’t I do that? Wouldn’t that be easier? :S

    Thank you…

    Your theme is based on the Default (Kubrick) which doesn’t have sidebar (menu) in the page template.
    Open the header.php file of your blog and find this line:
    <?php /* Checks to see whether it needs a sidebar or not */ if ((! $withcomments) && (! is_single()) && (! is_page())) { ?>
    delete the part referring to pages:
    && (! is_page())
    and you’ll have a sidebar on your Pages.

    Thread Starter bk

    (@bk)

    https://xeenat.com/wordpress

    I am talking about the horziontal menu. The brown colored one. Not the sidebar menus.

    How did you insert it into your index.php (main template)? Do the same for the page.php.

    Thread Starter bk

    (@bk)

    Moshu, you are god! One more question, now how do I make it so it displays on the comments page?

    Thank you so much for your help. This is site is really coming along. Thank you.

    For the “comments page” – correctly: single.php – do the same in single.php as you did for the Page template.
    And repeat it in the archive.php for the monthly archives. (Warning: there is another file with a similar name – archives.php – do NOT touch that one; only the one with the “singular” name ??

    Edit. I know it’s too late for this, but maybe for your next theme you should read this to understand which template is used for different views ??

    Thread Starter bk

    (@bk)

    Thanks Moshu. ?? Thank you very much for your help. ??

    Thread Starter bk

    (@bk)

    Moshu or if anyone else knows, how do I get rid of the “Xeenat Blog” text on the header? I do want it so it displays in everyone’s Browser Window, but I don’t want it on my header image? And it’s in the footer also?

    How do I get rid of it? And is there any way I can have individual titles for the different pages? If not, then it’s perfectly fine. ??

    This was a page related problem so I’m not starting a new thread.

    Thank you.

    The template tags in WP have pretty intuitive names!
    So, perusing your header.php will show you where do you want to keep the “bloginfo” stuff and where do you want to delete it.
    More details: https://codex.www.ads-software.com/Template_Tags/bloginfo

    Thread Starter bk

    (@bk)

    Thank you. It worked. ??

    But on the comments page, I don’t want the “Blog Archive” part in the title. How do I get ride of it? See here: https://www.xeenat.com/wordpress/?p=6#comments

    Thanks.

    Thread Starter bk

    (@bk)

    *bumps*

    What do you have in your header.php between the <title> tags?

    See https://codex.www.ads-software.com/Template_Tags/wp_title for information on formatting page titles to your liking.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Adding New Pages’ is closed to new replies.