itsjaked
Forum Replies Created
-
Forum: Reviews
In reply to: [Maps Widget for Google Maps] The Plugin WorkHaving the same issue. I often get “developers.google.com/maps/usageLimits” instead of the map image displayed.
Forum: Fixing WordPress
In reply to: Archive for blog postCheck out the twentysixteen archive.php file, that should have what you need.
Forum: Plugins
In reply to: How to use lightbox shortcode in html file?If you mean a php file then you can just do:
<?php echo do_shortcode( [video_lightbox_youtube video_id="cITNwEkCsdQ" width="640" height="480" alt="alt text for the image" auto_thumb="1"]'' ); ?>Forum: Plugins
In reply to: [YITH Infinite Scrolling] Wrong Selectors or problem with plugin?Make sure your ‘Next Selector’ is the actual link element (a tag) and not it’s container. That should fix the duplicate content problem.
Forum: Plugins
In reply to: [Advance WP Query Search Filter] Multiple Values for an ItemI ended up doing what I wanted by editing the process.php file, thanks for the help. If anyone is trying to do the same thing this is what I did:
I just added elseif statement’s to the meta for each loop as I needed
elseif($v['value'] == 'Value of key you want to add multiple values to'){ $cmf[] = array( 'key' => strip_tags( stripslashes($v['metakey'])), 'value' => array('value1', 'value2', 'value3'), 'compare' => 'IN' ); }Basically just add as many elseif statements for values that you need to modify.
Jake
Forum: Plugins
In reply to: [Ajax WP Query Search Filter] Display Results on a new PageNever mind, I ended up going with your other plugin.
Forum: Plugins
In reply to: [Advance WP Query Search Filter] Multiple Values for an ItemWhere are all the filters listed?
And which filter would I use for a dropdown and meta field?
Thanks,
JakeForum: Plugins
In reply to: [Advance WP Query Search Filter] Multiple Values for an ItemOk so using your new plugin would I do something like this to add multiple values?
add_filter(‘ajax_wpqsf_query’, ‘add_values’);
function add_values($args){
$args[‘meta_query’][‘value’] = array(‘location1’, ‘location2’, ‘location3’);
return $args;
}Also with the new plugin do the results automatically use search.php as the template?
Thanks,
JakeForum: Plugins
In reply to: [Advance WP Query Search Filter] Order taxonomies in drop down or check boxHey I just saw this and I though I’d help out. What you have to do it edit searchform.php (go to the plugin and then html). You can just insert the HTML using the php echo function.
First make sure the form id equals the form you want to display the field on.
Then echo the HTML, you’ll have to put in by hand the meta key you want to compare as well as the keys of the items. Also, depending on how many form elements you have you’ll need to change the ‘3’s that are currently in my form.
if ($id == Form_Id){ echo '<div class="awqsf_box cmfdrop-3"> <label class="taxo-cmf-3">Venue Location</label><br> <input type="hidden" name="cmf[3][metakey]" value="meta_key_to_compare"> <input type="hidden" name="cmf[3][compare]" value="1"> <select id="cmf-3" name="cmf[3][value]"> <option value="wqsfcmfall">All </option> <optgroup label="Fruits"> <option value="Meta_Value_Here"> Banana </option> <option value="ex. kiwi"> Kiwi </option> </optgroup> <optgroup label="Vegetables"> <option value="Meta_Value_Here">Potato</option> </optgroup> </select> </div>'; }If you have any other questions let me know!
I am having this same issue. Has anyone found a fix yet?