Header and Footer options in pages and posts

You can do this by Using template page as well as custom fields. Let us say your custom fields value are 1 and 2 for header your conditions will be. if($header==1) { get_header(1); } else {get_header();} And similarly for footer it will be if($footer==1) { get_footer(1); } else { get_footer(); }

Custom CSS working on home page but not on NEW created PAGE

Copied from comments, so the question will indicate an answer has been provided: Found your key symptom. Inspecting your Impressum page with Chrome indicates loads of 404 errors. For example: http://darius-mann.com/smardigo/impressum/costum/hexagon/hexagon.js not found. If I remove the “impressum/” the file opens correctly. However your theme is building your reference URLs, it is including the current … Read more

How can I make a search term redirect to a page

You could use the template_redirect hook. https://developer.wordpress.org/reference/hooks/template_redirect/ add_action(‘template_redirect’, ‘wpse410342_template_redirect’); function wpse410342_template_redirect() { if( !is_search() || is_admin() ) return; global $wp_query; if( ‘123456’ === $wp_query->get(‘s’) ) wp_redirect( get_permalink( get_page_by_title(‘Page Name’) ) ); } Using the page slug instead of name. wp_redirect( get_permalink( get_page_by_path(‘page-name’) ) );

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)