WordPress.org

Ready to get started?Download WordPress

Forums

Skylark
How to get videos to show up in search results (1 post)

  1. cscottb
    Member
    Posted 1 year ago #

    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:

    <?php
    /* 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.

    http://www.cscottbeardsley.com/apop/

    http://wordpress.org/extend/themes/skylark/

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags