Sorry, but we aren’t able to help with custom code requests like this. You may want to look into one of these services:
http://jobs.wordpress.net/
http://studio.envato.com/
https://codeable.io/
Thanks!
I understand that you don’t provide help with custom code. But can you please give me a hint where to start? Point me some direction…
I really don’t know. 🙁 I’m not a PHP developer myself.
Sorry I can’t be of more help here!
Mmh, how’s about your colleague, Mike Jolley? Can he give me a hint?
I could if I actually understood what you’re attempting but I don’t. More loops? A loop needs a query first. And why would you need multiple loops anyway? Why not have multiple shortcodes?
I want to separate featured jobs and not featured jobs on the same page. Featured posts should be displayed first and then not featured jobs in a new row.
If I do this by multiple shortcodes, I can’t filter both types of jobs with the same filter, because filters only filter the jobs which belong to their shortcode. Second problem, if there are no featured jobs, a message shows up “No jobs available”. But below it shows not featured jobs. Looks strange for visitors.
That’s why I need two loops in the same shortcode. One for featured jobs, one for not featured jobs. I would like to query featured jobs and remove these for query of not featured jobs.
I want to separate featured jobs and not featured jobs on the same page. Featured posts should be displayed first and then not featured jobs in a new row.
I don’t understand why you think you need two loops to do this. Featured jobs are, by default, displayed above non-featured jobs already. Screenshot:
http://d.pr/i/bmlg/4Obp8lPM
The job with the yellow background is featured, the jobs in white are not.
Is there some issue with that on your site?
I use the theme Listable, which displays three jobs/listings in the same row: https://pixelgrade.com/demos/listable/listings-no-map/.
I customized the theme so that it doesn’t display an image on listing pages for not featured jobs/listings. But, if featured listings and not featured listings show up in the same row, the design of non featured listings is broken. Because instead of the image there is only white space.
That’s why I want not featured listings to appear on the next row after all featured jobs.
I customized the theme so that it doesn’t display an image on listing pages for not featured jobs/listings. But, if featured listings and not featured listings show up in the same row, the design of non featured listings is broken. Because instead of the image there is only white space.
This probably means that something in your custom code is causing that bug. I’d recommend fixing that instead of trying to work around it by having multiple loops or whatever.
Also, if I scroll through your site right now, it seems everything is displaying fine. Is this because it’s working now, or do you just not have any featured jobs at the moment?
The link I posted was the preview of the theme. Here you can see my site: http://prntscr.com/a4yfjr.
First row contains only non-featured listings. Second two non-featured listings and one featured listing with image. As you see the problem is not caused by my customisation. It’s just the default design, which doesn’t fit to my plans.
Trust me, I need two loops to separate featured listings and non-featured listings in different row. It would be great if you guys could give me a hint how to customise your jobs shortcode.
If you’re convinced you need multiple loops, that’s fine, it’s just not something we can help with (as noted above). We can’t provide assistance with such in-depth customizations. Sorry! 🙁