colleenrobledo
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Function/use of Queries and LoadsIs that the number of times the current page has been loaded? Because that is what we’re hoping for.
I am looking looking at some stat plugins. Thanks!
Forum: Fixing WordPress
In reply to: Remove date/time on static pagesWorked great! Thanks so much!
Forum: Fixing WordPress
In reply to: Remove date/time on static pagesGot it. That does make sense. Will give it a try. Thanks!
Forum: Fixing WordPress
In reply to: Remove date/time on static pagesThe index.php file under this particular theme doesn’t appear to call in any pages, just posts… so I’m not sure how to modify the calls to function for pages w/o modifying it for all the posts. Thanks.
\
<?php
get_header();
?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class=”entry”>
<h2 class=”entrydate”><?php the_date() ?></h2>
<h3 class=”entrytitle” id=”post-<?php the_ID(); ?>”>” rel=”bookmark”><?php the_title(); ?></h3>
<div class=”entrybody”>
<?php the_content(__(‘(more…)’)); ?>
<p class=”comments_link”>
<img src=”<?php bloginfo(‘stylesheet_directory’); ?>/images/file.gif” title=”file” alt=”*” />
<?php _e(“Filed by”); ?> <?php the_author();?> <?php _e(“at”);?> <?php the_time() ?> <?php _e(“under”);?> <?php the_category(‘,’);?><br/>
<?php
$comments_img_link = ‘<img src=”‘ . get_stylesheet_directory_uri() . ‘/images/comments.gif” title=”comments” alt=”*” />’;
comments_popup_link(‘No Comments’, $comments_img_link . ‘ 1 Comment’, $comments_img_link . ‘ % Comments’);
?></div>
<!–
<?php trackback_rdf(); ?>
–>
</div><?php comments_template(); // Get wp-comments.php template ?>
<?php endwhile; else: ?>
<?php _e(‘Sorry, no posts matched your criteria.’); ?>
<?php endif; ?><?php posts_nav_link(‘ — ‘, __(‘« Previous Page’), __(‘Next Page »’)); ?>
</div>
</div><!– The main content column ends –>
<?php get_sidebar(); ?>
<?php get_footer(); ?>\
Forum: Fixing WordPress
In reply to: Remove date/time on static pagesI’m using the Gentle Calm theme, and I don’t find any file anywhere in this theme, the wp-content directory, or the main wp directory titled “page.php”.
Forum: Fixing WordPress
In reply to: Remove date/time on static pagesWill this remove the date/time on my post pages as well, or just the static pages? Thanks!
Forum: Your WordPress
In reply to: WordPress database error:You’re awesome! I repaired it. Super easy and fast.
I’m new to MySQL and PHP (always used Blogger blogs in the past), so I wasn’t sure what to do. I am 3 weeks into an Intro PHP and MySQL class, though, so that should help.
I’m bad though, and haven’t been backing up my blog regularly… so I’ll now make that a daily process.
Thank you!
Colleen RobledoForum: Your WordPress
In reply to: WordPress database error:Argh! I received this same exact error message tonight, when I was using the built-in upload feature to upload photos to one of my blog static pages. As soon as I clicked on the Save and Continue Editing button. I’ve had no problem with this feature at all today, until now.
Now my entire blog is down, and these errors appears everywhere:
WordPress database error: [Got error 127 from storage engine]
SELECT * FROM wp_posts WHERE post_status = ‘static’ ORDER BY post_title ASCWordPress database error: [Got error 28 from storage engine]
SELECT DISTINCT * FROM wp_posts LEFT JOIN wp_post2cat ON (wp_posts.ID = wp_post2cat.post_id) WHERE 1=1 AND (category_id = 4) AND post_date_gmt <= ‘2006-09-10 06:19:59’ AND (post_status = “publish”) AND post_status != “attachment” GROUP BY wp_posts.ID ORDER BY post_date DESC LIMIT 0, 10WordPress database error: [Got error 127 from storage engine]
SELECT DISTINCT YEAR(post_date) ASyear
, MONTH(post_date) ASmonth
, count(ID) as posts FROM wp_posts WHERE post_date < ‘2006-09-09 23:19:18’ AND post_date != ‘0000-00-00 00:00:00’ AND post_status = ‘publish’ GROUP BY YEAR(post_date), MONTH(post_date) ORDER BY post_date DESCMy blog is located at:
https://www.colleenrobledo.info/wp/Thanks,
Colleen Robledo