I can – sort of – solve my problem by cheating.
One of the reasons I don’t want to dig around in the code in index.php is that it serves both as a sort of homepage for the blog and also as a search results page (in this site searching through posts is the only kind of search we care about).
So on the menu I can point the href for the Blog link to mydomain.com/?s
instead of mydomain.com/blog
. This shows the old list of posts and does solve the problem with no coding needed.
But I’d still love to know why it used to work with mydomain.com/blog
.
Related Posts:
- posts page – different lengths of excerpt
- how to show all post in my page-grid.php template page
- Single post as homepage?
- How can I pass the ID of a post to a page template by clicking a url?
- Switch to page template when using post permalink
- Get Page ID of blog homepage
- Why won’t pagination work?
- Prevent 404 of Author pages without posts
- Single Sidebar; multiple templates! How?
- Is it possible to query a category with specified posts?
- How to arrange different post categories in template
- how to style an individual page in a category [duplicate]
- Redirecting posts in WordPress to a specific page
- custom post type single page template not working
- WordPress “Posts Page” isn’t showing template dropdown
- Determine if page is the Posts Page
- Keyboard shortcut for updating a page or post?
- Apply the_title() filter in post & page title, but not in menu title
- Difference between an archive and a page listing posts
- The next_posts_link() works only with original $wp_query
- How to get Images included in Post
- Skipping first 3 posts in wp query
- How to display the page title/content in the Posts page?
- Callback for wp.autosave.server.triggerSave();
- How can I see a list of pages and post where my custom Gutenberg block is used?
- disable password protected page for logged users
- RSS for Pages Instead of Posts?
- Set number of article per number of page
- Pagination for Pages and Posts
- Overview with latest edited posts and pages
- Why does `url_to_postid` return 0 when testing `page_for_posts` Page?
- Edit menu item title from edit page/post
- How only display all post related to category
- Changing my permalink structure – will new layout conflict with existing page?
- Private Posts/Pages & Search
- White Blank Page when Updating and Publishing Page/Post
- Posts vs. Pages
- Can’t get the_content of the parent page from its single post?
- Disable most recent & view all (TABS) on nav-menu.php
- Why content_arr[‘extended’] removes paragraph tags?
- Add Word Limit to Posts
- How to insert 2 args into 1 Wp_Query for a slideshow
- Post categories to pages
- Second comments section for one post/page
- custom post template file not shown, instead all the time 404.php
- 404 error on default post type and default taxonomy fronted page
- 2 dynamic sidebars registered, not showing up
- How to make default “Privacy Policy Page” a normal page?
- Tell WP to use a specific template file in posts
- How to detect when admin user is on the All Posts page?
- How to make different custom post layouts?
- Total number of posts in query (category/tag/author/search results/main page…)
- Custom Permalink Structure for Pages & Posts
- Getting a “404 Not Found” error when “Preview Changes” is clicked
- Is it possible to give the user the chance to select between two single template files to use in a post?
- How to identify and hide/remove an element from a WordPress page [closed]
- New Posts and Pages Won’t Save
- My Custom Post Type Still Using index.php
- Post/page title to permalink transformation – what is behind the scenes?
- Would a “hub” page work better as a page or a post?
- How do I disable the “by author” hyperlink on posts?
- Changing wp_link_pages() to “Next Page” and “Previous Page” buttons?
- add_rewrite_rule and template redirect not working
- Page of posts made to look like homepage
- How to link post titles on page A to its posts on page B?
- Changing permalink of WordPress
- Permanently deleted posts still exist
- Create a List of Widgets, where each widget holds three attributes
- Is there a way to know when a page has been updated and do some action only once?
- Please help a newbie with blog page issue?
- Related post not showing table of content
- Added a ACF field to custom page and want the results to show as a column in admin
- Deleted page still shows and is showing posts archive
- How to create page with post content in it?
- post and page and custom post type
- WordPress for business site
- How do I set content in my pages so that it remains permanent while blog posts are added below?
- Permalink base only for posts
- Custom post type template not called
- Page 2 has no posts?
- WordPress URL question
- Any difference betweenn posts and pages for one page?
- Theme does not respect spaces between paragraphs in pages
- Show only top 3 posts from 3 categories in order on home page
- Converting Posts to Pages
- Custom template for different post types
- Posts page template: How can I edit the markup for this?
- 404 error on every post and page other than home
- get next/previous post name
- Get post title of faulty link on 404 error page
- Get current post’s child page?
- The next_posts_link() works only with original $wp_query
- Which hooks are essential for post templates?
- Limit amount of pages shown in pagination within wp_query
- how to show all type of author posts in author page (SOLVED)
- How to make posts appear under pages
- WordPress Page Column Problem [closed]
- What function does the loop of displaying posts?
- Is there a block to print post link standalone in a block theme?
- How can I locate the single buddypress forum post template? [closed]