• Resolved catwingz

    (@catwingz)


    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Kathryn Presner

    (@zoonini)

    I just tested the default menu in Duster in both WordPress 4.3 and the recently released 4.4 and the default menu’s Home link works fine for me in both.

    If using a custom menu, can you try adding your Home link as a Custom Link, so you can add the exact URL you need?

    Since Duster is no longer being maintained, if you are creating your menu some other way than using the default menu or the built-in custom menu, if that method is no longer working and you have another workaround (and can’t use a custom menu for some reason) I’d go ahead and use it. Twenty Eleven was also based on Duster and is responsive, so you might want to give it a go if it works better for you.

    If the same issue also happens in another theme, then you know the issue is somewhere in your custom code, and you can post in the general Troubleshooting forum for further help. You can test this on a local copy of your site or a test server first.

    Thread Starter catwingz

    (@catwingz)

    I discovered that the error was specific to the original home page. I ended up deleting it from the custom menu, renaming the second “blog home” to “Home” and made it the new home page. Now the links work perfectly.
    So, I still don’t know what caused the problems, but at least for now there is a solution.
    I will switch to a different theme sometime soon. Thanks for the help!

    Moderator Kathryn Presner

    (@zoonini)

    Glad you got it sorted!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Home link leads to error’ is closed to new replies.