ILuciferI
Forum Replies Created
-
Forum: Plugins
In reply to: [Meta Box] checkbox list labelsThanks, that’s bad =( I make it work thru “switch” in php.
I understand, i don’t ask for full code, only which parameter is responsible for this.
And sorry for little misleading. I show example from your site, which apply to any shortcode.
[events_list style=5] work fine, [events_list style=”style-name”] don’t work, thats why i look at em_event_save.Forum: Plugins
In reply to: [Simple Rating] Top widgetSomething like this
$instance = array ( 'post_type' => 'some_post_type', //What to include (Posts, pages,...) 'list_style' => 'disc', //List style (disc, circle...) 'number' => '5', //Count of items ); $args = array ( 'before_widget' => '<div class="widget_class">', 'after_widget' => '</div>', 'before_title' => '<h2 class="widgettitle">', 'before_title' => '</h2>' ); the_widget( 'SPR_Top_Widget', $instance, $args );angelo.
Yes, I tried to change it in both filters on is_string()
if( !empty($array['style']) && is_string($array['style']) ){
or just delete this part,
if( !empty($array['style']) ){
but it still don’t understand what to display.I look at add_filter(’em_event_save’,’my_em_styles_event_save’,1,2);
there$ids_to_add[] = "({$EM_Event->id}, 'event-style', '$style_id')";
and in SQL db in wp_em_meta i see stored only style id, but no style name. May be because of it?Forum: Plugins
In reply to: [Simple Rating] Top widgetPlugin have widget, you can insert it in sidebar panel thru WP menu. There you can set what and how to display.
I want manually set and insert widget direct in my custom php files.