Website pagespeed problem

For WordPress Website optimization you should take a look at: https://codex.wordpress.org/WordPress_Optimization I took a look at your pagespeed report and the main thing there are the images you are using. There are many plugins that can optimize them for you. I like this one in particular: https://wordpress.org/plugins/imsanity/ As per the server cache, you can either … Read more

Child Theme header1.php file not overwriting parent theme’s header1.php file

That edit explains it. Alphabet is poorly written. Its use of php’s include rather than WordPress’s own include functions like get_header and get_template_part is breaking the parent/child hierarchy. You could probably make a copy of the file header.php and change those includes, as long as the file calling in header.php does it correctly! As long … Read more

Warning: Invalid argument supplied for foreach() in post.php [closed]

In WordPress 4.5.3, there’s a foreach in wp-includes/post.php on line 1177 and no others around it, so I’m guessing this is the one that’s triggering the error in your install on line 1172. This is inside the register_post_type() function, and it’s looping through the taxonomies argument that you’re sending through. Well… that you were meant … Read more

Images not showing after path specified in header.php

Use get_stylesheet_directory_uri() instead of get_stylesheet_directory(). <img src=”https://wordpress.stackexchange.com/questions/239657/<?php echo get_stylesheet_directory_uri();?>/images/headerbg.jpg” …./> get_stylesheet_directory_uri() returns URI of the stylesheet directory where as get_stylesheet_directory() returns the path on the server to the stylesheet directory.

how to force tag page layout to use same as search layout?

You can tell WordPress to use the search.php template whenever viewing tags by using the template_include. It works like this: function wpse_240429() { // IF we’re planning on loading a tag template if( is_tag() ) { // Try to locate the search.php template $search_template = locate_template( ‘search.php’ ); // If the search template exists if( … Read more