jonathanwagner
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Linking to uploads – can it be done? If so, how?The default path is wp-content/uploads. For instance, if I wanted to link to a solar panel photo I uploaded last month, the direct link would be http://jonathanwagner.net/wp-content/uploads/2006/07/solarPanel3.jpg since my WordPress installation is located in the root folder of my web directory. If your WordPress installation is in a subdirectory such as /blog then the direct link would be something like http://yoursite.com/blog/wp-content/uploads/2006/08/image.jpg
Forum: Fixing WordPress
In reply to: New User Registration…You could disable user registration by unchecking the “Anyone can register” box under Options->General. Then have them email you to create an account which you then create under Users->Authors & Users with the password of your choice. It may be just easier to stick with the WordPress generated passwords though.
Besides, I thought passwords were asexual.
Forum: Fixing WordPress
In reply to: echo the excerpt without p tags aroundTry the_excerpt_rss() like this:
<meta name="description" content="<?php the_excerpt_rss(); ?>" />It strips the
<p>tags but doesn’t seem to strip others. For example I had an<abbr>make it through which kind of messed things up a little.Of course, you’ll want to put a conditional statement in there to only use the post excerpts for single post pages. Otherwise the first text (usually from the first post) will get posted as the description of your homepage.
Edited for clarity.