exactprecisions
Forum Replies Created
-
.
- This reply was modified 5 years, 1 month ago by exactprecisions.
define(‘WP_CACHE’, true);
define(‘WP_CACHE_KEY_SALT’, ‘string’);
define(‘WP_REDIS_CLIENT’, ‘pecl’);
define(‘WP_REDIS_SCHEME’, ‘tcp’);
define(‘WP_REDIS_HOST’, ‘127.0.0.1’);
define(‘WP_REDIS_PORT’, ‘6379’);This worked for me.
Forum: Plugins
In reply to: [CMB2] custom show_on filter not workingYes thank you it worked. Thanks a lot!
Forum: Plugins
In reply to: [CMB2] custom show_on filter not workingWait! I think I see the difference now.
Forum: Plugins
In reply to: [CMB2] custom show_on filter not workingI tried using the example here
https://github.com/CMB2/CMB2/wiki/Adding-your-own-show_on-filters#example-front-page-show_on-filter
and couldn’t get it to work
function ed_metabox_include_front_page( $display, $meta_box ) { if ( ! isset( $meta_box['show_on']['key'] ) ) { return $display; } if ( 'front-page' !== $meta_box['show_on']['key'] ) { return $display; } $post_id = 0; // If we're showing it based on ID, get the current ID if ( isset( $_GET['post'] ) ) { $post_id = $_GET['post']; } elseif ( isset( $_POST['post_ID'] ) ) { $post_id = $_POST['post_ID']; } if ( ! $post_id ) { return false; } // Get ID of page set as front page, 0 if there isn't one $front_page = get_option( 'page_on_front' ); // there is a front page set and we're on it! return $post_id == $front_page; } add_filter( 'cmb2_show_on', 'ed_metabox_include_front_page', 10, 2 );
Forum: Plugins
In reply to: [CMB2] custom show_on filter not workingI actually forgot to change $frontPageID when I pasted it here. Can you reference any information on the custom callback for show_on_cb?
Forum: Reviews
In reply to: [WP Editor] DOES NOT WORK!!!!@railcrew you have a horrible attitude. It works for me in 4.4.2. Maybe it is YOU who is the problem and needs fixed. ??
Forum: Plugins
In reply to: [Query Multiple Taxonomies] Shortcode for single posts<?php $args = array(‘mode’ => ‘dropdowns’, ‘taxonomies’ => array(‘type’,’area’,’features’,’price’));
the_widget(‘Taxonomy_Drill_Down_Widget’, $args); ?>I created a custom template and insert this into the content area and it’s worked for me.
Only issue I’m having is as follows
https://www.ads-software.com/support/topic/relation-and-not-working
Are you all facing the same issues?
@contemplative Computing & @jlankford – I’m having the same issue as you all. Not sure exactly what you all are doing but I’m using the plugin without any modifications and I’m having the issue with the widget and also including it by the_widget()
As seen here
https://www.ads-software.com/support/topic/relation-and-not-working
Forum: Plugins
In reply to: [Query Multiple Taxonomies] relation => 'and' not workingWhen I select two*