is_home(), is_front_page() not working

If you are facing troubles trying to use this functions (is_home(), is_front_page()) you have to 'clean the query' using the following function: wp_reset_query(); just before calling the function that you need.

No hay comentarios: