WordPress.org

Ready to get started?Download WordPress

Forums

Tesla
[resolved] more... tag in posts (6 posts)

  1. paul.reid
    Member
    Posted 10 months ago #

    Hello, I'm having trouble getting the more... tag to show up in post previews in the blog section of the Tesla theme.

    The theme shortens the post, but doesn't insert a more... break by default and trying to add one in the post manually doesn't seem to work for me.

    Is there a setting I can adjust so that a tag like that shows up?

    Thanks!

  2. lpyrbby
    Member
    Posted 9 months ago #

    Go to your index.php file

    Find the following code:

    <div class="entry blogEntryExcerpt">
    <?php if(!is_archive()) the_excerpt(); ?>
    </div>

    Change the_excerpt to the_content

  3. WPyogi
    Volunteer Moderator
    Posted 9 months ago #

    It's not a good idea to modify theme files - as those changes will be lost when the theme is updated. Changes like that should be made in a child theme -

    http://codex.wordpress.org/Child_Themes

  4. lpyrbby
    Member
    Posted 9 months ago #

    Thanks for the head's up.

  5. paul.reid
    Member
    Posted 9 months ago #

    Thank you both for the information.

    Have a great day.

  6. paul.reid
    Member
    Posted 9 months ago #

    Thanks lpyrbby, that worked perfectly. Thanks WPyogi as well, I got the child theme set up and functioning and made the change there.

    Take care.

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.