• Hello,

    I have installed and configured plugin at: https://www.seomike.com/blog/

    I have successfully tested it with the Widget and Popup display and it works. I would like to display the results in a custom page template. I have placed the function in the page template and saved as below:

    <?php
    
    /**
    * Template Name: Search Results
    * Description: Used as a page template to show page contents, followed by a loop
    * through the "Google Search Results"
    */
    
    remove_action('genesis_loop', 'genesis_do_loop');
    
    add_action('genesis_loop', 'custom_search_loop');
    
    function custom_search_loop() {
    display_gsc_results();
    }
    
    genesis();
    ?>

    The first thing I noticed is that the Custom Search input placeholder is missing in Custom mode and then the form will not fire when you click Search.

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

  • The topic ‘Custom Custom Display Doesn't Work in 4.1’ is closed to new replies.