Plugin Author
alek
(@alekart)
Hi,
Actually there is non need of to do do_shortcode just use the shortcode [arcalendar next_text=>'>' prev_text=>'<' post_count=>"true" month_view=>"true" "categories"=>"category1, category2", post_type=>"post, forum"].
AND
Shorcode support will be deleted (is deleted) in the upcoming release. I will not provide any support for this feature any more. Sorry.
no worries I just registered a sidebar where I needed it!
sorry should have been more clear, the do_shortcode I had in my theme files directly in PHP. The text widget I tried when that failed was as you show above without the do_shortcode.
Plugin Author
alek
(@alekart)
I don’t understand. Do you use the shortcode in the PHP code with do_shortcode
instead of using the function ?
$args = array(
'next_text' => '˃',
'prev_text' => '˂',
'post_count' => true,
'month_view' => true,
'month_select' => 'default',
'different_theme' => 0, // set 1 (true) if you want to set a different theme for this widget
'theme' => null, // theme 'name' if 'different_theme' == true
'categories' => null, // array() -> list of categories to show
'post_type' => null // array() -> list of post types to show
);
archive_calendar($args);
I had just used the shortcode yes, didn’t see there was a function for it. either way it worked and doesn’t seem to anywhere now using the shortcode for me. However if support is being dropped for the shortcode I guess its no worry.