• Resolved CarolineElisa

    (@carolineelisa)


    Hi there,

    Firstly, very useful plugin thanks!

    Just a small issue – my templates are not getting picked up from my child theme, only the parent theme. This isn’t ideal as I am worried about overriding the templates when the parent theme is updated.

    Can I run something through my functions.php file to change this, or do you have any plans to fix this is in the next update?

    Cheers

    https://www.ads-software.com/plugins/advanced-custom-post-search/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Creare

    (@shane-welland)

    Hi Caroline, thanks!

    I’ve actually made this fix in the unreleased version as it was previously mentioned in an old support request as an oversight on my part.

    For now, in acps.php on line 49 you should be able to change to the following:
    'template_path' => trailingslashit(get_stylesheet_directory()),

    This should act as a quick fix for the child theme. Let me know how you get on with it.

    Thread Starter CarolineElisa

    (@carolineelisa)

    Thanks Shane!

    Plugin Author Creare

    (@shane-welland)

    No worries =)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Not pulling in templates from child theme, only parent theme’ is closed to new replies.