You need to set the divs to be 50% via css when by using @media under 1100px. Then they will load at 2 per row. You could also add a class to the code in the separator that it only shows over 1100px and add a 2nd if statement for every 2 that would be hidden on everything over 1100px. seeing as we cant see the actual loop code i can’t suggest which divs to apply the css to
Related Posts:
- Inject post (from specific category) between posts in Loop
- How can I add extra word in permalink when someone click download button?
- remove post that has no content
- How to avoid duplicates when creating recent network posts
- What file have I to create in my custom WordPress theme to show all the post belonging to a specific category?
- WordPress query undefined offset in loop
- Only show first image in foreach loop
- Do not duplicate posts with multiple categories in multiple loops
- How to pick “full/thumbnail” images in the loop?
- Wp Query : Order by distance lat,lon
- Display articles with a different template in the home page | Solved |
- Is there anyway I can call the year once?
- Responsive loop with 3 columns inside row then 2 columns
- How do if all posts has this category ID then do this
- Get current_post in reverse order with pagination
- Insert div after every three posts in home.php [duplicate]
- Automatically create a loop for post ID
- Excerpt all post content Content Same Size without word cutting off
- How to create a loop that will display one post and stop?
- How to use a conditional statement in a post loop but not count towards the “posts_per_page” if false
- Count the number of matching post names in foreach loop
- How to add active class to custom menu using while loop and wp_list_pages
- Print html when custom field has value inside while loop
- delete an array element when its date expires
- post expire after x days
- New Plugin Review
- Use template for posts with a particular category grandparent
- How do I display the function the_content in this loop?
- How to get to a specific position in wp_query?
- Facebook “like” open graph meta in header.php
- “before delete post” action fire when the post is updated?
- Automatically add custom CSS to new posts using a category template
- Query all posts of a custom taxonomy term
- Displaying the last post on static homepage
- Using foreach loop breaks
- Can’t get wp_insert_post to work
- Loop with slider (slider not loading)
- How to hide all child pages with post_query?
- How to sort posts based on the value (number) of a post’s metadata?
- 200 Rewrite blog post links
- Automatically create child pages and grandchild pages when saving a (parent) page
- Second transition_post_status hook fired instead of the first
- Displaying Woocommerce Product Category in WordPress
- Woocommerce : Can’t get product info in loop
- Custom posts in different columns style
- 404 error when I acess the second page of post-type
- Which PHP page is the Default Posts Page
- Can we count the WordPress Loop
- retrieve post data and insert it in seperate static html page without WordPress
- Counting Search results, and displaying the offset per page
- Copy taxonomy terms from one post to another programmatically
- Last class on last headline?
- How to catch wordpress post ID when it’s published
- Find Site ID From WP_Post
- WordPress upload file size error even after raising php limits
- Displaying list of posts in category page
- Echoing a CSS class based on category of post in a list
- How can I get “Previous” and “Next” to show in the navigation besides the links?
- Saving a post ID to use in a form elsewhere on website
- Php code error in wordpress if else statements [closed]
- pagination broken – clicking next displays “page not found”
- remove specificly the last tag in all posts
- Add posts to custom table in database instead of wp_posts
- How to show categories and date on posts
- How do I get pagination for get_posts() in WordPress or do I have to rewrite the whole code?
- Check if current post in loop is last on current page
- Query on a repeater date (acf)
- Trying to show the category of a post in the post display
- Split post or page content in two or more columns
- Check the database for a postmeta field
- Send POST request to Flask app from functions.php file
- Send Notification after post published was working but stopped after the last WP update
- adding or removing endforeach; throws error!
- Adding PHP to an if else loop
- ACF background-color per post in a WordPress loop
- How to insert text into post based on category – via single.php file
- Add wp posts to cutom masonry grid
- Generate random access token to a post page
- Filter loop by ‘price’ with meta_query
- Problems with the WordPress loop [closed]
- Loop returns more items than exist?
- ‘posts_per_page’ in costum page type
- Modify category archive page loop on functions.php
- WP_Post is not from correct array
- Post formating on Home page
- divide custom field values in div every two values
- List of child pages fetch next results at link click
- Limit ads appearing more than three times
- Auto create description in post
- Different image and background color depending on page type
- Inserting A Feed and Sidebar into an HTML Page
- Pagination on Custom Loop
- Custom single.php files for different post formats
- Troubleshooting “loopback requests that take too long”
- How to modify this function to exclude also the post belonging to a specific category?
- How to list all the posts in a personalized page? WordPress
- Help with if/else loop [closed]
- Set post to draft if matching word is found in the post
- WooCommerce: write featured image dimensions to custom fields in product’
- transition_post_status hook, works – but not if the post is new