Support » Theme: Skylark » [Theme: Skylark] How to get videos to show up in search results

  • Thank you for this very nice theme.

    If I place a video at the beginning of a post, it shows up on the home blog page. This is also the case with archive pages. But for some reason, the videos do not display in search results.

    In search.php the call for the content looks like this:

    <?php get_template_part( 'content', 'search' ); ?>

    whereas in both index.php and archive.php, the call looks like this:

    /* Include the Post-Format-specific template for the content.
    * If you want to overload this in a child theme then include a file
    * called content-___.php (where ___ is the Post Format name) and that will be used instead.
    get_template_part( ‘content’, get_post_format() );

    I replaced the code in the search.php with the other code, but it made no difference; and any other modification break the server connection for the search. Any suggestions?

    I may be trying out other themes, but looking at my site might give you an idea of what I am striving for.

  • The topic ‘[Theme: Skylark] How to get videos to show up in search results’ is closed to new replies.