Hello guys – here is my issue:
I have a view that is suppose to display a list of 2 of the latest posts (jobs in this case) and added to the home page of the site.
The issue is when I use the pagination to move to the next jobs it just returns the first jobs in the list and no more?
I have 4 post (jobs) in total – so it should rotate between the two sets (Image of issue attached)
Here is the setup:
Content selection
This View will display
Jobs
Don't include current page in query result (tick)
Order by: Field Date – Descending
Limit and offset
Display: 4
Skip first :none
Pagination and Sliders settings
Pagination enabled with manual transition – enabled
Options for manual pagination
Number of items per page: 2
Pagination updates only the view (use AJAX)
slide vertically – 300ms
Filter HTML/CSS/JS
[wpv-filter-start hide="false"]
[wpv-filter-controls][/wpv-filter-controls]
[wpv-pagination][wpv-pager-prev-page][wpml-string context="wpv-views"]Previous – [/wpml-string][/wpv-pager-prev-page][wpv-pager-next-page][wpml-string context="wpv-views"]Next[/wpml-string][/wpv-pager-next-page][/wpv-pagination]
[wpv-filter-end]
Layout HTML/CSS/JS
[wpv-layout-start]
[wpv-items-found]
<div id="latest-jobs-view">
<h2 class="latest-jobs">Latest Jobs</h2>
<!– wpv-loop-start –>
<wpv-loop>
<h3>[wpv-post-link]</h3>
<h3>[types field="location"][/types]</h3>
<h3>[types field="summary" id=""][/types]</h3>
<h3>[types field="ref-number" id=""][/types] </h3>
</wpv-loop>
<!– wpv-loop-end –>
[/wpv-items-found]
[wpv-no-items-found]
[wpml-string context="wpv-views"]<strong>No items found</strong>[/wpml-string]
[/wpv-no-items-found]
[wpv-layout-end]
<div/>
<br/>
<div class="clear"></div>
Combined Output
[wpv-filter-meta-html]
[wpv-layout-meta-html]