Join our new community forum for support & discussion
Join NowHome › Support › Extensions › Search Alerts › Is there a demo or example for the search / e-mail alerts?
Is there a demo or example for the search / e-mail alerts?
-
AuthorPosts
-
qubu.me 2 years, 5 months ago
I would like to take a closer look at the function and check whether it can be used for my website.
There’s no separate demo, but you can check this overview video https://www.youtube.com/watch?v=nOG3bW5_eXo&feature=emb_title It shows elements and pages that will be added by this extension. The email text is fully customizable like any of HivePress emails.
qubu.me 2 years, 5 months agook, thank you. I will check it
qubu.me 2 years, 5 months agowe like the alert and want to place it free at another place. How can we do this?
Please let me know what you mean about placing it for free, you can purchase the Search Alerts extension here https://hivepress.io/extensions/search-alerts/
qubu.me 2 years, 5 months agoSorry, my question wasn’t exactly phrased. We would like to freely determine the location of the Search Alert Button or move it. We are considering placing it above the search results in the top right corner so that it is directly visible to visitors. How would that be possible?
It’s possible with a simple code snippet, if you purchase this extension I can help with moving this link.
qubu.me 2 years, 5 months agook, great. Thank you. I will check it with my partner
Carlo 2 years, 4 months agoHey I’m a coworker of qubu.me.
I bought this search alert extension. Can you help us moving the ,,activate search alert” button?
Sorry for the late reply. This code snippet should move it to the top bar:
add_filter( 'hivepress/v1/templates/listings_view_page', function( $template ) { return hivepress()->helper->merge_trees( $template, [ 'blocks' => [ 'page_topbar' => [ 'blocks' => [ 'search_alert_toggle' => [ 'type' => 'search_alert_toggle', '_order' => 15, ], ], ], 'listing_filter_form' => [ 'footer' => [ 'search_alert_toggle' => [ 'type' => 'content', ], ], ], ], ] ); }, 100 );
Like this https://prnt.sc/ugn58n
Carlo 2 years, 4 months agoWhere do I have to put the code in?
In the customizer and then in the CSS part?
You can add it using this plugin https://wordpress.org/plugins/code-snippets/ or if you have a child theme you can add code snippets to its functions.php file.
Carlo 2 years, 4 months agoOk, that work very good.
But can I freely determine the position of the search alert by editing the PHP file.
Or can I just position it either on the top or at the normal position?Sure, but then a different code snippet is required. I provided a snippet for moving it to the top because it was requested in this topic.
Carlo 2 years, 4 months agoWhere can I get a code snippet for moving the button to the top right?
Like here: https://drive.google.com/file/d/1snc3l6RZd0BzXv_0SW3I66-xbWEjnXPe/view?usp=sharing
This code should do it:
add_filter( 'hivepress/v1/templates/listings_view_page', function( $template ) { return hivepress()->helper->merge_trees( $template, [ 'blocks' => [ 'page_header' => [ 'blocks' => [ 'search_alert_toggle' => [ 'type' => 'search_alert_toggle', '_order' => 100, ], ], ], 'listing_filter_form' => [ 'footer' => [ 'search_alert_toggle' => [ 'type' => 'content', ], ], ], ], ] ); }, 100 );
With this CSS snippet to move it to the right (add it to the Appearance/Customize/Additional CSS field):
.hp-template--listings-view-page .hp-page__header > .hp-link {display:block;float:right;margin-top:-1rem}
Please note that customizations are not part of support, if further customizations are required consider hiring someone via Fiverr.
Carlo 2 years, 4 months agoLike for PHP
Yes, if your site requires PHP or CSS customizations you can hire someone via Fiverr for a fixed budget. HivePress support doesn’t include customizations.
Carlo 2 years, 4 months agoIs there any PHP file?
Carlo 2 years, 4 months agoThanks for the answers!
The last message was not planned. -
AuthorPosts
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.