Gunther Kramer
Forum Replies Created
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
Thank you. At first glance, everything appears to be working correctly. Will this fix be added to a future update of the core GeoDirectory software? That would be a lot better than having to add code manually to any other installations in the future. It would also mean that switching themes would be easy, as we wouldn’t have to remember to add that code snippet to those themes as well.
For anyone else reading this, the bit of code that was added to the child theme is:
function gd_custom_init() {
remove_filter( ‘template_include’, ‘geodir_template_loader’, 9 );
add_filter( ‘template_include’, ‘geodir_template_loader’, 99999 );
}
add_action( ‘init’, ‘gd_custom_init’, 100 );
Signup to our newsletter for a chance to win a Lifetime License worth $1,495.
Buy with confidence: If you win, we'll refund any purchase made during the sale!
You've been entered into the draw.
Check your inbox for confirmation.