Title: patrickw's Replies | WordPress.org

---

# patrickw

  [  ](https://wordpress.org/support/users/patrickw/)

 *   [Profile](https://wordpress.org/support/users/patrickw/)
 *   [Topics Started](https://wordpress.org/support/users/patrickw/topics/)
 *   [Replies Created](https://wordpress.org/support/users/patrickw/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/patrickw/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/patrickw/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/patrickw/engagements/)
 *   [Favorites](https://wordpress.org/support/users/patrickw/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 39 total)

1 [2](https://wordpress.org/support/users/patrickw/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/patrickw/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/patrickw/replies/page/2/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Syndicate Links List](https://wordpress.org/support/topic/syndicate-links-list/)
 *  Thread Starter [patrickw](https://wordpress.org/support/users/patrickw/)
 * (@patrickw)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/syndicate-links-list/#post-427429)
 * Any ideas?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Template Tag Issues](https://wordpress.org/support/topic/template-tag-issues/)
 *  Thread Starter [patrickw](https://wordpress.org/support/users/patrickw/)
 * (@patrickw)
 * [19 years, 12 months ago](https://wordpress.org/support/topic/template-tag-issues/#post-392672)
 * Alright, why it’s working now, I have no idea, but I went back and rewrote all
   the templates for the pages, the home.php and the header.php.
 * Anyway, here is what my new title tag looks like:
 * `<? bloginfo('name'); if(is_home()) { echo ': home'; } elseif(is_single()) { 
   echo ': journal:'; echo strtolower(wp_title('', 0)); } else { echo ':'; echo 
   strtolower(wp_title('', 0)); } ?>`
 * For all of you out there who aren’t coders, this is what it does:
 * This goes in the title tag.
    1) Prints the name of the blog 2) If it is the homepage,
   it appends ‘: home’ to the end of the title tag, so now the home page looks like:`
   sitename: home`. 3) If it is not the home page, but it is a single blog post (
   see: is_single()), it will append ‘: journal:’ and the post name to the end of
   the title after the blog name has printed so it looks like: `sitename: journal:
   post title`. The strtolower also takes the title of the post and converts it 
   to all lowercase, just for aesthetics. 4) If the parameters dont match any of
   the above circumstances, then, just return the title of the page after it has
   been converted into lowercase.
 * Anyway, thanks for your help.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Template Tag Issues](https://wordpress.org/support/topic/template-tag-issues/)
 *  Thread Starter [patrickw](https://wordpress.org/support/users/patrickw/)
 * (@patrickw)
 * [19 years, 12 months ago](https://wordpress.org/support/topic/template-tag-issues/#post-392453)
 * Alright, after some more testing, it seems to work on pages using the default
   template. The two pages I was testing were using a template. One being the home.
   php and then the whole:
 * `<?php query_posts('cat=-0'); //gets all posts
    load_template( TEMPLATEPATH .'/
   index.php'); //loads index ?>
 * I am going to play with the other pages, see what’s going on.
 * To answer your questions, I can’t give out the url just yet and I am running 
   the latest.. 2.0.2
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Template Tag Issues](https://wordpress.org/support/topic/template-tag-issues/)
 *  Thread Starter [patrickw](https://wordpress.org/support/users/patrickw/)
 * (@patrickw)
 * [19 years, 12 months ago](https://wordpress.org/support/topic/template-tag-issues/#post-392447)
 * Each page renders the title of the window:
 * `sitename`
 * Each post renders the title of the page:
 * `sitename » Post Name`
 * Any other ideas?
 *   Forum: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
   
   In reply to: [Can I use WordPress to create a blogging site ..like say Blogger](https://wordpress.org/support/topic/can-i-use-wordpress-to-create-a-blogging-site-like-say-blogger/)
 *  [patrickw](https://wordpress.org/support/users/patrickw/)
 * (@patrickw)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/can-i-use-wordpress-to-create-a-blogging-site-like-say-blogger/#post-362239)
 * Check out [http://mu.wordpress.org/](http://mu.wordpress.org/). It’s WordPressµ(
   µ is pronounced mu and mu being Multi User).
 * That should get you off the ground.
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [I’m on 1.5 and want to keep content](https://wordpress.org/support/topic/im-on-15-and-want-to-keep-content/)
 *  [patrickw](https://wordpress.org/support/users/patrickw/)
 * (@patrickw)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/im-on-15-and-want-to-keep-content/#post-362236)
 * Don’t do the install, perform the upgrade. Once you’ve uploaded the new files
   go to:
 * `*install-dir*/wp-admin/upgrade.php`
 * If I remember correctly that is the page which will upgrade your installation,
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to put adsense between posts](https://wordpress.org/support/topic/how-to-put-adsense-between-posts/)
 *  [patrickw](https://wordpress.org/support/users/patrickw/)
 * (@patrickw)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/how-to-put-adsense-between-posts/#post-321144)
 * This will put your adsense code at the end of each post on your main homepage.
 * Open up your index.php inside of your template directory and add the adsense 
   code here:
 * <div class=”entry”>
    <?php the_content(‘Continue reading…’); ?> </div> <!– Put
   your adsense code here. –>
 *   Forum: [Alpha/Beta/RC](https://wordpress.org/support/forum/alphabeta/)
    In 
   reply to: [Upgrade Problem in RC3](https://wordpress.org/support/topic/upgrade-problem-in-rc3/)
 *  [patrickw](https://wordpress.org/support/users/patrickw/)
 * (@patrickw)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/upgrade-problem-in-rc3/page/2/#post-299296)
 * Yep, no problem. Let me know how it goes.
 *   Forum: [Alpha/Beta/RC](https://wordpress.org/support/forum/alphabeta/)
    In 
   reply to: [Upgrade Problem in RC3](https://wordpress.org/support/topic/upgrade-problem-in-rc3/)
 *  [patrickw](https://wordpress.org/support/users/patrickw/)
 * (@patrickw)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/upgrade-problem-in-rc3/page/2/#post-299284)
 * rprins: Have you tried modifying the password in the database? If that doesn’t
   work then you can always install fresh and import your comments/posts via WP2’
   s import function.
 * Or you can also do it manually with the database. This is what I recommend simply
   because it imports everything. Here’s how:
 * Backup these tables in their own files (as in each table has their own file):
 * NOTE: This is from your UPGRADED wordpress install. Just backup the posts comments
   and such I listed from your UPGRADED WORDPRESS 2 Install. Not the wp1.5 one.
 * wp_categories
    wp_comments wp_post2cat wp_posts
 * Assuming you kept the default prefix. Then, open each file (notepad isn’t great,
   so I recommend Notepad2 from [http://www.flos-freeware.ch/notepad2.html](http://www.flos-freeware.ch/notepad2.html).
 * Once each file is opened, use the replace function and replace ‘wp’ or whatever
   the old prefix was and then have notepad2 search and replace ‘wp’ with the new
   prefix.
 * Then delete the ‘wp_categories, wp_comments, wp_post2cat, and wp_posts’ tables
   from your database and then import each of the modified files back into the new
   fresh install database.
 * This will import your posts/comments/categories and such into the new install
   with a working password. Your settings will be lost but you can easily fix those
   via wordpress’s admin interface.
 * Hope that helps.
 *   Forum: [Alpha/Beta/RC](https://wordpress.org/support/forum/alphabeta/)
    In 
   reply to: [Upgrade Problem in RC3](https://wordpress.org/support/topic/upgrade-problem-in-rc3/)
 *  [patrickw](https://wordpress.org/support/users/patrickw/)
 * (@patrickw)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/upgrade-problem-in-rc3/#post-299255)
 * This is probably the 5th or 6th time I’ve backed up, reloaded, upgraded and installed
   wp2.
 * Finally it’s working. Here’s what I did.
 * Leave your 1.5.2 WP intact. Make sure that the 1.5 wordpress install is in the
   directory that you want WP2 to be installed to.
 * Backup your database just in case. In fact, back it up twice or three times just
   to make sure you always have a copy.
 * Make sure you are still logged into your 1.5.2 install. It will have the cookies
   and such still intact so there is no need to login again. Do not logout.
 * Move the 1.5.2 contents into a directory that you create. (Mine happened to be
   named /old/).
 * Upload WP2 to the / directory where 1.5.2 was installed. Now your directory structure
   should look like: /wp-content/, /wp-admin/, /wp-includes/, /old/
 * Navigate to [Wordpress install here]/wp-admin/upgrade.php
 * You might (probably will) recieve the error:
 * WordPress database error: [Table ‘yourdbname.wp_usermeta’ doesn’t exist]
    SELECT
   meta_key, meta_value FROM wp_usermeta WHERE user_id = ‘1’
 * Ignore it. Click upgrade.
 * You will probably still see that same error on the second page. Just ignore it.
   If you see no other errors then click continue to go to your site.
 * Now, you might possibly see a totally blank page. I did. Now, go to /wp-admin/.
   No need to login since you were already logged in. Hopefully this should stop
   the password issues you had.
 * Click on the presentation tab and since your old theme isn’t compatible (at least
   mine wasnt) wordpress will default to the default theme.
 * Now go to your site homepage and everything should be fine.
 * I was having lots of trouble and this is what solved it all for me. (Note: This
   is exactly what I did, if it doesn’t work for you, sorry, I can try to help but
   I can’t promise that what I say will work).
 * Also, if you screw up your database and you didn’t backup, it’s not my fault.
 * If you still are having password issues, you can always manually change the password
   by hand in the database.
 * (This is in phpMyAdmin)
 * Navigate to:
    wpdatabase > wp_users Click Browse and find the user ‘admin’. Click
   on the little ‘Pen’ icon. Go down until you find the user: user_pass
 * Use this little tool:
    [http://pajhome.org.uk/crypt/md5/](http://pajhome.org.uk/crypt/md5/)
 * To MD5 hash your new password and stick it in that field.
    Save the changes and
   relogin to your wordpress with your new password.
 * Enjoy. Once again, if you screw up your database and you didn’t backup, it’s 
   not my fault.
 * Edit: I realize the reason my theme wasn’t compatible was because I forgot to
   move it to the new WP install.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Wipe out WordPress but retain posts and comments](https://wordpress.org/support/topic/wipe-out-wordpress-but-retain-posts-and-comments/)
 *  Thread Starter [patrickw](https://wordpress.org/support/users/patrickw/)
 * (@patrickw)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/wipe-out-wordpress-but-retain-posts-and-comments/#post-274665)
 * *hugs vkaryl*
 * Thank you so much. Posts are working, all the problems are fixed, and now my 
   site is a step nearer for the css reboot. Thanks alot!
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Installation Help Please](https://wordpress.org/support/topic/installation-help-please-1/)
 *  [patrickw](https://wordpress.org/support/users/patrickw/)
 * (@patrickw)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/installation-help-please-1/#post-276263)
 * Well, you obviously have everything in the wp-config.php correct or wordpress
   wont even install. I suggest you open up PHPMyAdmin and totally delete that wordpress
   install from your database. Then reinstall. Dont need to delete the files, just
   all the wordpress stuff in the database.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Organizing Blog Material – How to Intelligently Topic](https://wordpress.org/support/topic/organizing-blog-material-how-to-intelligently-topic/)
 *  [patrickw](https://wordpress.org/support/users/patrickw/)
 * (@patrickw)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/organizing-blog-material-how-to-intelligently-topic/#post-276262)
 * Just copy and paste the content in the page and paste it in wordpress. I guess
   you could also write something to do it.. and then have people just put their
   thoughts in the comments. No need for new blogs each time
 * Did I misunderstand?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress with Php Include.](https://wordpress.org/support/topic/wordpress-with-php-include/)
 *  [patrickw](https://wordpress.org/support/users/patrickw/)
 * (@patrickw)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/wordpress-with-php-include/#post-276261)
 * Umm, why do you have the if(!$_server stuff. can you just have the include by
   itself and then if needed, include the wp-blog-header.php too?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Wipe out WordPress but retain posts and comments](https://wordpress.org/support/topic/wipe-out-wordpress-but-retain-posts-and-comments/)
 *  Thread Starter [patrickw](https://wordpress.org/support/users/patrickw/)
 * (@patrickw)
 * [20 years, 6 months ago](https://wordpress.org/support/topic/wipe-out-wordpress-but-retain-posts-and-comments/#post-274652)
 * Anyone have any ideas?

Viewing 15 replies - 1 through 15 (of 39 total)

1 [2](https://wordpress.org/support/users/patrickw/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/patrickw/replies/page/3/?output_format=md)
[→](https://wordpress.org/support/users/patrickw/replies/page/2/?output_format=md)