Support » Themes and Templates » Vigilance theme excerpt support

  • Resolved sapountzis


    I am trying to use the_excerpt() to display excerpts of my posts (instead of the full posts) on my home page. I have followed the instructions in some other threads and replaced the_content() with the_excerpt() on my index.php page but it does not work (I still get the full post). FYI, the more tag did not work for me either (although I did not troubleshoot fully), but I prefer to use the excerpt function.

    I have found conflicting information as to whether this theme (Vigilance) supports excerpts, can someone help me?

    Thanks in advance.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Sounds to me as if it’s not in the correct place…but as it is a premium theme, I don’t have access to the code to fix it. Premium themes aren’t generally supported on this forum as they should have their own support forums.


    Thanks the theme is actually free to download here. The paid option is to get additional support and I am trying to contact the developer as well, I just thought the community may already have an answer.

    Oh, so I downloaded it, and though I’m not an expert on themese, I’m pretty sure

    <?php the_excerpt(); ?>

    is built into core. If you replace line 16 in it’s entirety with the above code, I don’t understand why it won’t work unless you are getting a cached version. If that doesn’t work, then someone else will need to weigh in.

    If you are referring to the index.php file, I already did that, replacing the <?php the_content(__( 'read more...', 'vigilance' )); ?> line but it does not work, I still get the full posts

    OK, I am now getting closer, it turns out that by making this change to the home.php (instead of index.php)file I can at least get the excerpt to display, although I still get the full post right after the excerpt….

    Thanks in advance to anyone that has any ideas how to get this to work

    I finally got this to work, changing the code above on home.php ended up working

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Vigilance theme excerpt support’ is closed to new replies.