• Kirils

    (@kirils)


    Hello,

    Could you please suggest how can I change full posts to excerpts on the main index.php (short posts with “Continue Reading” button). heeelp

    Thank you.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi there Kirils.

    If you navigate to Appearance > Theme Settings, under the Blog tab there’s a setting called “Post Content”. Changing that should give you what you’re after.

    Thread Starter Kirils

    (@kirils)

    Thank you for the fast reply! And yes it worked. However, more questions arise…

    1) How can I change […] into [Continue Reading] and turning it into a click able link ?

    Thank you.

    This is something that’s been requested before. I’ll be sure to add that as an option in a future update.

    Thread Starter Kirils

    (@kirils)

    Ou, that’s wonderful. That is why I like your template, because you constantly improve and support it!

    P.S. you can probably include something similar in the Grid system. I also like the New Circle style, looks great.

    2) When I set up the featured Image, it looks massive in the post itself. It’s just 300 x 300 but it makes it and stretches it 4 times bigger. Any chance making it smaller through functions.php ?

    I do take a lot of pride in Vantage, so it’s something I support and improve to the best of my ability. We still have a long way to go though…

    To answer 2), the featured image is cropped down to a landscape image. If your image is too small, then WordPress wont crop it. It’ll just use the image you uploaded.

    What I’d suggest in your case is to navigate to Appearance > Theme Settings. Under the blog tab; disable “Featured Image” and change “Featured Image Type” to Small Icon.

    Game On

    (@game-on)

    Hi Greg,

    I was wondering if you can help me out here. If I want to display the full post on one page, but just post excerpt on the home page. How do I do that? Thanks!

    Thread Starter Kirils

    (@kirils)

    Hello Greg,

    I have done what you have asked. But what I am trying to say, I want the Small Icon, but when I go to the post itself by clicking the icon or link, I see a huge featured image, which I want to be smaller.
    Hope that make sense =) Or maybe can I even delete it from a single-post?

    1) How can I change […] into [Continue Reading] and turning it into a click able link ?

    Just place this code to Your child themes functions.php:

    function new_excerpt_more($more) {
        global $post;
        return '… <a href="'. get_permalink($post->ID) . '">' . __('Read More', 'vantage') . '</a>';
    }
    add_filter('excerpt_more', 'new_excerpt_more');

    You can also translate “Read more” via translation files.

    Rob

    (@promoting-all-things-good)

    @digitohter I created a functions.php file in my Child Theme and used the code you shared and it worked, except for it added a ? in a diamond before the read more link. https://piercelitter.com/blog/

    Any ideas how to get rid of the “?” ?

    Thank you for your help.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Changing full post on Index Page to excerpt ?’ is closed to new replies.