• Resolved lazykins

    (@lazykins)


    Hello, I am attempting to use a custom field on my posts to change the image that is used in the home page post slider.

    I would like to use an image that is larger than the featured image but I do also use the featured images elsewhere.

    I use a child theme. I would just need to know where the code is that selects which image is used in the slider and what to add to my functions file.

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author ronangelo

    (@ronangelo)

    If you’re already using a child theme then you can simply copy slider.php into your child theme folder then edit it. In line 49 of that file you can see echo $image_src; You’d want to set that variable to your custom field’s content.

    Thread Starter lazykins

    (@lazykins)

    Thanks Ron. I will give that a shot!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom field for slider?’ is closed to new replies.