Forum Replies Created
-
AuthorPosts
-
gteigland
ParticipantThat did it!! Thanks!!
gteigland
Participantok gotcha that explain much of the confusion. Thanks!
Gene
gteigland
ParticipantSo we are still having issues with this as it deals with result numbers. Let me give you a specific example that I think will help and make it easy to understand.
1. So in the MAIN search bar I’ve put the custom post types “Cameras” and Manufactures” and including ALL custom fields. See screenshot here:
https://www.awesomescreenshot.com/image/3534869/e214f40debbb8a0a221bbb7d858c744d2. When I type in AGFA in the Manufacturer box I get over 17 pages of results
https://www.awesomescreenshot.com/image/3534872/86cc4b938e5cd8e0b97ba66c14d85b8d3. However when I do the same in the main search box I only get 10 pages of results
https://www.awesomescreenshot.com/image/3534880/614f1ddd7161a425d77ced3e0768c3ca4. As you can see I’ve set my limit to 10000
https://www.awesomescreenshot.com/image/3534877/3c898e65f0273e0ec92c73b491210355We are having this issue on other similar search items. We just aren’t getting all the results that we should.
ONE MORE EXAMPLE: When you type in AGFA in the manufacturer box we only get 170 results but there are over 300 in our database. This camera is AGFA but does not show up in our search results when we type AGFA in the manufacturer field. We get even less results on the main search box on top.
http://wp.mckcamera.com/cameras/record-iii/Please advise.
gteigland
ParticipantWe seem to be having the same issue for our cutom Manufacturer Field. Where can I change this so I don’t have to bug you anymore with this.
Thanks!
gteigland
Participantok thanks!
gteigland
ParticipantGotcha. Makes sense. Thanks!
gteigland
ParticipantYou’re the best!! Thanks!
gteigland
ParticipantI went ahead and put in my rating. Sound good. Thanks again and have a great weekend!
gteigland
Participantwow that is genius! thanks so much. If you ever had this function into your pro plugin you will make a lot of people happy. Thanks again for your GREAT support!!!
gteigland
ParticipantAs you state:
“they store serialized information as a reference to some other field/object”
is there a way to add that code into your plugin so it knows how to translate them?
This is the code i use to have them show up as text within my template file: (twig)
{% for item in post.get_field(‘manufacturer’) %}Here’s the full php call:
<?php $manufacturer = get_field( ‘manufacturer’ ); ?>
<?php if ( $manufacturer ): ?>
<?php foreach ( $manufacturer as $post ): ?>
<?php setup_postdata ($post); ?>
“><?php the_title(); ?>
<?php endforeach; ?>
<?php wp_reset_postdata(); ?>
<?php endif; ?Heres a link to their documentation if that helps:
https://www.advancedcustomfields.com/resources/relationship/
https://www.advancedcustomfields.com/resources/acf-fields-relationship-result/gteigland
ParticipantOk so this is a HUGE Necessity for me. Can I hire you guys to fix this? Otherwise my searches are pointless. I need to be able to search within these fields.
Think of it this way. If you are searching for a product and need to search by manufacturer. Very common thing. I’m open to suggestions if there is another way to do this. is there way a translate them like ACF does. Because they obviously translate them.
Also im sure there are many others that need this function.
Gene
-
AuthorPosts