__( 'Recent Posts Widget', 'peepalcomsys' ), ) // Args ); } public function widget( $args, $instance ) { $title = $instance['title']; $count = $instance['count']; echo $args['before_widget']; echo $args['before_title'] . $title . $args['after_title']; $posts = get_posts( array( 'numberposts' => $count ) ); foreach ($posts as $key => $value) { ?>
ID, array(64,64) ); ?>
post_title; ?> post_date) ); ?>

__( 'Display Advertise image with link.', 'peepalcomsys' ), ) // Args ); } public function widget( $args, $instance ) { $url = $instance['url']; $url2 = $instance['url2']; $img_src = $instance['img_src']; $img_src2 = $instance['img_src2']; echo $args['before_widget']; //echo $args['before_title'] . $title . $args['after_title']; ?>
get_field_id('img_src'); $img_id2 = $this->get_field_id('img_src2'); $url = $instance['url']; $url2 = $instance['url2']; $img_src = $instance['img_src']; $img_src2 = $instance['img_src2']; */ ?>





" style="margin:0;padding:0;max-width:100px;float:left;display:inline-block" />