Aldo
Forum Replies Created
-
Forum: Plugins
In reply to: [Live Edit] Edit button removed after updateSame issue hier.
Edit Button removed after update.Any idea?
Forum: Plugins
In reply to: [Regenerate Thumbnails] Deleting old thumbsThis one deletes the old ones:
https://www.ads-software.com/plugins/force-regenerate-thumbnails/Forum: Plugins
In reply to: [Enhanced Media Library] Managing files and foldersSame question.
Can we create folders and select where to upload the media?Forum: Fixing WordPress
In reply to: How make email not mandatoryThanks for the feedbacks.
Right now we give them arbitrary emails. It would be just “cleaner” not to put any address.Ok. Thanks.
Forum: Plugins
In reply to: [Ajax WP Query Search Filter] Display default resultsI would be interested as well.
Is there a way to show all the custom post types defined in the search form by default, before a specific search is submitted?
The reason is to have ajax_pagination already in place to use it before a search is done.Forum: Plugins
In reply to: [Ajax WP Query Search Filter] Multiple Select as Display TypeHello
Just realized, that my code does not the job as the checkboxes.
I use this code to create a multiselect list:
add_filter('ajwpqs_tax_field_checkbox', 'custom_checkbox_field','',9); function custom_checkbox_field($html,$type,$exc,$hide,$taxname,$taxlabel,$taxall,$c,$divclass){ //here you can customize your checkboxes. $eid = explode(",", $exc); $args = array('hide_empty'=>$hide,'exclude'=>$eid ); $terms = get_terms($taxname,$args); $html = '<div class="'.$divclass.' taxdropdown-'.$c.'"><label class="tax-label-'.$c.'">'.$taxlabel.'</label>'; $html .= '<input type="hidden" name="taxo['.$c.'][name]" value="'.$taxname.'">'; $html .= '<select id="taxselect-'.$c.'" name="taxo['.$c.'][term]" multiple class="chosen chzn-select"><option selected value="awpqsftaxoall">'.$taxall.'</option>'; foreach ( $terms as $term ) { $html .= '<option value="'.$term->slug.'">'.$term->name.'</option>'; } $html .= '</select><br>'; $html .= '</div>'; return $html; }
Unfortunately the first selection gets only to the search query. What else is needed, so your code picks up all the selected terms in the multiselect list?
Forum: Plugins
In reply to: [Ajax WP Query Search Filter] Costumize result templateGreat!
Thanks a lot ??Forum: Plugins
In reply to: [Ajax WP Query Search Filter] Search form formatting quesitonsBut i don’t want to exclude it completely, just from the container group I create with the action hooks.
Forum: Plugins
In reply to: [Ajax WP Query Search Filter] Costumize result templateWithout the filter, the result for “pagicurrent” is fine.
Any idea what else could be the issue?And thanks for the $query->post->ID hint!
Forum: Plugins
In reply to: [Ajax WP Query Search Filter] Costumize result templateStill no correct “pagicurrent”.
As of the $id, how do I pass it into the filter?
Forum: Plugins
In reply to: [Ajax WP Query Search Filter] Search form formatting quesitonsThanks,
but I would like to exclude the keyword search field.
Any way to achieve this?Forum: Plugins
In reply to: [Ajax WP Query Search Filter] AJAX CallbackBut how do I pass the $id?
add_filter('ajax_wpqsf_reoutput', 'customize_output', '', 2); function customize_output($results , $args){ echo $id; }
Forum: Plugins
In reply to: [Ajax WP Query Search Filter] Costumize result templateYes, pagination works, but “pagicurrent” is not set correctly. The first page is allway active.
As of $id, I would like to use it in “ajax_wpqsf_reoutput” to set different outputs depending on the search form id. How can I retrieve this id?
Forum: Plugins
In reply to: [Ajax WP Query Search Filter] Search form formatting quesitonsGreat news!
Looking forward for the updates.By container I meant:
<div class="all-taxonomy-and-meta-fields-container"> <div class="awpqsf_class taxdropdown-0">...</div> <div class="awpqsf_class taxdropdown-1">...</div> <div class="awpqsf_class taxdropdown-2">...</div> </div>
As you can see with “all-taxonomy-and-meta-fields-container” I’m looking for a container who contains all the defined meta and taxo searches.