ivyowl
Forum Replies Created
-
Forum: Plugins
In reply to: [CMB2] Date order issueThat sounds like a good plan, what does the text_date store as as standard? And how do you change how it stores?
Also if I was to change that would I then have to reinput all the dates that are currently stored?
Really appreciate your support.
Forum: Plugins
In reply to: [CMB2] Date order issueI’ve tried using meta-type date also but it also produces a random result.
What query would best suit the text_date to produce a asc return?
Forum: Plugins
In reply to: Possible to overwrite a WooCommerce Widget?Hi there,
This is the solution i’ve been hunting for!
However, i cant get it to work! I’m getting a server error ??
I’m trying to edit the login widget so i have copied that into a new woowidget folder in my theme.
I’ve editied all instances of WooCommerce_Widget_Login to WooCommerce_Widget_Login_CUSTOM in the widget-login.php fileedited this:
$this->woo_widget_name = __('WooCommerce CUSTOM Login', 'woocommerce' );
and this:
$this->WP_Widget('woocommerce_login_CUSTOM', $this->woo_widget_name, $widget_ops);
and added this to my functions.php file:
include_once('woowidgets/widget-login.php'); function woocommerce_register_widgets_CUSTOM() { register_widget('WooCommerce_Widget_Login_CUSTOM'); } add_action('widgets_init', 'woocommerce_register_widgets_CUSTOM');
unfortunately its breaking the site though!
any idea whats wrong?
Many thanks in advance.I would like to add my support for the grabbing of images from a facebook fan page with a particular tag in the comment.
Forum: Fixing WordPress
In reply to: Listing specific Custom Posts by ID – wp_query?code added here:
Forum: Hacks
In reply to: Listing specific Custom Posts by IDi’ve actually almost cracked it (i think!)
This the code gives is close to what i want.
the problems are.
1. it only works if i use a specified post id, in this case 153.
($post->ID gives me nothing)2. although the echo $event_artists_list gives me: 167, 168 (which is the value of event_artists for post 153) it only lists 167 and not 168.
appart from that it works perfectly.
many thanks again.
[Code moderated as per the Forum Rules. Please use the pastebin]
Forum: Fixing WordPress
In reply to: Listing specific Custom Posts by ID – wp_query?btw: the echo $event_artists_list is there just to test what i’m being returned.
Forum: Fixing WordPress
In reply to: Listing specific Custom Posts by ID – wp_query?Thanks transom,
i’ve actually almost cracked it (i think!)
This the code gives is close to what i want.
the problems are.
1. it only works if i use a specified post id, in this case 153.
($post->ID gives me nothing)2. although the echo $event_artists_list gives me: 167, 168 (which is the value of event_artists for post 153) it only lists 167 and not 168.
appart from that it works perfectly.
many thanks again.
[Code moderated as per the Forum Rules. Please use the pastebin]
Forum: Fixing WordPress
In reply to: Duplicate posts from custom loop within a functionworked a treat,
many thanks
Forum: Fixing WordPress
In reply to: Duplicated posts from shortcode functionCode is here now: