Forum Replies Created
Okay, I think I understand. There is no file that says the MySQL/WP database command when you call “project_query”? You just need to look the through the aforementioned files for instances of “add_filter(‘project_query’…)”?
Ohhh, okay. And I find that filter somewhere in the functions file of idcommerce, or is that a WP core file?
I see the file calling apply_filter(‘project_query’, $args). What does the tag ‘project_query’ refer to?
Nathan, found what I was looking for! Thank you! I noticed the filters call the hook “project_query”. I’m not too well-versed on hooks in WP, but is there a file that tells what the hook “project_query” means?
Hey, Nathan. I have a follow up question to this original one. When you sort projects, it says “www.url.com/projects/?project_filter=xxx&id_category=cool”. What file is responsible for processing “project_filter” or “id_category”? What files knows what to do with “project_filter” or “id_category”?
To activate PayPal Adaptive, I go to the payment gateways in the Ignitiondeck Commerce menu?
Got everything working smoothly, Nathan. Thank you yet again for all the help!
Ah, okay. For the sake of example, for the dashboard link for “?edit-profile=”, what file or what part of -enterprise.php tells the website to pull up the template _editProfile.php in idcommerce?
Got everything up and running! Thank you!
Any idea of the files responsible for “Days Left” postmeta, or should I just look around the plugin to find the files?
Also, one little thing I noticed. When sorting projects, you cannot select both the project category and the method “Most Recent”, “Amount Raised”, etc. Is this an error?
Ahhhh, Nathan, I finally grasp what you were saying after looking at the MySQL. I also guess there are different files that submit postmeta data and update the postmeta data concerning the filters?
Ah, I see. And the files that ID uses to grab the postmeta are not ID files, but WP_Query? Or are there names for the files ID uses? Sorry if I keep repeating myself. I’m just confused.
Ohhh, okay. So, for the filters that ID uses, like “Goal Amount”, you guys don’t have your own unique filters? I guess I’m trying to understand how ID has these filters. I thought they were unique filters, rather than preset WP queries.
Oh, no worries! If you can just point me in the right direction, that would be more than enough.
Maybe? I wanted to make a function that is amount left divided by days left. I created a function in class-id_project.php that calculates that.
In addition, I added the ability setting the filter to nav-above-grid.php. What do I need to do to have the filter I put into nav-above-grid.php sort projects accordingly?
Hey, Nathan, I got everything working perfect. Thank you a ton for your help!
I’m trying to find what file spits out the dashboard part that includes the ‘500 Settings’ page in the “Appearance” set of pages.
So I read up on get_template_part, and found that loop-project.php calls get_template_part(‘project’). However, I do not see a project.php. Is ‘project.php’ a different file?
Ah, okay! Thank you! Editing that file will be enough to enable multiple “Featured” projects, or is there another set of file to also look at?
Nathan, one last question. When, in single-ignition_product, it says
What template is it referring to, and where can I find it?
I’m using 500 Classic. On the homepage, you are allowed to display a “Featured” project. I was wondering where the code that marks a project as “Featured” is located. I am trying to display multiple “Featured” projects, but right now, when I go to the settings, I am only allowed to select one.
Hey, Nathan. Found what I was looking for! Thank you for all the help!
Thank you for pointing me in the right direction, Nathan. I am using 500 Classic. I found project-summary.php, but cannot find single-ignition_product.php. Does it possibly go by another name in this theme?
Oh, okay. I know you said project pages are a bit more complicated, but what files handle the display of the project page?