• Hi,
    So like 10 minutes ago, I posted a question on how to change the standard text to Dutch. That problem is solved at the moment. But I think that I did something wrong with the code. If I search something and it finds an article on my site, the dutch text appears. But when I search something and it finds nothing, I get kind of a blank page, something like this: http://scheppersonline.be/?s=derde+graad
    Shouldn’t it say something like “no search results”?
    I’ll add a picture with the code.
    I think I messed up here: <?php else : ?>

    <?php get_template_part( ‘no results’, ‘search’ ); ?>
    the ‘no result’ part is what I believe is wrong.
    Can anyone help me? 🙂
    (link to the picture: http://postimg.org/image/a0emx7a4l/ )

Viewing 1 replies (of 1 total)
  • Hey Bram

    I’m going to post the answer I sent on our forums here, just in case anyone else reads this thread.

    Thanks.

    //

    Hi Bram

    All ww.wp.xz.cn themes completely overwrite their own theme folder during updates. It’s important to not make any edits via Appearance > Editor. If you’ve just made one or two changes via Editor then you should restore the theme to reverse them. That would involve deleting Vantage and re-installing. Here is how that’s done:

    https://siteorigin.com/basics/updating-theme-from-zip/

    The necessary ZIP file download link was sent on the SiteOrigin forum page.

Viewing 1 replies (of 1 total)

The topic ‘Messed with some code and broke something…’ is closed to new replies.