Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Paul Jones

    (@pauljonesdesign)

    Hi @chouby , that helped a lot, thank you!

    For GeneratePress users who are having trouble getting Polylang to work with the new GeneratePress search modal there two ways you can get the search modal to work.

    Cred it to Ying from GeneratePress support, the following code adds WP’s default search form to the search modal::

    function custom_generate_do_search_fields() {
    	get_search_form();
    }
    
    add_action('wp', function() {
    	remove_action( 'generate_inside_search_modal', 'generate_do_search_fields' );
    });
    add_action( 'generate_inside_search_modal', 'custom_generate_do_search_fields' );

    Or

    Create a block element, set the element type to Search modal, then you can add a WP search form block to the element, set the location to?entire site.

    Thanks again!

    Thread Starter Paul Jones

    (@pauljonesdesign)

    Hello,

    Thank you for your quick response and linking me to this article.

    I’m also working with GeneratePress support to resolve this issue and can reply to this thread with the fix once it’s resolved.

    Best regards,

    Paul

    Paul Jones

    (@pauljonesdesign)

    Hi James,

    Great work you are doing over at The Events Calendar.

    I saw from a recent update there is new autoload data from Freemius in the database under – fs_accounts – when you install Restrict Content from iThemes.

    I’ve seen this autoload data grow quite large on another website built using a theme using Freemius in their Pro version.

    When you move away from Freemius, do you plan to create a tool for end users to remove this autoload data?

    I may be wrong, at the moment, when you delete the plugin the Freemius autoload data still stays there.

    • This reply was modified 2 years, 1 month ago by Paul Jones.
    • This reply was modified 2 years, 1 month ago by Paul Jones.
Viewing 3 replies - 1 through 3 (of 3 total)