Customize page 404
-
Hello,
I really appreciate the help provided through the many threads I’ve opened ?? ! But I still have a question please.
I want to change the 404 page to show a personalized image and keep the search form, I’ve found the snippet (provided by Nicolas) to add slides, but couldn’t figure out how to change it to show the personalized picture and keep the search form… Here is my “try”…add_filter('tc_show_image' , '__return_true' ); add_filter('tc_image_name_id' , 'set_image_name'); function set_image_name( $original_name ) { if ( ! is_404() && ! is_search() ) return $original_name; return 'image_404.jpeg';//<= write the name of your slider here get_search_form( $echo = false ); }
Thank you very much!
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Customize page 404’ is closed to new replies.