Home link leads to error
-
Yikes. I was starting to do a temporary addition of a custom .php file to accommodate some new galleries in need of a home. Then I discovered that the link to the static home page returns an error.
$recent_args = array( ‘order’ => ‘DESC’, ‘post__not_in’ => get_option( ‘sticky_posts’ ), ‘cat’ => 101, //your category exclusion id here ‘tax_query’ => array( array( ‘taxonomy’ => ‘post_format’, ‘terms’ => array( ‘post-format-aside’, ‘post-format-link’, ‘post-format-status’, ‘post-format-quote’ ), ‘field’ => ‘slug’, ‘operator’ => ‘NOT IN’, ), ), );
Since I have been warned about the age of this theme this may be destined to be a short-term solution, but I really need people to be able to see the home page(!)
As an experiment I created a new page called “blog home” and designated it as the new home page in the Customizer. This didn’t change anything with the “Home” error. I then added it to the main menu. The new one works (adding yet another ‘blog’ to this site) but the “Home” link is still bad. While I suppose I could simply delete that one, it makes me uneasy when I don’t know why this is happening. Thus, the question of whether another theme will have the same problem. I would rather get to the bottom of it now, especially since there is a true static site linking to it until I have time for the redo.
To give the whole collection, the WordPress blog is here, the static site linking to it is here and the mobile site for the unresponsive static site is here ??I don’t know when the home link started to malfunction. I had added a custom category.php file but have since removed it since it was wasn’t accomplishing it’s purpose and I wanted to simplify the resolution of this problem.
Thank you
- The topic ‘Home link leads to error’ is closed to new replies.