Linking Contractors with their Projects
This topic contains 15 replies, has 3 voices, and was last updated by Stiofan O’Connor 8 years, 4 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
October 31, 2016 at 3:03 pm #295100
Hello,
I have been trying to link Contractors with a custom post type Contractor projects. I have a few issues and I’m not sure how it works:
1) Is it possible to resort “Go to: Contractor”. I don’t see the area where I an move it up or down in the sorting. See attached.
2) On mobile, it’s not possible to search for the company. Am I doing something wrong? They need to add projects from mobile phones. I can’t write or search. See attached.
3) Duplicate categories. I like this feature a lot because it wasn’t making sense that people could not link back to the Contractor. People were lost. What is going to happen with my existing projects. If I move everything to Contractor Projects, then I will have this tab “projects here”. I need to hide this tab then and I still need that custom post because that is how they add projects. See attached.
Thanks for your help.
Matt
October 31, 2016 at 3:06 pm #295105This reply has been marked as private.October 31, 2016 at 10:15 pm #295358Hi Matt,
I’ve flagged this for the developers, especially for point 1 and 2, because we will need their help.
Point 3 to be honest, I haven’t understood the question… Please advise.
Thanks
October 31, 2016 at 10:37 pm #295367Hello,
I will try to explain #3 better…
3 months ago this was created by your developers as a custom post type. I think it was before I could do this in the settings. I needed the Contractors to be able to Add Projects for their company. So, they fixed it this way and it works perfectly until now.
I will need to hide this tab because I will move all the “projects” to the linked “contractor projects”. After I move them, I will have this tab called “projects” — but I don’t need it anymore. All the projects will move to the “contractor projects” tab. So the “projects” will be empty.
Essentially, I need to hide that tab “projects” . I don’t know how to hide it. Does that make sense now?
Thanks Paolo.
November 1, 2016 at 11:14 am #295599Hi Matt,
#1 thats not a sortable option, you would need to play with the priotity number for exmaple
add_action( 'geodir_after_detail_page_more_info', 'geodir_cpt_link_display_link_business',1 );
or
add_action( 'geodir_after_detail_page_more_info', 'geodir_cpt_link_display_link_business',100 );
and remove the old link:
remove_action( 'geodir_after_detail_page_more_info', 'geodir_cpt_link_display_link_business' );
#2 seems like a bug, i will update you when fixed.
#3 looks like we added code to your child theme functions, i have commented it out for now.
Thanks,
Stiofan
November 1, 2016 at 12:53 pm #295683Hey Guys,
Thanks for getting back to me. I’ve been working on #3 and reading the forums with no luck.
So, that features is exactly what I was looking for. I never knew about it. The only issue I am having after testing is how to control this widget area. There are just two things that don’t work.
1) I want to make it 2 columns like the rest of the site.
2) Featured should always go to the top as they are paying.Screenshot below and link.
If you could advise on that part, I’d appreciate it. Thanks again.
Matt
November 2, 2016 at 5:31 pm #296863Hi Matt,
#1 it should be, if oyu provide FTP i will add a updated CSS file to fix.
#2 I blieve this is the default sort, try installeing evnets addon, then under GD>Design>Details>Linked event settings, you should be able to control it from there.Thanks,
Stiofan
November 2, 2016 at 6:57 pm #297003This reply has been marked as private.November 3, 2016 at 12:23 pm #297378ok there was a small bug in CPT addon i have fixed, the sort rules follow the related listings settings, so you can disable events.
I did comment out the code in your child theme the other day, someone must have undone it or restored that file.
The code u want to remvoe from your child theme functions is: add_filter('geodir_detail_page_tab_list_extend', 'geodir_detail_page_tab_list_extend') ; function geodir_detail_page_tab_list_extend($tab_array) { if ( 'gd_place' == get_post_type() ) { $tab_array['projects'] = array( 'heading_text' => __('Projects',GEODIRECTORY_TEXTDOMAIN), 'is_active_tab' => false, 'is_display' => apply_filters('geodir_detail_page_tab_is_display', true,'projects'), 'tab_content' => ''); return $tab_array ; } else {return $tab_array ;} } add_action('geodir_after_tab_content' ,'geodir_my_new_tab_content'); function geodir_my_new_tab_content($tab_index) { if($tab_index =='projects') {echo do_shortcode('[gd_listings post_type="gd_contractor_projec" post_author="current" post_number="10" add_location_filter="0"]');} }
Stiofan
November 15, 2016 at 1:05 pm #304157Issue 1 and 3 are fixed. Thank you!
Can you provide an update on issue #2?
2) On mobile, it’s not possible to search for the company. Am I doing something wrong? They need to add projects from mobile phones. I can’t write or search. See attached.
November 25, 2016 at 7:40 pm #311063Hello,
Can you let me know about #2? We are unable to add anything on mobile devices without this feature working.
Thank you.
Matt
November 28, 2016 at 4:26 pm #313163That has been fixed and will be in the next release.
Stiofan
December 3, 2016 at 5:54 pm #318112Hey Stiofan,
I checked now with the update. It’s working. I appreciate it! Enjoy your weekend.
All my tickets can be closed out. None of them are pending and all are fixed.
Thanks again – Great product!
Matt
December 3, 2016 at 6:02 pm #318116Hi Matt,
You are very welcome and thanks for the feedback, if you have not already we would really appreciate a review (it helps us grow) https://wordpress.org/support/plugin/geodirectory/reviews/?rate=5#new-post
Enjoy your weekend too! 🙂
Stiofan
December 3, 2016 at 6:16 pm #318119See attached. Hope you like the review. I mean it all. You guys have done a great job. Very impressed.
If you want a review on your website, I can do that too. Let me know and I’ll write something else up for you.
Matt
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket