Support » Plugin: Simple Feature Requests Free » Template Override

  • Resolved Chetan Satasiya

    (@ketuchetan)


    Hey there,

    We have purchased the paid plugin from you and we have to override template files to match our sites design.

    How we can override the templates in our theme?

    Any help appreciated.

Viewing 1 replies (of 1 total)
  • Plugin Author James Kemp

    (@jamesckemp)

    Hey Chetan,

    Sorry for the delay, I hadn’t set up notifications for this support forum.

    If it helps I can add a filter to make it easy to set your own path for the template files?

    You could do it already now, but you’d need to remove these hooks and then add your own:

    add_filter( 'single_template', array( 'JCK_SFR_Post_Types', 'load_single_template' ), 10, 3 );
    add_filter( 'archive_template', array( 'JCK_SFR_Post_Types', 'load_archive_template' ), 10, 3 );

    These can be found in the file inc/class-post-types.php

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.