One way might be to set posts_per_page for the query to 13 and then override the $paged global (before the query is called) to force it to 2 if it is only 1… eg.
if ( (is_post_type_archive('post')) {
global $paged;
if ( ($paged == 0) || ($paged == 1) ) {$paged = 2;}
}
Related Posts:
- start_lvl Ignored in Custom walker_nav_menu
- Why do templates contain so many PHP tag pairs?
- How do I use Shortcodes inside of HTML tags?
- What exactly does “Posts page” do in WordPress?
- Where should I install a PHP library into WordPress so that code in a webpage can activate it?
- Adding a search form inside a div
- WordPress Shortcode and Dynamic CSS
- Load custom field value into div with AJAX
- Blank on static home page?
- How do I edit the php/html for a particular post?
- Multiple pages on one with different HTML
- How to use a frontend URL with a Plugin
- How to display blog images using wordpress in existing project
- Add custom HTML to posts page
- How to display a value from a radio button in the options menu in wordpress
- Custom image upload
- How to display recent posts on home page with custom HTML
- WordPress automatically adds tags when pasting code, how to stop it?
- Placing raw HTML inside a WordPress shortcode
- How to only show page id as body class?
- Slide in Panel WordPress Post
- Shortcode content output but not in correct place
- An unwanted inline style is added to my body tag
- Upload Image in a WordPress page using PHP
- HTML tags in bloginfo description
- Transferring working local PHP site to wordpress – with database (MySQL)
- My form action url is being prepended with a directory that does not exists
- Where in PHP do I move title and meta (date) to bottom of each blog section?
- Using the echo command adds unwanted br tags to source
- custom fields wordpress
- Why the JavaScript code is ignored from wp editor?
- Populate dropdown with Child Pages based on Parent Page chosen
- How to change redirection route to a php page for making it only accessible by logged-in members?
- Why Won’t My Inputs in a form with a Get method work together?
- Input data from email form not going to JSON file
- How to get the value of input hidden html from text editor to custom page template?
- Commenting out unwated CSS/scripts in HTML with PHP
- Make PHP work with HTML tags
- Is this spyware on my site or a real Java update?
- Search WordPress using static html page
- Function returns text instead of html [closed]
- How i can get post data from database when i am getting post id from url in wordpress
- WordPress plug-in for dynamic download link?
- How to remove the h6 tag for the entry-category Class
- Override user-edit.php to design own profile page
- Where can I find the inline-css of my theme header?
- Make textarea required. Help [closed]
- Menu Custom Data Attributes
- Highlight the links without using dropdown
- How to turn each phone number within the $content to a telephone link?
- Creating custom page template from existing PHP site
- wordpress site – using custom database and PHP
- How do I access post_meta key with php?
- Separate array output into a
- Website completely messes up when logging out
- Calling PHP Titles inside Javascript Markup
- How can I use custom menus with a Bootstrap WordPress theme?
- Remove in post content
- Replacing WordPress Icons (menu,icons32, etc)?
- html form: redirect page after form completes submit function and posts data
- HTML Form Question
- WordPress Post Block Element not properly parsed with the_content filter
- Hide A Class and Add Custom HTML Code Using WordPress
- Add other class content with reference class value
- Configure WordPress to Use Responsive Image Rendering
- How to use data URL in WordPress?
- HTML comment cause issue in functions.php script root
- Slug duplicates once clicking on link
- How to find and delete a menu item in php?
- My single.php page skips the first div tag
- Custom woocommerce payment gateway – Form
- opens like sitename.com/URL
- WordPress Slider is not working
- How to display post meta bellow every posts
- Make a full-width wordpress page
- Display child-page links in sidebar on both Parent Pages AND Child Pages
- Switch position of elements in the footer [closed]
- Add Text Area To Child Theme’s Home Page
- Can’t get_users info by using json_encode
- scroll scrpit to particular button position to next id when click button
- how to remove replicating a tag inside loop?
- Add Alt attribute to image served with php
- How to add thumbnails from recent posts to owl-carousel in wordpress automatically?
- WordPress HTML Helper
- echo variable containing html and the_permalink();
- Trying to customize wordpress drop down categories
- get_post_meta is always empty when I use wp_mail
- Parse error: syntax error, unexpected ‘echo’ (T_ECHO) in C:\xampp\htdocs\AttendanceSystem\resources\php\method.php on line 250 [closed]
- Implement “No related posts for this entry” into the loop?
- ACF repeater image in video poster with jquery
- Load Meta box value into div AJAX [duplicate]
- How make wp_nav() with my css?
- Advanced Custom Fields Show PHP in Text Areas
- Is there a better way to output HTML as a shortcode?
- Custom HTML/CSS Theme into WordPress – SEO considerations
- How to enqueue structured data as file – jsonld file seems not to work
- ‘This Field is Required.’ is Not Displaying on CF7 [closed]
- Slick slider not working on wordpress
- How to modify default tags in wp_head()
- #038 & wordpress Help