tahongawaka
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Can’t login with 1.5Take a look at the database, table wp_options. Make sure that the siteurl and everything else is correct. If you have a .htaccess, move it & see if that helps. Don’t know if these will work for you, but it may give you a clue as to what is going on.
Forum: Fixing WordPress
In reply to: adding to sidebarTry changing
get_links('-1'...)
toget_links_(-1...)
to see if anything changes. The first parameter should be an integer, not a string.Forum: Fixing WordPress
In reply to: 1.5 UpgradeThis is usually caused by an extra carriage return or a space as the first character of the pages. Make sure the very first characters in all your files is
<?php
Forum: Fixing WordPress
In reply to: create my separate pagesIf you are using 1.5, all you need to do (in most cases) is go to the Write Pages part of your dashboard & write away. If you’re using the permalink structure, after you create the page you’ll have to update the permalinks, but it will be worth it. If you want a template for it, copy the index.php in your theme directory to pages.php and gut “The Loop.” There are details in the codex, but it appears to be down right now.
My Loop looks like this in pages.php:
<?php if (have_posts()) : while (have_posts()) : the_post();?>
<div class="post">
<h2 id="post-<?php the_ID(); ?>"><?php the_title();?></h2>
<div class="entrytext">
<?php the_content('<p class="serif">Read the rest of this page
»</p>'); ?>
</div>
</div>
<?php endwhile; endif; ?>In most cases, this would be better than creating pages in your root directory, as they would be updated with your themes.
Forum: Fixing WordPress
In reply to: URGENT: Deleting or Reset of Page IDs and Orders.Sorry, I’m not snapping at the member, just the use of the word and caps of “URGENT:”
Forum: Fixing WordPress
In reply to: <!–more–> not workingI’ve just upgraded from 1.2, and have some posts that contain the
<!--more-->
tag. On the permalinked page for the post, I’m getting nothing above the<!--more-->
but when I switched to some of the packaged themes for 1.5, the page is working correctly. I checked the differences between the two themes is that in my converted theme, the_content() was called with a second parameter, and the new themes only have one parameter. I removed the second parameter from my converted theme, and all is working now.See if this will fix your problem.
Forum: Fixing WordPress
In reply to: URGENT: Deleting or Reset of Page IDs and Orders.To reset the page IDs, you will need to either drop the table and recreate it, or try some of the tips found here: https://dev.mysql.com/doc/mysql/en/example-auto-increment.html
Your lack of using google to search for resetting auto_increment fields in a mysql database does not constitute urgency on my part.
Forum: Fixing WordPress
In reply to: C-code gives some problems with tagsInstead of using
#include <stdio>
, try using the htmlentities for the<
as < and>
as >Perhaps someone might be able to produce a hack of the WordPress code to not close tags within the code tags.