Wordpress

From Smop.co.uk

Jump to: navigation, search

Not much detail here, just one note:

  • mkdir /usr/share/wordpress/wp-content/upload
  • chown www-data:www-data /usr/share/wordpress/wp-content/upload
  • edited /usr/share/wordpress/wp-content/themes/wp-andreas01-12/style.css, inserting:
/* add pre section to reduce vertical gaps (Adrian) */
#content pre {line-height:1.2em; margin: 0 0 10px 0px;}
  • smilies looked dreadful and broke the formatting, so I edited /usr/share/wordpress/wp-content/themes/wp-andreas01-12/style.css, changing:
#content img,#contentwide img{border:1px solid #d0d0d0;float:left;margin:3px 10px 3px 0;}

to

#content img,#contentwide img{border:1px;margin:3px 3px 3px 0;}
  • edited /usr/share/wordpress/wp-content/themes/wp-andreas01-12/footer.php, inserting:
| <a href="/blog/wp-admin/post-new.php">New Entry</a>

... and later I inserted the Google Analytics stuff.


Update

I updated wordpress from 2.0 to 2.2. It was simple but scary. I installed the new package and my website was basically 404'd :-( I needed to login to the admin page which said "your database is out of date, you need to upgrade it". I clicked the upgrade link and all was good.

Personal tools