vityacomf
Forum Replies Created
-
Thank you!!!
- This reply was modified 7 years, 1 month ago by vityacomf.
By your example, you used the code:
echo do_shortcode (“[jobpost posts = ‘2’]”);
in file – archive-jobpost.php
It works.
OK
I deleted everything.
Install pure wordpress-5.1.1-ru_RU + your plugin.
And there is no pagination, I did not change any file https://euro-comfort.xyz/jobs/
I can send you an archive of the site + db?
I found no difficult question, the answer to which will help me 🙂
http://www.domain.com/jobs/ – this is the default link plugin
There may be a pagination somehow added ??
By the template, the pagination is listed there, but it seems that it is not executed
get_simple_job_board_template( ‘listing/job-pagination.php’, array( ‘job_query’ => $job_query ) );
- This reply was modified 7 years, 1 month ago by vityacomf.
I found where to put the pagination code.
But the usual navigation when moving to the next page crashes the error that such a page is not found
Now I know exactly where to insert the pagination code, only I need to know which function to call and with which argument
https://euro-comfort.xyz/jobs/
Your shortcode is not suitable for correctly displaying what I want.
For example, if you go https://euro-comfort.xyz/job-location/poland/
This is already a page filtered by the category of the country, and then filters are not needed and pagination is needed, but don’t insert the shortcode here.
I need a function that creates a pagination after the output of all posts
while (have_posts ()):
the_post ();
endwhile;It seems to be the usual cyclic output of posts, but I can’t make it into pages 🙁
The shortcode doesn’t suit me. I need a function to call to always display 10 job posts.