- This topic has 3 replies, 3 voices, and was last updated 6 years, 2 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Hello, I’m trying to edit the layout-single-sidebar-none.php so that the title appears with the author and the date. How can I do it?
Hi there,
Thanks for writing in!
In this case, you may need to edit the singe.php file instead because, the layout-single-sidebar-none.php doesn’t contain the title.
You can use the code below to get author & date:
<?php the_author_posts_link() ?>
<?php printf( '%1$s', get_the_date( 'M d, Y' ) ); ?>
In single.php – line 5, you can see the code below:
'title' => get_the_title( $post->ID ) ? get_the_title( $post->ID ) : get_option( 'roneous_blog_title', esc_html__( 'Our Blog', 'roneous' ) ),
then you can use this code, for example:
$title = get_the_title( $post->ID ) ? get_the_title( $post->ID ) : get_option( 'roneous_blog_title', esc_html__( 'Our Blog', 'roneous' ) );
$title .= ' author: '.the_author_posts_link(). ' date: ' .printf( '%1$s', get_the_date( 'M d, Y' ) );
Then in line 5, you can change it into this:
'title' => $title,
Hope this helps,
Danny
Hi Danny,
I just noticed it has been almost 10 days that my registration form (contact form 7) has not being sent to my email address (info@funderland.ca) any longer! Means I don’t have access to those clients who have filled in the form and are waiting for my reply during last 10 days! How I can retrieve those missing forms (even their “email” field of the form is enough to contact them) secondly how I can fix the form to work again? Is there any database or backup where those submitted forms might have been stored? For your information recently I have moved my host from Siteground to Godaddy. Could that be a reason i.e the migration was not completely done? I can get a file backup from the old host too. my website is http://www.funderland.ca
Thanks Azi
Hi Azi,
Please have a look at the answer in your topic here: http://www.themelogi.com/tickets/topic/how-to-restore-lost-contact-form-7/#post-11870
Best regards,
Danny