→→ Please check out our new WP Theme: Navian - Responsive Multi-Purpose WordPress Theme ←←
- In case you can't login to submit a ticket, please hard refresh the browser and try again.
If the problem persists, please submit your questions via THEMELOGI profile page instead.

- Regrading the plugin activation, please have a look at Bundled Plugin License information.
- If you couldn't import demo content or you got the message "Failed to import", please see our FAQs page. Thank you :)
- We've updated the theme to be compatible with latest WordPress version, please update your theme as in the article here

Tickets Tickets Roneous edit single-post

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #11651

    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?

    #11665
    Danny
    Supporter

    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

    #11865

    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 ([email protected]) 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

    #11871
    Danny
    Supporter

    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

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.