Christopher J. Hradil
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Adding buttons like Digg above each post?see the socialize plugin in the extend area.
Forum: Fixing WordPress
In reply to: ~~let others link to my post~~you can use template tags (see the template tags section in the wp codex) to output the correct link, then wrap some text or javascript around it depending if you want folks to be able to either copy or bookmark it.
Forum: Fixing WordPress
In reply to: How to embed images into sidebaryou can either use simple html to link to your image (you will probably need to create a new
liinside of an existingulto hold it, or a newul li) or you can use a small bit of php in your sidebar to select the correct image if it changes.Forum: Installing WordPress
In reply to: Blog direct from my main website?you should be able to install wp on your own in the root of your site, find a theme you can work with in the extend area, then go from there.
Forum: Fixing WordPress
In reply to: From wp.com, need simple first theme to get startedunfortunately, you’ll need to start by finding something you can work with in the wp.org extend area, otherwise start creating your own from scratch.
Forum: Developing with WordPress
In reply to: WordPress as CMS for root with blog at /blogcreate a directory called blog, set appropriate permissions, copy all reqd’ wp files there, do another wp install, using the same db as the ‘main’ site – you’ll just need to set a different db table prefix in wp-config.php, don’t forget to create .htaccess and set correct permissions in /blog as well.
good luck, it should be pretty easy.
Forum: Themes and Templates
In reply to: overriding servers directories..thingthere are really only three things you can do;
1) and 2) change categories or directories so there’s no conflict.
3) add something to the permalink url structure /something in order to eliminate the conflict.
.htaccess and re-writes work by ‘ignoring’ physical files or directories – that’s why they take priority over wp permalinks.
also, wp permalink/re-write functionality is somewhat ‘broken’ by default, example, category permalinks contain /category or some other string in order to avoid these conflicts internally, but this breaks in the case where your /cat/post structure matches either some physical files/directory structure or your wp page/subpage structure, example a page named /cat with a sub-page named /page will ‘break’ permalinks where a category /cat and a post /page for /cat/page.
on most of our wp installations we have altered the core wp code for re-writes in order to eliminate the extra /category part.
we just make sure to manage posts and pages so that the permalinks avoid conflicts. the url’s are much shorter and cleaner this way.
Forum: Fixing WordPress
In reply to: Sidebar lists shifting to right in Firefox, in Traveloguelooks like that’s just differences in the way ff and ie handle padding, margins and nesting/cascade of css. if you’re using %’s for sizes, ‘auto’, or float, they’d be the most likely culprits.
Forum: Themes and Templates
In reply to: Widgetizing 2 non standard sidebarsyou might consider something as simple as creating a variable for your css classes, then having either the right or left class dynamically update per request, this way you can use one set of code that’s somewhat in line with what’s standard.
Forum: Installing WordPress
In reply to: permanant redirectif using permalinks, you’ll need one re-write rule per post in order to maintain any inbound google or other links,
i’d be careful with 301’s and google though, we’ve seen this cause some problems once in a while, especially if the new content conflicts with what google has previously indexed for that url.
we’ve found that patience with regards to google (or any engine for that matter) results in everything properly indexed with PR, etc. i’d suggest the google sitemap and crawl page plugins be used simultaneously and will produce great results.
Forum: Installing WordPress
In reply to: Access denied for google sitemapslooks like a file permissions issue, make sure the sitemap file (and directory it lives in) are both readable and writeable by the webserver.
Forum: Fixing WordPress
In reply to: WP cluttered after moving to new hostwe’ve been doing a bunch of moving sites around from test/development servers to production, etc. and have found that the following make for about the easiest transition we could hope for:
1) make sure both servers are running the same exact version of WP, mySQL, php, etc.2) do a SQL dump of the DB from phpMyadmin and import that rather than use the wp import/export feature – this is especially important for large sites, including those which may have undergone a couple of WP ‘upgrades’ along the way
3) in developing the site, be sure and use relative url’s for things like images, etc, unless you feel like doing potentially lots of editing later on.
4) make sure both WP installations have the same plugins (and versions of them) installed before importing site materials.
any questions, send to
Christopher J. Hradil chradil@comcast.net, http://hradil.usbest..c
Forum: Themes and Templates
In reply to: Validation error (WordPress problem or me?)you might consider changing to an xhtml doctype as a first step, i took a quick look and didn’t notice anything out of the ordinary
Forum: Themes and Templates
In reply to: Page Titles not Changingsounds like you may be editing the wrong header.php file, make sure the one you’re working with is the one that belongs to the theme you’re using.
Forum: Fixing WordPress
In reply to: .htaccess – moved to root – redirectit’s possible to do that, but (depending on how many old posts you have) can be a real pain. if it’s a large site your best bet would likely be just re-direct everything to the root of the new site like:
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule . http://new.site.url/index.php [L] </IfModule>you could also get fancy, and change things to a 301 permanant re-direct, but that’s the easy way. in order to map old posts to new ones you’d need to have a separate rule for each (assuming you’re using some type of pretty/name based permalinks, if they’re /p?## kinds of links anyway, then you could get away with one rule for each type of request (e.g. pages, archives, categories, etc)