Search function not working within 2014 theme

  • Unknown's avatar

    I am using twenty fourteen theme for my blog (which is password protected), and am really happy with how it looks, but I can’t get the search function to work, unless I am logged in. This means my readers (who have the password) can’t search within the site for particular posts. It is for a college reunion, with a post for each person, so it would be good if people could enter a name in the search box on the home page and go to the post they want to see. I have looked at other bloggers’ 2014 sites and their searches work. What might I have done that mine doesn’t?

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    I tried a couple of test searches on your site using full names and partial name and it appears to work. For example when I just search “wendy” the results list includes your post for Wendy. The content is showing as protected but the titles come up as expected.

    Sorry if this isn’t quite what you meant, what are you seeing when you do a search while logged out?

  • Unknown's avatar

    Thanks, it works fine when I’m logged in, but as soon as I log out it returns “no results found for this search – try another search term” (or words to that effect). I’ve asked some of my readers to try, and I’ve tried from different computers while logged out, and no result. As soon as I log in on any computer it works. Do you want me to give you the password so you can try it from a logged-out position?

  • Unknown's avatar

    Ah, I see what you mean. I tried it on a browser where I’m not logged in and got the “Sorry, but nothing matched your search terms,” message.

    I’d be happy to try it with the password to make sure though.

  • Unknown's avatar

    Kelv1n

    Let me know how you go :)

  • Unknown's avatar

    Did you happen to get this figured out? I just tried out the search with the password when logged out and I saw the same results you are getting with no matches unfortunately.

    I’d be curious about one other thing, do you have this same issue with other themes?

  • Unknown's avatar

    Just tried (logged out) on other blogs I’ve done with Spectrum and Fiore, and the searches there work fine. I’m wondering if, because this is the first time I’ve password-protected a blog, and have excluded it from search engines, I might have been over-zealous and ticked a box somewhere that disabled the in-blog search. I’ll check through my settings and see what I can find.

  • Unknown's avatar

    Having the same issue. Caught me off guard until I had to search for an article by title. I see a bit of a pattern. My one site uses 2014 and is a straight install, but the site with the issue uses a 2014 child theme. Has anyone else seen a similar connection?

  • Unknown's avatar

    A relief, of sorts, to know that it’s not just me. I still haven’t sorted the problem. Not sure what you mean by “child” theme. I just clicked on 2014 from the themes menu, after seeing some examples.

  • Unknown's avatar

    @jerde
    Be keenly ware of the fact that this is the WordPress.COM support forum and do not post anything at all that applies only to WordPress>ORG installs here.

    WordPress.com and WordPress.org are completely separate, have different log-ins and run different versions of some themes with same names. http://support.wordpress.com/com-vs-org/

    If you want to answer support questions at WordPress.org feel free to do so at this link http://wordpress.ORG/support/

  • Unknown's avatar

    @inhercups
    You have a WordPress.com blog and nothing about “child themes” is relevant to your blog. What follows applies to your blog:
    The WordPress.com search engine indexes post, pages, and comments content (body text). Unless entered as text in those contents, blog name, post titles, and post/comment author names are not indexed. http://en.support.wordpress.com/wordpresscom-search/

  • Unknown's avatar

    If you want every person to be able to search for their own name then you have to make it a Category and assign that Category to all the relevant posts (not pages) for that same person.

    Organize Posts with Categories

  • Unknown's avatar

    Actually, I do not have a WordPress.com blog… both my sites are self-hosted. So ignore.

  • Unknown's avatar
  • Unknown's avatar

    @jerde
    Right! That’s exactly what I thought. If you want to answer support questions at WordPress.org feel free to do so at this link http://wordpress.ORG/support/

  • The topic ‘Search function not working within 2014 theme’ is closed to new replies.