get_template_part( 'content', 'none' );
will look for:
content-none.php
content.php
Twenty Thirteen does have content-none.php
.
In general this is organized in such way to support dynamic lookups where first two-part template might or might not exist and fallback to more generic template, if necessary.
Related Posts:
- Neither the_excerpt() nor the_content() works properly?
- Content instead Excerpt on term
- how to limit search to post titles?
- How does WordPress search work behind the scenes?
- Remove some pages from search
- Extend WordPress search to include user search
- WordPress blog with 30 000 posts: poor search performance
- How do I filter the search results order?
- Link to search page without search parameter
- Search/Replace for editor in HTML-mode
- How to pass a search $_GET parameter to a new custom search page?
- Do I need to sanitize WordPress search query?
- Add custom parameters to JSON API search query?
- How to stop _wpnonce and _wp_http_referer from appearing in URL
- Return all Tags from search results
- Search results with custom loop don’t update when paged
- Does WP search natively return results sorted by type (post, post type, page, category…)?
- How do I properly redirect outbound links with special characters
- Refine Search Results
- pre_get_posts and search query for admin
- Sitelinks Search Box in Google and urlencoded search string
- SQL query to get adjacent posts from search query
- How to specify multiple search columns for wp list table search
- Template Page Content Made Searchable
- WordPress search issue with searching html tags
- Search result by range?
- Change loop.php for empty search customization
- Advanced Search by minimum/maximum values
- How to search in two different wordpress blogs by using a single searchform?
- Alphabetical search
- Search in Two Categories
- Custom Search Query running on every page
- Use search in fancybox
- Two Search Boxes: one all content, one only titles
- Using ElasticSearch on WordPress
- Keep query string in url after executing a serch
- How can I remove the search window?
- Customize search page
- Customise search page depending on result
- How do I make search only search in post content?
- How do I use a block to display search results?
- How to make search include data from wp_postmeta?
- Use “search” in permalink?
- Can I change the default search behavior “OR search” to “AND search”?
- Risk of sql injection for custom search form
- Filter post_type thumbnail in Search result
- Home page shows recent post, serps rank post within homepage
- Knowledge base high performance Live Search
- How to set empty search to load homepage template and not index.php
- custom search results affected by _REQUEST set
- How to implement search suggestions into search bar?
- Modifying post content with the_post action hook
- Trying to remove plural ‘s’ from search Query but it’s just removing every letter of the end – what am I doing wrong? Thanks
- Limit search to a specific folder in website
- Blog search just returns to front page (not search results!)
- How do i append UNION SQL Query with default search query
- How to insert meta keyword to search result page
- Custom search Dashboard widget
- Disable character’s replace in search
- WordPress Search Form Issue | Misleading search URL. | Pointing to wrong URL
- Echoing home_url() returns current url in searchform.php
- Custom search page wont allow URL params
- Remove Page Timestamp via functions.php so it doesn’t show in Google Search Result Description [closed]
- Use pre_get_posts to display search results by meta in specific order
- Prevent search query from taking place when using Google CSE?
- Included posts on a page searchable
- Site Title in my Search URL
- I want empty search returns to home page in my wordpress
- Prevent searches less than 4 characters
- Search wordpress using three different drop down menus
- search: get minimum number of post for each post type
- How to get search result as image rather than page
- Search results – 404 error after hitting enter
- Redirect wordpress search query if its a tag
- Is it possible to show subdomain posts in main domain search result?
- Replacing word in wordpress Search not working Properly
- How to add search box to table results in admin page [closed]
- how to disable autocomplete search on wpLink?
- How might I go about using the API to search for a user by email, but ensuring that it is an exact match?
- Add CPT to search results with pre_get_posts
- Replacing wordpress search with custom code
- Change output URL Search module
- How to show custom post type by either single meta_value or multiple meta_value(s) using WP_Query?
- search for single meta_key with numeric array of meta values
- How to customize default wordpress search query
- Customizing Google’s Search box in WordPress [closed]
- I’ve messed up the admin search functionality. Help!
- meta field search too restrictive in pre_get_post() for custom search
- Custom search results page not showing excerpt
- Error when searching without any results
- Listing parent section in search results
- Search results: How to add direct jump to anchor?
- Limit search to posts and pages
- Adding attributes to the core search block form
- How make Autocomplete with wp_query in post_type attachment
- Search results truncated
- “feed” added at the end of my URLs
- Disable – Post search field – for non-admin roles in WP dashboard
- Search results heading and counter not working – Oxygen Builder
- Blocking spambots from Search form