Join our new community forum for support & discussion

Join Now

Home Support Extensions Search Alerts search alerts settings

search alerts settings

  • Author
  • capitalss2

    Hello again, Ihor, only 1 question. I wanted to add a search alert button to the file no-results-message.php. after the description, I added this script:

    		if ( $search_alert->get_category__id() ) :
    			echo esc_html( $search_alert->get_category__name() );
    		else :
    			esc_html_e( 'All Categories', 'hivepress-search-alerts' );

    but it gives an error. thank you in advance

    Here is an example from another site

    ihor developer

    Sorry, but I can’t check your custom code because I don’t know where the $search_alert variable is defined, the current template context, etc. – implementing this button requires customizations.


    Bro but there must be a ready-made script for this one button that is located in the filter, I just want to duplicate this button. I thought it was, but I was wrong because there is no information about the hp-icon fas fa-bell icon.

Viewing 3 posts - 1 through 3 (of 3 total)

New Reply

This forum has been archived and is no longer accepting new posts or replies. Please join our new community forum for support & discussion.