Home>Support>Latest video?

Latest video?

Hi,
I would like to replace the Latest Videos (which are choosen on the publication date), with a sort of “Featured videos” function that gives me more freedom to select which videos to have in evidence. Could I have a coding clue for my child theme functions?
Thanks

URL: http://Www.lorenzomarzocca.com

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 10 months ago Andrew Misplon
    Hi, I Work Here

    Hi Fabio

    There unfortunately, isn’t any easy way to handle this.

    If you want to try tackle this in a child theme check out index.php in the parent theme folder. If you copy index.php to your child theme you can use your own loop by changing this line:

    <?php get_template_part('loop') ?>
    

    You could then copy loop.php from the parent to the child theme folder and rename it to say: loop-home.php. Then in your index.php file in the child theme change 27 to:

    <?php get_template_part('loop-home') ?>
    

    From there it’s up to you. You’d need a custom query loop to select your posts by ID perhaps.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More