leftoutshadow
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: gallery shortcode not working?same here…. would love to know a work around, thanks
Forum: Fixing WordPress
In reply to: Is there a way to have a Comment box Showis this kind of what you guys are looking for? Cause I’m just want something simple like this also.
https://www.treverhoehne.com/blog/2010/01/21/harvest-album/#comments
anyone know how to make this?
Forum: Fixing WordPress
In reply to: How to remove page titlesForum: Plugins
In reply to: | Comment Scroll Box? | Anyone know what this is?anybody know a comments.php or plugin that does this?
Forum: Fixing WordPress
In reply to: Can I remove this in the messages?wow, i should have seen that. Thanks for the quick response alchymyth!
Forum: Fixing WordPress
In reply to: Can I remove this in the messages?also deleted the recommended sections of single.php from the default theme just in case
Forum: Plugins
In reply to: | Comment Scroll Box? | Anyone know what this is?I’m pretty sure its java based considering the latest WP update supports it.
Amateur thoughts
Forum: Fixing WordPress
In reply to: Can I remove this in the messages?having the same problem only my single .php only includes
<?php get_header(); ?> <div id="primary-content" class="narrowcolumn"> <?php include (TEMPLATEPATH . '/theloop.php'); ?> <?php comments_template(); ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>
and so i figure its either going to my loop or comments template.
Heres both.
Loop:
<?php /* This is the loop, which fetches entries from your database. It is a delicate piece of machinery. Be gentle! This structure originally comes from the Great K2 theme: https://getk2.com */ ?> <?php /* Headlines for archives */ if ((!is_single() && !is_home()) || is_paged()) { ?> <h2 class="pagetitle"> <?php if (is_category()) { printf(__('Archive for the \'%s\' Category', 'rgb'), single_cat_title('', false)); } elseif (is_day()) { printf(__('Archive for %s', 'rgb'), get_the_time(__('F jS, Y', 'rgb'))); } elseif (is_month()) { printf(__('Archive for %s', 'rgb'), get_the_time(__('F, Y', 'rgb'))); } elseif (is_year()) { printf(__('Archive for %s', 'rgb'), get_the_time(__('Y', 'rgb'))); } elseif (is_search()) { printf(__('Search Results for \'%s\'','rgb'), attribute_escape(stripslashes(get_query_var('s')))); } elseif (function_exists('is_tag') && is_tag()) { if (function_exists('single_tag_title')) { printf(__('Tag Archive for \'%s\'','rgb'), single_tag_title('', false)); } else { printf(__('Tag Archive for \'%s\'','rgb'), get_query_var('tag') ); } } elseif (is_paged() && ($paged > 1)) { printf(__('Archive Page %s', 'rgb'), $paged); } ?> </h2> <?php } ?> <?php if (!is_single() && is_paged()) include (TEMPLATEPATH . '/navigation.php'); ?> <?php /* Start the loop */ if (have_posts()) { while (have_posts()) { the_post(); ?> <?php /* Permalink nav has to be inside loop */ if (is_single()) include (TEMPLATEPATH . '/navigation.php'); ?> <div id="post-<?php the_ID(); ?>" class="entry"> <h3 class="entry-header"><a href="<?php the_permalink() ?>" rel="bookmark" title='Permanent Link to "<?php strip_tags(the_title()); ?>"'> <?php the_title(); ?> </a></h3> <?php comments_popup_link('<span class="entry-cmt"><span class="metacmt">'.__('Add a comment','rgb').'</span></span>', '<span class="entry-cmt"><span class="metacmt">1 '.__('Comment','rgb').'</span></span>', '<span class="entry-cmt"><span class="metacmt">% '.__('Comments','rgb').'</span></span>', '', '<span class="entry-cmt"><span class="metacmt">'.__('Closed','rgb').'</span></span>'); ?> <div class="entry-date"><?php printf(__('%1$s by %2$s ','rgb'), the_time(__(' F jS, Y','rgb')), get_the_author()) ?></div> <div class="entry-content"> <?php if (is_search() || (function_exists('is_tag') && is_tag())) { the_excerpt(); } else { the_content(sprintf(__("Continue reading '%s'", 'rgb'), the_title('', 'rgb', false))); } ?> <?php wp_link_pages('before=<p><strong>' . __('Pages:','rgb') . '</strong>&after=</p>'); ?> <!-- <?php trackback_rdf(); ?> --> </div> <?php if (is_home() || is_archive()) { ?> <div class="entry-footer"> <?php edit_post_link(__('Edit','rgb'),'<span class="metaedit">','</span> '); ?> </div> <?php } elseif (is_single()) { ?> <p class="intro"> <?php _e('This entry is filed under ','rgb')?><?php the_category(', ') ?><?php _e('. ','rgb')?><?php the_tags(__(' And tagged with ','rgb'),', ','.') ?> <?php _e('You can follow any responses to this entry through ','rgb') ?><?php comments_rss_link(__('RSS 2.0','rgb')) ?><?php _e('. ','rgb')?> <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) { /* Both Comments and Pings are open */ ?> <?php _e('You can <a href="#respond">leave a response</a>, or ','rgb')?><a href="<?php trackback_url(true); ?>" rel="trackback"><?php _e('trackback','rgb')?></a><?php _e(' from your own site. ','rgb')?> <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) { /* Only Pings are Open */ ?> <?php _e('Responses are currently closed, but you can ','rgb') ?><a href="<?php trackback_url(true); ?> " rel="trackback"><?php _e('trackback','rgb')?></a> <?php _e(' from your own site. ','rgb') ?> <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) { /* Comments are open, Pings are not */ ?> <?php _e('You can skip to the end and leave a response. Pinging is currently not allowed. ','rgb') ?> <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) { /* Neither Comments, nor Pings are open */ ?> <?php _e('Both comments and pings are currently closed. ','rgb') ?> <?php } edit_post_link(__('Edit this entry.','rgb')); ?> </p> <?php } ?> </div> <?php } /* End The Loop */ ?> <?php /* Insert Paged Navigation */ if (!is_single()) { include (TEMPLATEPATH.'/navigation.php'); } ?> <?php /* If there is nothing to loop */ } else { ?> <h2 class="center"> <?php _e('Not Found','rgb'); ?> </h2> <div class="entry"> <p> <?php _e('Oh no! You\'re looking for something which just isn\'t here! Fear not however, errors are to be expected, and luckily there are tools on the sidebar for you to use in your search for what you need.','rgb'); ?> </p> </div> <?php /* End Loop Init */ } ?>
And the comments.php
<?php // Do not delete these lines if (!empty($_SERVER['SCRIPT_FILENAME']) && 'comments.php' == basename($_SERVER['SCRIPT_FILENAME'])) die ('Please do not load this page directly. Thanks!'); if (!empty($post->post_password)) { // if there's a password if ($_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) { // and it doesn't match the cookie ?> <p class="alert">This post is password protected. Enter the password to view comments.</p> <?php return; } } ?> <div id="comment-section"> <?php if ($comments) : ?> <ol id="commentlist"> <?php foreach ($comments as $comment) : ?> <li id="comment-<?php comment_ID(); ?>"> <span class="comment-header"><a href="#comment-<?php comment_ID(); ?>" class="counter" title="<?php _e('Permanent Link to this Comment','rgb'); ?>"><?php echo $comment_index; ?></a><?php comment_author_link() ?></span> <div class="comment-content"> <?php comment_text() ?> </div> <div class="comment-footer"> <span class="metacmt"> <?php _e('Comment on ','rgb') ?> <a href="#comment-<?php comment_ID() ?>" title="Permalink to Comment"> <?php comment_date(__('M jS, Y','rgb')) ?> <?php _e(' at ','rgb') ?> <?php comment_time() ?> </a></span> <?php if ( $user_ID ) { edit_comment_link(__('Edit','rgb'),'<span class="metaedit">','</span>'); } ?> </div> <?php if ( ! $comment->comment_approved ): ?> <p class="alert"> <strong> <?php _e('Your comment is awaiting moderation.','rgb'); ?> </strong> </p> <?php endif; ?> </li> <?php endforeach; /* end for each comment */ ?> </ol> <!-- END #commentlist --> <?php else : // this is displayed if there are no comments so far ?> <?php if ('open' == $post->comment_status) : ?> <!-- If comments are open, but there are no comments. --> <ol id="commentlist"> <li id="leavecomment"> <?php _e('No Comments','rgb'); ?> </li> </ol> <?php else : // comments are closed ?> <!-- If comments are closed. --> <p class="alert"> <?php _e('Comments are currently closed.','rgb'); ?> </p> <?php endif; ?> <!-- END .comments 1 --> <?php endif; ?> <?php if ('open' == $post->comment_status) : ?> <div id="postComment" <?php if(get_option('rgb_shelf') == 1) { ?>style="display:none;"<?php } ?>> <?php if ( get_option('comment_registration') && !$user_ID ) : ?> <p class="alert"><?php printf(__('You must <a href="%s">login</a> to post a comment.','rgb'), get_option('siteurl') . '/wp-login.php?redirect_to=' . get_permalink()); ?></p> <?php else : ?> <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform"> <?php if ( $user_ID ) : ?> <p class="alert"><?php printf(__('Logged in as %s.','rgb'), '<a href="' . get_option('siteurl') . '/wp-admin/profile.php">' . $user_identity . '</a>') ?><a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account','rgb'); ?>"> <?php _e('Logout','rgb'); ?> »</a></p> <?php elseif ($comment_author != "") : ?> <p class="alert"><?php printf(__('Welcome back <strong>%s</strong>.','rgb'), $comment_author) ?></p> <?php endif; ?> <?php if ( !$user_ID ) : ?> <p> <input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" /> <label for="author"><strong> <?php _e('Name','rgb'); ?> </strong> <?php if ( $req ): _e('(Required)','rgb'); endif; ?> </label> </p> <p> <input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" /> <label for="email"><strong> <?php _e('Mail','rgb'); ?> </strong> <?php _e('(Will not be published)','rgb'); ?> <?php if ( $req ): _e('(Required)','rgb'); endif; ?> </label> </p> <p> <input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" /> <label for="url"><strong> <?php _e('Website','rgb'); ?> </strong></label> </p> <?php endif; ?> <p> <textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea> </p> <p> <input name="submit" type="submit" id="submit" tabindex="5" value="<?php _e('Submit Comment','rgb'); ?>" /> <input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> <?php do_action('comment_form', $post->ID); ?> </p> </form> <?php endif; // If registration required and not logged in ?> </div> <!-- END .comments #2 --> <?php endif; // if you delete this the sky will fall on your head ?> <?php if((get_option('rgb_shelf') == 1)&&('open' == $post->comment_status)) { ?> <span class="thickboxbtn"><a href="#TB_inline?height=400&width=450&inlineId=postComment" id="respond" class="thickbox" title="<?php _e('Post Your Comment (Press Esc to Close)','rgb'); ?>"> <?php _e('Post your comment','rgb'); ?> </a></span> <?php } ?> <div class="clear"></div> </div> <?php include (TEMPLATEPATH . '/navigation.php'); ?>
What do u guys think?
Forum: Fixing WordPress
In reply to: How do I remove the statement under post…I am using the RGB template and am experiencing the same thing. I checked out the .php files for the default and the modified RGB template and neither one changes what is posted there.
Let me know if you guys can help.
This is my single.php
<?php get_header(); ?> <div id="primary-content" class="narrowcolumn"> <?php include (TEMPLATEPATH . '/theloop.php'); ?> <?php comments_template(); ?> </div> <?php get_sidebar(); ?> <?php get_footer(); ?>
And this is the loop
<?php /* This is the loop, which fetches entries from your database. It is a delicate piece of machinery. Be gentle! This structure originally comes from the Great K2 theme: https://getk2.com */ ?> <?php /* Headlines for archives */ if ((!is_single() && !is_home()) || is_paged()) { ?> <h2 class="pagetitle"> <?php if (is_category()) { printf(__('Archive for the \'%s\' Category', 'rgb'), single_cat_title('', false)); } elseif (is_day()) { printf(__('Archive for %s', 'rgb'), get_the_time(__('F jS, Y', 'rgb'))); } elseif (is_month()) { printf(__('Archive for %s', 'rgb'), get_the_time(__('F, Y', 'rgb'))); } elseif (is_year()) { printf(__('Archive for %s', 'rgb'), get_the_time(__('Y', 'rgb'))); } elseif (is_search()) { printf(__('Search Results for \'%s\'','rgb'), attribute_escape(stripslashes(get_query_var('s')))); } elseif (function_exists('is_tag') && is_tag()) { if (function_exists('single_tag_title')) { printf(__('Tag Archive for \'%s\'','rgb'), single_tag_title('', false)); } else { printf(__('Tag Archive for \'%s\'','rgb'), get_query_var('tag') ); } } elseif (is_paged() && ($paged > 1)) { printf(__('Archive Page %s', 'rgb'), $paged); } ?> </h2> <?php } ?> <?php if (!is_single() && is_paged()) include (TEMPLATEPATH . '/navigation.php'); ?> <?php /* Start the loop */ if (have_posts()) { while (have_posts()) { the_post(); ?> <?php /* Permalink nav has to be inside loop */ if (is_single()) include (TEMPLATEPATH . '/navigation.php'); ?> <div id="post-<?php the_ID(); ?>" class="entry"> <h3 class="entry-header"><a href="<?php the_permalink() ?>" rel="bookmark" title='Permanent Link to "<?php strip_tags(the_title()); ?>"'> <?php the_title(); ?> </a></h3> <?php comments_popup_link('<span class="entry-cmt"><span class="metacmt">'.__('Add a comment','rgb').'</span></span>', '<span class="entry-cmt"><span class="metacmt">1 '.__('Comment','rgb').'</span></span>', '<span class="entry-cmt"><span class="metacmt">% '.__('Comments','rgb').'</span></span>', '', '<span class="entry-cmt"><span class="metacmt">'.__('Closed','rgb').'</span></span>'); ?> <div class="entry-date"><?php printf(__('%1$s by %2$s ','rgb'), the_time(__(' F jS, Y','rgb')), get_the_author()) ?></div> <div class="entry-content"> <?php if (is_search() || (function_exists('is_tag') && is_tag())) { the_excerpt(); } else { the_content(sprintf(__("Continue reading '%s'", 'rgb'), the_title('', 'rgb', false))); } ?> <?php wp_link_pages('before=<p><strong>' . __('Pages:','rgb') . '</strong>&after=</p>'); ?> <!-- <?php trackback_rdf(); ?> --> </div> <?php if (is_home() || is_archive()) { ?> <div class="entry-footer"> <?php edit_post_link(__('Edit','rgb'),'<span class="metaedit">','</span> '); ?> </div> <?php } elseif (is_single()) { ?> <p class="intro"> <?php _e('This entry is filed under ','rgb')?><?php the_category(', ') ?><?php _e('. ','rgb')?><?php the_tags(__(' And tagged with ','rgb'),', ','.') ?> <?php _e('You can follow any responses to this entry through ','rgb') ?><?php comments_rss_link(__('RSS 2.0','rgb')) ?><?php _e('. ','rgb')?> <?php if (('open' == $post-> comment_status) && ('open' == $post->ping_status)) { /* Both Comments and Pings are open */ ?> <?php _e('You can <a href="#respond">leave a response</a>, or ','rgb')?><a href="<?php trackback_url(true); ?>" rel="trackback"><?php _e('trackback','rgb')?></a><?php _e(' from your own site. ','rgb')?> <?php } elseif (!('open' == $post-> comment_status) && ('open' == $post->ping_status)) { /* Only Pings are Open */ ?> <?php _e('Responses are currently closed, but you can ','rgb') ?><a href="<?php trackback_url(true); ?> " rel="trackback"><?php _e('trackback','rgb')?></a> <?php _e(' from your own site. ','rgb') ?> <?php } elseif (('open' == $post-> comment_status) && !('open' == $post->ping_status)) { /* Comments are open, Pings are not */ ?> <?php _e('You can skip to the end and leave a response. Pinging is currently not allowed. ','rgb') ?> <?php } elseif (!('open' == $post-> comment_status) && !('open' == $post->ping_status)) { /* Neither Comments, nor Pings are open */ ?> <?php _e('Both comments and pings are currently closed. ','rgb') ?> <?php } edit_post_link(__('Edit this entry.','rgb')); ?> </p> <?php } ?> </div> <?php } /* End The Loop */ ?> <?php /* Insert Paged Navigation */ if (!is_single()) { include (TEMPLATEPATH.'/navigation.php'); } ?> <?php /* If there is nothing to loop */ } else { ?> <h2 class="center"> <?php _e('Not Found','rgb'); ?> </h2> <div class="entry"> <p> <?php _e('Oh no! You\'re looking for something which just isn\'t here! Fear not however, errors are to be expected, and luckily there are tools on the sidebar for you to use in your search for what you need.','rgb'); ?> </p> </div> <?php /* End Loop Init */ } ?>