Mike
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Help with <?php if ($cat) { ?>It depends where you put that code(should be in your header). You could also try an echo statement like this:
'<?php if ($cat) {
echo <<<END
<style type="text/css">
.img_main {
border-style: none;
border:1px solid #E8E8E8;
padding: 6px;
margin-bottom: -10px;
margin-top: -10px;
width: 95px;
height: 95px;
}</style>
END;
} ?>'
though I think that your code should do the same.Forum: Your WordPress
In reply to: recent migration to WPForum: Plugins
In reply to: Custom ContentYes. You would need to create files that can connect and modify the new table. Like add-quote.php, edit-quote.php, etc. You could easily integrate this into index.php with another include at the top, like:
<?php include("wp-blog-header.php");
include("quotes.php"); ?>
Quotes.php would contain all the functions/calls you need, so that somewhere on index.php you could call say:
<?php random_quote(); ?>
“Simple” as that:).Forum: Requests and Feedback
In reply to: Email Post to someoneForum: Requests and Feedback
In reply to: Email Post to someoneWould you mail it as you post it, or is it an options after the entry is posted?
Either way though, this would be a fairly easy plug-in to write.Forum: Requests and Feedback
In reply to: Modules?Actually, it should be:
<?php include(filename.ext) ?>That extension is important.Forum: Everything else WordPress
In reply to: WordPress Hosting AccountConsumer alert: check out these plans first.
Forum: Themes and Templates
In reply to: Changing written code…If by ‘new topic’ you mean, new title of a blog entry, then index.php. Look for
<?php the_title(); ?>Forum: Themes and Templates
In reply to: listsForum: Fixing WordPress
In reply to: Linking two blogsThe best way is through your RSS feeds. Magpie works very well. If your photolog uses the excerpt field for thumbs, then you should be able to display them on your other blog (because excerpts can show up in your rss files).
Forum: Fixing WordPress
In reply to: Align Rightin your stylesheet add:
.meta {
text-align: right;
}
This should work.Forum: Installing WordPress
In reply to: wp-config.phpThe db name should be what your host gave you. The one you have there will not work…that is a url. I also suspect that the user is wrong. It is possible that the names could be like this:
yourdomain_username
yourdomain_dbname
Many hosts set up mysql databases like the above. I would contact them about this issue.Forum: Fixing WordPress
In reply to: Display recent postsOk, just checking! Thanks.
Forum: Your WordPress
In reply to: Redesign(s)Nm, I think I know what you are talking about…so it’s all fixed. More criticism!! 🙂
Forum: Your WordPress
In reply to: Redesign(s)Which shadow?