I tested it, everything is working on main site, but it does not work on all other sites (doesn’t work voting and suscription question).
Edit page and add Login and register template
Is scheduled for 2.4
Yes it can be done. You can check if current question have the tag you need and check user role: <?php global $wp_roles; $current_user = wp_get_current_user(); $roles = $current_user->roles; if( has_term( 'soccer', 'question_tag') && $roles == 'anspress_soccer' ) { // do something }
I think both are using same CPT name question, hence its not possible to use both plugin in same site.
You can add this filter for adding a custom field in basic group: https://gist.github.com/rahularyan/148549bf2099766e6da9
Hi, This code works perfect for me. 1. Just create an empty .php file. Paste the below code in it and save it in the templates folder (Also if you are using the askbug theme). 2. Create a new page in your WordPress and select the template you just created. 3. Now you can add this page to your menu if prefered. I edited the code a bit so it would show the post details and make it clickable. <?php /** * Template Name: Blog Page * Template used to display blog page * * @package ab */ get_header(); ?> <div class="container"> <div class="row"> <div id="content" class="main-content-inner col-sm-12<?php echo is_active_sidebar( 'sidebar-1' ) ? ' col-md-9' : ' col-md-12' ?>"> <?php query_posts( 'show_posts=20&post_type=post&order=ASC&orderby=date' ); ?> <?php while ( have_posts() ) : the_post(); ?> <?php get_template_part('content'); ?> <?php endwhile; // end of the loop. ?> </div><!– close .*-inner (main-content or sidebar, depending if sidebar is used) –> <?php get_sidebar(); ?> </div><!– close .row –> </div><!– close .container –> <?php get_footer(); ?>