Skip Navigation

[Resolved] views and cred datepicker icons override inconsistency

This support ticket is created 5 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 1 reply, has 1 voice.

Last updated by bryan 5 years, 9 months ago.

Author
Posts
#1219849
Screenshot 2019-03-23 20.55.05.png
Screenshot 2019-03-23 20.55.16.png

I want to change datepicker icon from its tiny size (calendar.gif) Views and cred

Is there any documentation that you are following?
https://toolset.com/forums/topic/date-calendar-icon-modification/
https://toolset.com/forums/topic/how-can-we-change-the-clear-date-icon-on-the-date-picker-field/
https://toolset.com/forums/topic/in-order-to-change-the-calendar-icon-use-filter-wptoolset_filter_wptoolset_cale/
https://toolset.com/forums/topic/datepicker-css-2/

The odd thing is that I can change the calendar delete icon on cred but not views and the calendar image on cred but not views !!
hidden link
hidden link

thought the functions don't appear to be separate.


<?php
/**
* change defaults icons and X after selection
*/

toolset_snippet_security_check() or die( 'Direct access is not allowed' );

function ii_datepicker_delete_icon(){
$calendar_delete_image = "/wp-content/uploads/2019/03/pencil.png";
return $calendar_delete_image;
}
add_filter('wptoolset_filter_wptoolset_delete_date_image', 'ii_datepicker_delete_icon');

function ii_change_datepicker_icon(){
$calendar_image = '/wp-content/uploads/2019/03/calendar-1.png';
return $calendar_image;
}
add_filter('wptoolset_filter_wptoolset_calendar_image', 'ii_change_datepicker_icon');
</code.

#1219950

please ignore - there were some paste errors; will open fresh ticket