• leenasalman

    (@leenasalman)


    I created a custom layout for my Ajax Search Lite search result page in folder searchform.php and placed it in the themes twentytwentythree folder. My issue is that when I click the search button my layout is not the one I created. Could you help me understand why the plugin is not using my php file?

    You can check the searchform.php HTML layout here: https://github.com/leenasalman/searchform.php/tree/main

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author wpdreams

    (@wpdreams)

    Hi,

    The plugin uses it’s own search container via the [wpdreams_ajaxsearchlite] shortcode.

    To use that in any template file, you can try the PHP version of it:

    <?php echo do_shortcode('[wpdreams_ajaxsearchlite]'); ?>

    That will print the plugin search input anywhere within the theme files.

    All the best,
    Ernest

Viewing 1 replies (of 1 total)
  • The topic ‘searchform.php file not showing the custom layout’ is closed to new replies.