There’s a filter you can use to enable week numbers. Attaching a function to the ‘mc_show_week_number’ filter that returns true will enable those.
Hi!
I really wonder why this is not the default option
BR
Anders
-
This reply was modified 7 years, 1 month ago by
andhi1.
Thread Starter
viher
(@viher)
Thank you Joe, fast response = going Pro.
Thread Starter
viher
(@viher)
Seems like I don’t have my brains with me today (And my skills in coding pretty much limit to editing existing code, writing new with right syntax is pretty much as consuming as learning to read.. So I have no idea where to implement the solution I was given.
I’ll be buying the user guide now, but a bit more detailed help would be much appreciated.
Thread Starter
viher
(@viher)
Ok, manual page 52 and onward explains a lot, but I’m still unable to get week numbers to show.
This is probably totally wrong:
add_filter( ‘mc_show_week_number’ );
function show_week_number {
return $true;
}
-
This reply was modified 7 years, 1 month ago by
viher.
Try:
add_filter( 'mc_show_week_number', 'show_week_number', 10, 2 );
function show_week_number( $enabled, $args ) {
return true;
}