I would use the is_paged()
conditional inside index.php
to load two separate templates containing your layouts. Something like this:
if ( is_paged() ):
get_template_part( 'content', 'first-page' );
else:
get_template_part( 'content', 'paged' );
endif;
Assuming you have two templates, content-first-page.php
and content-paged.php
.
Edit: If you just want a different template for part of your index page, try this:
if ( !is_paged() ):
get_template_part( 'content', 'middle' );
endif;
Put that wherever you want the extra template to load.
Related Posts:
- Change admin startpage to Pages-page?
- Is it possible to set a page template on a dynamic home page (articles list)?
- Can’t change parent page
- Redirect “Sorry, you are not allowed to access this page.” to Home
- How to display thumbnail and excerpt of a page on homepage?
- Is it possible to have a landing page based on the visitors location?
- Making a wordpress page the index on the site?
- How to change only the home page / front page url on wordpress
- is_home() returns TRUE on page template
- Site url is not showing the home page
- How can I get the homepage from the loop?
- Updated WordPress, now getting errors on site
- My custom template page not loading content inside it?
- Add a static page that links to homepage
- Can I change the “Home” text in the menu?
- Parent page shows no child content
- Displaying posts on homepage – Template Page
- creating single page with 2 columns while theme is 3 column
- Limit the amount of main pages
- On the list of Pages, clicking to Edit a particular page redirects to the list of trash
- Different template parts when on different pages
- URL redirect to home page issue in word press site
- How to change default home link title?
- Static Home Page resets to Front Page
- Why my home page doesnt work?
- How to detect if some page template has been selected
- pagination does not work with query_posts. Help! [duplicate]
- How to display text of a page in home or custom page?
- How to set a default page for load first time?
- How do I create a page that displays the homepage?
- For some reason my posts are not showing up on my front page [closed]
- How can I keep the content of my pages version controlled?
- How to load JS and CSS only on specific Pages using is_page()?
- Listing pages which uses specific template [duplicate]
- How do I convert a page’s title to lower case?
- page title, parent tilte and grand parent title
- How to add jQuery script to an individual page?
- Manual excerpts for pages not working on Search
- How do I set and list page_template with wpcli?
- How to get post or page excerpt using post_excerpt
- Different fields in My Profile page depending on user role
- Object gets unwanted width and height
- WP is not using the select custom template.php that its selected for a page
- What’s the most minimal way in which a page can be hooked into WP?
- Associate Page with User
- Limit the number of pages created by the paging
- One page – Multiple parents?
- Check whether the child page has siblings
- How to re-order pages en-masse
- wp_dropdown_pages default value
- Creating custom page
- How to create a metabox that will list all my pages in a dropdown selector?
- Personal page for every user (not just authors)
- Relative instead of absolute links in pages?
- Produce a plain page with only a message
- load common thank you template with different content for different pages
- Password Protected Page Title
- Send mail from page using wp_mail
- Page displays content from different query?
- Can’t locate a hidden private page
- Making audio playlist by getting page’s parent’s ID
- Restricting Pages based on Hierarchy and User Role
- page-name.php doesn’t execute on custom template
- How to retrieve attachments from child pages of a specific Page?
- how to display sidebar on pages in wordpress
- page.php is not called, falls back to index.php
- Custom page in archive page for certain category
- I would like my page editor to be sorted by date created, or updated, instead of in Alpha order, is this possible?
- Show FormCraft form on page open [closed]
- Why last blog post excerpt is shown instead of meta description? [closed]
- Prevent non-admin to add/create new pages
- How do you implement a page template automatically being applied to a page?
- Make “default” wordpress pages & features unaccessible
- Set a variable to using in redirected page
- Show parent & child pages with featured image and hide the current page
- Publish page by invoking submit via jQuery
- One author not showing in Author drop down list while editing page
- WordPress Page Protect forwards to Admin Login
- How can I edit pages from my local environment?
- Modifying .page-content background image
- “Can’t update in WordPress”
- Why can’t pages be categorized / tagged?
- Pages in wp-admin is not found 404
- Shortcode runs when editing page
- List of pages of a specific user
- WordPress dosn’t save page/post updates
- Multiple meta_key with get_pages
- Sup pages can’t be found
- How to use wp_dropdown_pages or wp_list_pages to accomplish a menu like this?
- Send e-mail from admin area to adresses in custom field
- Bundle a page with custom url and a function
- Custom Upload Adds Ghost File
- How to exclude sidebar from pages?
- Widget & storing a Select box choice
- disable trashability for certain pages
- If searched in a category show different 404 page
- How can I cycle posts with a #next and #previous script?
- Using Page/Post Slug In Link / URL
- List of pages – AJAX load more
- How do I count the number of pages a user has seen on my site, and force them to log in after a certain amount