The forums are closed and will be removed when we launch our new site.
Looking for support? You can access the support system via your account.
Boris Hoekmeijer
Forum Replies Created
-
Boris Hoekmeijer in reply to:
Create “top 10” lists of CPTs grouped by ACF field value(Private) November 11, 2020 at 11:11 am #266003Hi Ross,
I’m okay editing PHP, but not writing it myself. If you can give me some pointers, that would be very helpful, thanks!!Boris Hoekmeijer in reply to:
Create “top 10” lists of CPTs grouped by ACF field value(Private) November 10, 2020 at 9:09 am #265734Hi Trevoer,
thanks for that. I will wait for an update from you or Ross.Regards,
BorisBoris Hoekmeijer in reply to:
Create “top 10” lists of CPTs grouped by ACF field value(Private) November 4, 2020 at 7:53 am #265214Hi Trevor,
thanks for the link, but I’m not sure what I should do now.
I understand I have to enter the field name it concerns:function filter_function_name($input_object, $sfid) { if($input_object['name']=='_company_name') { //udpate this field before rendering } return $input_object; } add_filter('sf_input_object_pre', 'filter_function_name', 10, 2);
But beyond that, I don’t know how to trim it down to 10 and how to sort them by number. I went through the code on the github page that is referred to, but that doesn’t bring me further. Can you help me get this right?
Boris Hoekmeijer in reply to:
Create “top 10” lists of CPTs grouped by ACF field value(Private) November 2, 2020 at 3:36 pm #264938This reply has been marked as private.Boris Hoekmeijer in reply to:
Create “top 10” lists of CPTs grouped by ACF field value(Private) November 2, 2020 at 11:38 am #264903Hi Trevor,
that helps, thanks. List is a lot shorter now :-).However, there are still some things not the way I would want them:
– I want to show only a top 10 of companies (those with the most job openings).
– Each item is now displayed with a checkbox. It should be a list with 1 through 10.Is this possible?
Boris Hoekmeijer in reply to:
Create “top 10” lists of CPTs grouped by ACF field value(Private) October 30, 2020 at 1:17 pm #264759This reply has been marked as private.Boris Hoekmeijer in reply to:
Date filter always produces zero results(Private) June 11, 2020 at 8:21 am #248417Hi Ross,
no, certainly not. It’s a purchased plugin: https://codecanyon.net/item/hbook-hotel-booking-system-wordpress-plugin/10622779.
My developer is going to look into the issues. I will keep you posted.
Boris Hoekmeijer in reply to:
Date filter always produces zero results(Private) June 10, 2020 at 1:39 pm #248263Hi Ross,
I really appreciate your help in this. The date filter: Yes, your assumption is correct. What it is supposed to do, is filter for availability. The visitor selects a check-in and check-out date, and the result should show all the accommodations that are available within that time period.
I will check with my developer and let you know.
Thanks!
BorisBoris Hoekmeijer in reply to:
Date filter always produces zero results(Private) June 9, 2020 at 10:27 am #247989Hi Ross,
yes, it’s very strange.– the availability for each accommodation can be found here: WP-admin > Hbook > Rates. You can see that each accommodation is connected to seasons and rates there.
– the results I expect to see, you can find here: WP-admin > Hbook > Reservations
If you take 15-22 june for example, you can see that everything not green and not pink is available. That means every accommodation except:
– casa kümpel
– villa sonnata
– villa wald (all of them)
– cottage wald
– casa drei mädelBoris Hoekmeijer in reply to:
Date filter always produces zero results(Private) June 8, 2020 at 12:56 pm #247848Hi Ross,
I just checked on the staging site, but it doesn’t work there either. I haven’t made any changes there, just checked the frontend.Can you check why it’s not working?
-
AuthorPosts