• Hi:

    I’m still new to WordPress. I have the site up and working pretty well, including the Exhibit image plug-in. I have installed the Kubrick theme and all is good.

    I ran into a question about writing and managing pages. When I do a page (as opposed to a post), where do those things go? I cannot find anywhere on my site that they are displayed. I cannot find any settings in the page management tool to post the pages, either. Do they exist anywhere other than in the admin section?

    Ideally, I’d like to write a page that I will leave on my index as a welcome message. As I understand things, posts, being dated, will drop off the index after a few other posts have been made, so a page should do the trick.

    I have read some of the posts about static content, and that would be ok, but I would also like recent posts to be on the index, as well.

    Can anyone help me? And, yes, I have searched the archives. I haven’t found anything helpful. Perhaps I was looking for the wrong search terms.

    TIA,

    Jason

Viewing 4 replies - 1 through 4 (of 4 total)
  • Posts & Pages are treated differently. Eventualy, there will be a function you can call that will list your pages, much the way the category list links works, but at the moment, AFAIK, it has not been implemented yet. Which means that inorder to build a list of links to your pages, you have to do it by hand.

    Go into the Manage Pages screen, and click the “View” link for the page you want to link to. Copy the URL from the address bar when the page appears, then edit your menu (where ever it may be) and add the link copied. You’ll need to do this for each page you want to link to.

    To get one of these to show on the main page (instead of the posts) is going to take a little more work and involve editng the index.php file.

    Tg

    Thread Starter jvswan

    (@jvswan)

    Thanks for the information. It will be nice when the pages can be managed like the posts. I guess I’ll crack into the index a bit and see if I can talk it into displaying the page information.

    Thanks again.

    Jason

    Ideally, I’d like to write a page that I will leave on my index as a welcome message. As I understand things, posts, being dated, will drop off the index after a few other posts have been made, so a page should do the trick.

    I don’t think pages were meant to function like that. On your “index” there will be only the posts, unless you hardcoded something else. The page feature was introduced after en masse rquests for so-called static pages, for things like About me, Contact, etc. I am not sure how would you go to have on the same page the content of a “page” and the posts in the same time. (Though by tweaking WP you can achieve all kind of strange stuff ??

    I am using a 1.5 nightly build of WordPress (from 3rd January 2005) and I have started playing around with pages.

    Does anybody know if there are any functions available that will return the full name of the current page, list the child pages under the current page and so on?

    As an aside, I have written a little rewrite rule that automatically redirects to pages within WordPress. This sits in a .htaccess file in my web root:

    RewriteCond %{REQUEST_URI} ^.*/$
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*/)?(.*)/$ /blog/index.php?pagename=$2 [QSA,L]

    The first RewriteCond checks whether the requested URI ends with a “/” character. The second checks whether the URI refers to a directory that exists. If it does not, then the RewriteRule gets invoked to redirect to the appropriate page in WordPress. This saves having to continually edit the WP .htaccess file as new pages are created.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Page Management’ is closed to new replies.