Ben Dunkle
Forum Replies Created
-
In case anyone needs this, here’s what I did:
$postid=$post->ID; $date = get_post_meta($postid, 'Concert Date', true); $dateparts=explode("/", $date); $date = date( 'F j', mktime(0, 0, 0, $dateparts[0], $dateparts[1]) );
now when I echo $date I get it in the format I want!
I’d like to know this as well.
I looked at the user in cpanel; it had all privileges EXCEPT execute checked. I checked it, update the user, but when I check the user again it’s unchecked. Maybe that had something to do with the error…
Anyway, I exported my blog, dropped all the tables, reinstalled wordpress, inported the blog xml file, and repeated the multisite install. Now it works.Forum: Fixing WordPress
In reply to: single.php showing all postsThanks esmi-that did it! I added wp_reset_query() right after endwhile; and now it’s right on.
I’ll definitely look over the codex, I need to get more familiar with this stuff…Forum: Fixing WordPress
In reply to: single.php showing all postsThanks esmi; I’m not using a sidebar per se, it’s built into header.php:
Here’s what I have there:<?php query_posts('category_name=values&showposts=5'); while (have_posts()) : the_post();?> <div class="postEntry" > <div class="date"> <?php the_date('m/d/y');?> </div><!-- end date --> <a href="<?php the_permalink();?>" title="<?php the_title(); ?>" class="title"><?php the_title();?></a> <p><?php excerpt('25'); //content excerpt plugin function ?> </div></p> <?php endwhile; ?>
Forum: Fixing WordPress
In reply to: single.php showing all postsOK, links are fixed-any ideas about why single.php isn’t working?
Forum: Fixing WordPress
In reply to: single.php showing all postsOh, scratch that-I was mucking around and now the links are broken..hold on
Forum: Fixing WordPress
In reply to: single.php showing all postsesmi, can you be more specific? I don’t see any links with href’s containing /wp-content/themes in the nav div…
My single.php file is as simple as can be:
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> <h3><?php the_title(); ?></h3> <?php the_content(); ?> <?php endwhile; // end of the loop. ?>
and it’s definitely being called by the single blog posts.
Forum: Fixing WordPress
In reply to: help me make a simple slideshow!Oh well, I figured it out-pretty cool actually. Ping me if you wanna see what I did.
Forum: Fixing WordPress
In reply to: HTML linebreaks (<BR> tags) in author/user bio section not working$desc=nl2br ($curauth->description); echo $desc;
will translate carriage returns into br tags. You probably don’t want to give users too much control over formatting.
Forum: Networking WordPress
In reply to: Can new sites be password-protected?Andrea,
I downloaded and installed that plugin. I can’t seem to make any changes when I try to edit sites and enter a password for a user, it tells me settings changed but the password field is still blank. If I check Public>No under Site Info, then hit Update Options, again–it just goes away. It seems like there are lots of options scattered among the various areas of the admin, and no matter what I do I can’t password protect the sub directories.Forum: Fixing WordPress
In reply to: How to select which post show on Frontpage?<?php query_posts('cat=1,2'); while (have_posts()) : the_post(); the_content(); endwhile; ?>
where 1 and 2 are the category numbers assigned to useful guild info and interviews
Forum: Fixing WordPress
In reply to: display all usernames as a list of tagsMaybe I can hack the commonly/most used tags list to display usernames. Where does WP get that list from?
Forum: Fixing WordPress
In reply to: Space between thumbnailst31-thx for the padding v. margin points, I’ll keep them in mind!
Forum: Fixing WordPress
In reply to: Space between thumbnailsEdit the style.css file in your theme folder as follows—add this line of code:
.attachment-thumbnail {padding:5px;border:2px solid #ccc}
Customize padding, border width and border color values to your liking. HTH