LClark52
Forum Replies Created
-
Finally figured it out.
Thanks
I also added the following code after <?php endwhile; ?> to show an error
if there are no posts.<?php else : ?> <?php /* If there are no posts to display, such as an empty archive page */ ?> <?php if ( ! have_posts() ) : ?> <div id="post-0" class="post error404 not-found"> <h1 class="entry-title"><?php _e( 'Not Found', 'twentyten' ); ?></h1> <div class="entry-content"> <p><?php _e( 'Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.', 'twentyten' ); ?></p> <?php get_search_form(); ?> </div><!-- .entry-content --> </div><!-- #post-0 --> <?php endif; ?>
However, I still get the error message.
Hi esmi,
Thank you for your response.
Yes, I’m using a child theme.
Forum: Fixing WordPress
In reply to: How to Remove twentyten_posted_in() function@esmi: Thanks again for your help.
I’ve also tried the following function in my child theme’s functions.php file; however, it did not work either.
function twentyten_posted_in() { return; }
What am I doing wrong?
Many Thanks.
Forum: Fixing WordPress
In reply to: How to Remove twentyten_posted_in() function@esmi: Thank you for your response.
I put the following code into functions.php of my child theme:
function twentyten_posted_in() { }
Assuming, that since the function has no values, it would return nothing; to my surprise, the line was still there.
Any thoughts?
Thank you.
Forum: Plugins
In reply to: [Sidebar Login] How to Use the Filter "sidebar_login_widget_form_args"Finally figured it out.
Thanks
Forum: Plugins
In reply to: [Sidebar Login] shortcode to show the plugin into pages?There is no short-code. You need to create a page template and drop the following code into it.
<?php the_widget( 'Sidebar_Login_Widget' ); ?>
I figured out how to do this.
Thanks
Forum: Hacks
In reply to: Remove image DIV if there's no imageRicoh,
I don’t know how to appreciate your help. I spent the whole day yesterday trying to figure that out. Your code worked like a charm.
Thank you so very much for your help, time and kindness.
Have a wonderful day.
Thanks again.
Hi Josh,
I understand that you have fixed the bug; would you kindly let me know how to resolve the issue on my side.
Thank you very much.