You could accomplish something similar via custom javascript on the page. It would allow the user to move through the divs (five at a time) while remaining on the same page, similar to a carousel. The code would work something like this:
- Hide all of the divs by default (via css)
- On page load, loop through those divs and show the first five.
- If there’s more than 5, add some pagination links/buttons to allow the user to “page” through the still hidden divs.
- When the user clicks one of those links/buttons, your code will again hide all the divs, then loop through them again, revealing the appropriate set of 5. So, for example if the user clicks on “page” 2, then your javascript needs to reveal divs #6-10.
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?
- 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?
- 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
- How to convert select to HTML with PHP tags inside of it [closed]
- Add Codepen animation as Preloader to WordPress
- Path for php file for inserting data through html form
- Widget back end radio button issue
- php within html within php
- Add shortcode in my div
- php esc_html_e with an html link inside not working
- Using ob_start and ob_get_clean with wordpress shortcode
- WordPress wp-admin redirect and exception
- PHP contact form not redirecting [closed]
- Creating an image from a custom field
- WordPress forms submissions and PHP files
- Function Display article [closed]
- Shortcode displaying at the top of the page [duplicate]
- Is it possible to isolate and use WordPress functions outside of wordpress
- How to get the second slug of a page url?
- custom add note meta box with add button in wordpress
- List sub categories and corresponding posts of a parent category
- population category dropdown and sub category onselect
- Search bar for wp menu
- Executing php on button press
- Shortcode in Shortcode/HTML Graphics and Pictures
- Using Google Analytics in an enqueued JS file
- Add Link to PHP message
- WP Website is shown in HTML
- How do I disable cache for a certain page?
- Mysterious letters appearing at the top of a few pages
- Current WordPress Page Title as Search Parameter into A Tag
- If user has clicked link add class and store using PHP/WordPress
- How can I edit the final HTML structure of the whole web page
- Install functionality for push notifications but WP-Theme has oddly-named, hidden source files [closed]
- AJAX and custom pages
- HTML Formatting “single_term_title()”?
- how to add functions to my function.php using a child theme?
- How to Protect a private folder inside uploads folder, if User is not Logged In?
- How can I create a shortcode from an html and php code written together
- sessionStorage saves input value in browser but it is not loaded in the form field
- Changable favicon
- Allowing HTML elements in title widgets spacing problem
- How to include different html tags in the header for different pages?
- Use PHP to inject HTML into before page renders?
- wordpress form action page not found
- How to make a parent page for author.php?
- Multisite – Display different header content based on which site is accessed
- html to posts, jpg to featured image, zip file contains jpg and html
- How do you change the tag font size in the repeater-template.php [closed]
- PHP tag in post content makes wordpress go crazy
- Font-Family does not looks like how it should be [closed]
- How to only fetch certain Tag ID’s
- Where to find the html for WordPress site? [closed]
- RegExp to EXCLUDE strip HTML (FOR SOMME) comments
- wp nav menu without label
- Pass the updated value of aid from form using ajax
- Show contact 7 form in popup
- How Can I Center the Logo in the Navigation Menu? [closed]
- Arrange Category post manually when displayed
- how to manipulate HTML parameters using PHP conditions
- Display wordpress post to static website in the footer
- How to edit homepage in WordPress?
- HTML in PHP problem [closed]
- How to customize posts in WordPress by using HTML and CSS?
- Header location [closed]
- Add multiple HTML attributes to an Elementor button
- Saving meta box data from selected option’s value in database is not working
- Word press – JSPDF – Sending PDF as attachment from wp_mail – Special characters