I just purchsed the bug these, how do I get the same setup as the demo bug theme?
I have a question. To show notifications, I have to open my profile page. I don’t want to do that. Is it possible to open popup window when I login my website. Examle: When you login xda-developers.com, a popup window is opened (if you have a new message).
Hi Rahul,
In the category drop down list , it shows all the categories & their sub categories as same. Is there any way to show category & subcategories as two different drop downs , may be when category selected in the drop down show it’s child categories ?
Thanks a lot
Hi. You released another update yesterday, but again there is no changelog. This is a great plugin and we are very happy with it. However I use custom templates so I need to know what was changed in case something breaks. It makes it easier to find where to start looking if things are not working after the update đ Cheers.
I have “Simple Share Buttons” plugin, and when I click to share a question in twitter, Facebook and so on, the title of the page shared is always main page title instead of question page title.
This was working great in previous versions, but not anymore.
Thanks
Hi, is it possible to show profile cards per user via shortcode? Like [apuser=username] or however?
Thanks!
When will the email address added for anonymous questions? It would be nice if only administrator could see it as in normal comments in WP, with no need to sign in.
My Site template name is “Espresso”. link
This template has a Shortcodes to display posts from a category. link & link
I’m going with this shortcode can also display the latest questions and answers my questions plugin(anspress) categories.
One of Shortcodes are used to display the latest posts from one category and only support the original categories of WordPress. Iâm gonna do I use this shortcode to display a custom post type. I installed Anspress. it creates a custom post type as âquestionsâ, and I want to show my last questions with that shortcode.
my theme shortcode function:
if ( ! function_exists( 'vw_shortcode_posts' ) ) { function vw_shortcode_posts( $atts, $content = null ) { global $vw_posts_shortcode_id; $defaults = array( 'title' => '',// title 'cat' => '',// category ID 'cat_name' => '',// category name 'cat_exclude' => '', // category IDs, separated by comma (,) 'tag' => '', // tag slugs, separated by comma (,) 'layout' => 'medium-1-col-3', 'count' => '6', 'offset' => '0', 'order' => 'latest', // latest, random, popular, viewed, latest_reviews 'pagination' => 'hide', ); extract( shortcode_atts( $defaults, $atts) ); global $post; $query_args = array( 'post_type' => 'post', 'ignore_sticky_posts' => true, 'posts_per_page' => $count, 'paged' => vw_get_paged(), 'order' => 'DESC', // 'meta_key' => '_thumbnail_id', // DEV: Only posts that have featured image ); // Option: offset if ( intval( $offset ) > 0 ) { $query_args['offset'] = intval( $offset ); if ( vw_get_paged() > 1 ) { // WordPress is not support Offset on Pagination. This is a hack. $query_args['offset'] += ( vw_get_paged() - 1 ) * $count; } } // Option: cat_name if ( ! empty( $cat_name ) ) { $query_args['category_name'] = $cat_name; if ( ! empty( $title ) ) { $category = get_category_by_slug( $cat_name ); if ( ! empty( $category ) ) { $title = '<span class="'.esc_attr( vw_get_the_category_class( $category->term_id ) ).'">'.$title.'</span>'; } } } // Option: cat if ( ! empty( $cat ) ) { $query_args['taxonomy'] = $cat; if ( ! empty( $title ) ) { $title = '<span class="'.esc_attr( vw_get_the_category_class( $cat ) ).'">'.$title.'</span>'; } } // Option: cat_exclude if ( ! empty( $cat_exclude ) ) { $query_args['category__not_in'] = explode( ',', $cat_exclude ); } // Option: tag if ( ! empty( $tag ) ) { $query_args['tag'] = $tag; } // Option: order if ( 'random' == $order ) { $query_args['orderby'] = 'rand'; } elseif ( 'featured' == $order ) { $query_args['meta_query'][] = array( 'key' => 'vw_post_featured', 'value' => '1', 'compare' => '=', ); } elseif ( 'latest_gallery' == $order ) { $query_args['tax_query'][] = array( 'taxonomy' => 'post_format', 'field' => 'slug', 'terms' => 'post-format-gallery', ); } elseif ( 'latest_video' == $order ) { $query_args['tax_query'][] = array( 'taxonomy' => 'post_format', 'field' => 'slug', 'terms' => 'post-format-video', ); } elseif ( 'latest_audio' == $order ) { $query_args['tax_query'][] = array( 'taxonomy' => 'post_format', 'field' => 'slug', 'terms' => 'post-format-audio', ); } elseif ( 'latest_reviews' == $order ) { $query_args['meta_query'][] = array( 'key' => 'vw_enable_review', 'value' => '1', 'compare' => '=', ); } elseif ( 'most_viewed' == $order ) { $query_args['orderby'] = 'meta_value_num'; $query_args['meta_key'] = 'vw_post_views_all'; } elseif ( 'most_review_score' == $order ) { $query_args['orderby'] = 'meta_value_num'; $query_args['meta_key'] = 'vw_review_average_score'; } else { // 'latest' == $order $query_args['orderby'] = 'post_date'; } query_posts( $query_args ); $template_file = sprintf( 'templates/post-loop/loop-%s.php', $layout ); ob_start(); ?>
<?php wp_reset_query(); return ob_get_clean(); } }
tanks