Wynnefield
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Home page does not display in live siteI downloaded the full site to my local server, and after examining the wp-config file, the database and id no longer matched?? Someone else had changed the database and admin account without realizing its affects on WP. (oops!)
I appreciate your suggestions, esmi.
Thank you,
Wynne
Forum: Fixing WordPress
In reply to: Home page does not display in live siteI am having a problem seeing any home page (index.php). Before downloading the site to a local server, I connected FTP via Dreamweaver.
I changed the index.php page to index_save.php and replaced it with an index.html, which displayed just fine. However, when I changed the name of index.html to index_save.html and returned index_save.php to index.php, I am having all sorts of problems.
I did not touch any configuration pages, database connections, etc. Please advise.
Thank you in advance.
Sincerely,
Wynne
[sig moderated as per the Forum Rules]Forum: Fixing WordPress
In reply to: Lost all links to existing pages after 3.3.1 upgradeThank you so very much, esmi. I sincerely appreciate your time and the rapid response to my question. As soon as I changed the Permalinks setting back to “Default” all the links were immediately repaired!
I will pour through the reference you posted regarding the use of Permalinks before I implement them again. Due to your response, I have one less item on my Web site that needs to be corrected and/or redesigned.
Again, I am grateful for your assistance.
Sincerely,
Wynne
how did you correct these errors? when i upgraded to 3.3.1, i lost About, Archives and any previous page entries via the links on my weblog menu. please see the following and select any link to the right, and it displays a bizarre not found page:
https://weblog.wynnefields.com/
thank you in advance for your assistance.
sincerely,
wynne
Forum: Fixing WordPress
In reply to: Limit number of posts on home page to one (the latest)thank you doodle. i appreciate your extra time spent on this issue. although i am not sure i like the “work around”, i will live with it until i have more time to spend learning the PHP guts of these templates.
i need to work on getting my blog styled before i start digging into these other details. hopefully, there are plenty of id and class definitions in the code to make that task a bit easier than this one.
again, i appreciate your help.
… Wynne
Forum: Fixing WordPress
In reply to: Limit number of posts on home page to one (the latest)Although the original issue is resolved, the home page has now placed a link under the single post as follows: ? Older Entries. And this link takes me to a 404 Page Not Found as it is trying to find a /page/2 entry?
What is this link trying to refer to, and if it is supposed to refer to older posts, why is it not referring to the appropriate page names, e.g. /YYYY/MM/page-title, according to the original posts?
Thank you again for your assistance …
Wynne
Forum: Fixing WordPress
In reply to: Limit number of posts on home page to one (the latest)That was the ticket, doodlebee. Replaced show_posts with showposts and only one post appears on the home page. Thank you muchas.
Wynne
Forum: Fixing WordPress
In reply to: Limit number of posts on home page to one (the latest)I replaced my PHP segment under the XHTML comment with this call to query_posts, and I am receiving the same result, i.e. multiple posts on the home page??
E.g.
<!-- Limit the home page to display only one (the latest) post --> <?php query_posts('show_posts=1'); ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?>
Did you mean insert this call in addition to the PHP segment I have already applied?
ty … Wynne
Forum: Fixing WordPress
In reply to: How to restrict the front page to one blog post?I would like to reopen this discussion for the same purposes as originally intended. I have a programming background, so I thought I could grasp the PHP modifications recommended above.
I can see how the entries above did not work, as the continuation terminator “?>” was excluded from each one (except the example where placed directly within the same PHP segment as the “if (have_posts…”). However, I believe I am inserting this code correctly into the proper index.php file, and it is still not limiting the number of posts on the home page??
I am using WordPress 2.6.3. I found The Loop in the file /wp-content/themes/default/index.php. It is broken up into two PHP segments as follows:
<?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?>
I inserted the following segment directly above the top entry:
<!-- Limit the home page to display only one (the latest) post --> <?php if(is_page('home') && !is_paged()) { query_posts($query_string.'limit=1'); } ?>
However, this is not limiting the number of blog posts to one as previously stated. Could someone please identify where I may be inserting this code incorrectly?
Thank you in advance for your assistance.
Wynne