Skip to content

Instantly share code, notes, and snippets.

@anag0
Created Dec 31, 2018
Embed
What would you like to do?
ASP: No results template file including a link
<?php
/* Prevent direct access */
defined('ABSPATH') or die("You can't access this file directly.");
/**
* This is the default template for the keyword suggestions
*
* !!!IMPORTANT!!!
* Do not make changes directly to this file! To have permanent changes copy this
* file to your theme directory under the "asp" folder like so:
* wp-content/themes/your-theme-name/asp/no-results.php
*
* The keyword should must always hold the 'asp_keyword' class and only
* contain the keyword text as the content.
*
* You can use any WordPress function here.
* Variables to mention:
* Array[] $s_keywords - array of the keywords
* Array[] $s_options - holding the search options
*
* You can leave empty lines for better visibility, they are cleared before output.
*
* MORE INFO: https://wp-dreams.com/knowledge-base/result-templating/
*
* @since: 4.0
*/
?>
<div class="asp_nores">
<span class="asp_nores_header">
<a href='https://www.cadeaux-hightech.fr/cadeau-entreprise/france/'>
No results!
</a>
</span>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment