Use home_url instead of site_url
-
Hi,
I noticed that my ‘View all results’ link was broken, as my site’s address is different to the WordPress installation directory. Fixed by changing:
'permalink' => add_query_arg( array( 's' => $s ), home_url() ),
to
'permalink' => add_query_arg( array( 's' => $s ), site_url() ),
in iss-ajax.php.
Just letting you know in case you’re still making updates!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Use home_url instead of site_url’ is closed to new replies.