joyced
Forum Replies Created
-
Forum: Themes and Templates
In reply to: need help for in attachment.phpAhem, I take that back. Now using this:
<img src="<?php echo wp_get_attachment_url(); ?>" alt="" />
Forum: Themes and Templates
In reply to: need help for in attachment.phpSame question. ^ I just need the image url so I can apply a class to it. Google isn’t helping.
Forum: Fixing WordPress
In reply to: Why is WordPress in a Frameset?Your blog is actually at https://www.heartlandnatural.com/llwn/ you know.
Forum: Fixing WordPress
In reply to: Solution for 2.3 database errors / wp_post2cat does not existI found out that Custom Query String is causing my wp_categories errors. I’d really like to continue using it but Matt Read no longer supports it. Would anyone know what to change to make it work with 2.3?
Forum: Fixing WordPress
In reply to: Blogroll category size won’t changeAdd this to your CSS:
.linkcat h2 {
font-size: 8pt;
}Forum: Themes and Templates
In reply to: How do I change the width for pages up the top?It’s to do with the padding of the links. From your CSS:
#menu ul li a {
font-family: Verdana, Helvetica, Arial, Sans-Serif;
font-size: 13px;
color: #ffffff;
padding: 6px 60px 6px 60px;
margin: 0px 3px 0px 3px;
text-decoration: none;
}#menu ul li a:hover {
color: #ffffff;
padding: 6px 60px 6px 60px;
text-decoration: underline;
}Change 60px to 20px or so and it should all fit.
Forum: Fixing WordPress
In reply to: Displaying only one post per pageUse the Custom Query String plugin.
Forum: Fixing WordPress
In reply to: Comment Permalink not jumpingChange the same part to this then:
<dt class="<?php echo $class; ?>" id="comment-<?php comment_ID() ?>"> <a href="#comment-<?php comment_ID() ?>"><?php echo $commentCount."."; ?></a>
Forum: Fixing WordPress
In reply to: Comment Permalink not jumping<dt class="<?php echo $class; ?>" id="#<?php comment_ID() ?>"> <a href="#<?php comment_ID() ?>"><?php echo $commentCount."."; ?></a>
That should do it.
Forum: Plugins
In reply to: Comment Plugger Plugin QuestionI remember wanting to do that with that plugin. I searched everywhere and found this: https://wordpress.pastebin.ca/625370
I’d give credit but I really can’t remember where I found it. Put that in the plugin file instead and call it like this:
<?php comment_plugger('Commented: ', 25, ', '); ?>
That should do the trick.
Forum: Plugins
In reply to: Extra headlines?Yes, you do it by adding another loop, like so:
<?php query_posts('showposts=20&offset=10'); ?> <ul> <?php while (have_posts()) : the_post(); ?> <li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li> <?php endwhile; ?> </ul>
Forum: Themes and Templates
In reply to: Title in categoriesYes. I do it like this:
<?php query_posts('category_name=books&showposts=5'); ?> <strong><?php single_cat_title(); ?></strong><br /> <?php while (have_posts()) : the_post(); ?> <a href="<?php the_permalink(); ?>"><?php the_title(); ?></a><br /> <?php endwhile; ?>
Change the category name to whatever category you want to show.
Forum: Everything else WordPress
In reply to: I only want registerd users to see my siteHere’s another plugin:
It redirects anyone who isn’t logged in to the login form, so they can’t see the entire site unless they are registered users.
Forum: Fixing WordPress
In reply to: Change link depending on whether there are commentsD’oh. I didn’t realise I could just put the link inside the comments_number function.
The news.html page is probably not supposed to look like this:
https://img338.imageshack.us/img338/7229/surffw2.gif
That’s what it looks like in Opera. I don’t have time to look into it right now but I’m sure someone else does. Just thought I’d let you know because you’re working from that.