keith1025
Forum Replies Created
Viewing 7 replies - 1 through 7 (of 7 total)
-
Forum: Plugins
In reply to: [AnsPress - Question and answer] Answer tab empty in profileHere is my code from file answer-item, is it already the updated version?
Thanks.if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! ap_user_can_view_post( get_the_ID() ) ) { return; } ?> <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="ap-answer-single ap-bpsingle"> <div class="ap-bpsingle-title entry-title" itemprop="title"> <?php ap_answer_status(); ?> <a class="ap-bpsingle-hyperlink" itemprop="url" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a> </div> <div class="ap-bpsingle-content clearfix"> <div class="ap-avatar ap-pull-left"> <a href="<?php ap_profile_link(); ?>"> <?php ap_author_avatar( 40 ); ?> </a> </div> <div class="ap-bpsingle-desc no-overflow"> <a href="<?php the_permalink(); ?>" class="ap-bpsingle-published"> <time itemprop="datePublished" datetime="<?php echo esc_attr( ap_get_time( get_the_ID(), 'c' ) ); ?>"> <?php echo esc_html( sprintf( // Translators: %s contain human readable time. __( 'Posted %s', 'anspress-question-answer' ), ap_human_time( ap_get_time( get_the_ID(), 'U' ) ) ) ); ?> </time> </a> <p><?php echo esc_html( ap_truncate_chars( get_the_content(), 200 ) ); ?></p> <a href="<?php the_permalink(); ?>" class="ap-view-question"><?php esc_html_e( 'View Question', 'anspress-question-answer' ); ?></a> </div> </div> <div class="ap-bpsingle-meta"> <span class="apicon-thumb-up"> <?php // translators: %d is count of net votes. echo esc_attr( sprintf( _n( '%d Vote', '%d Votes', ap_get_votes_net(), 'anspress-question-answer' ), ap_get_votes_net() ) ); ?> </span> <?php if ( ap_is_selected( get_the_ID() ) ) : ?> <span class="ap-bpsingle-selected apicon-check" title="<?php esc_attr_e( 'This answer is selected as best', 'anspress-question-answer' ); ?>"><?php esc_attr_e( 'Selected', 'anspress-question-answer' ); ?></span> <?php endif; ?> <?php ap_recent_post_activity(); ?> </div> </div> </div>
Forum: Plugins
In reply to: [AnsPress - Question and answer] Answer tab empty in profileI have added this file to my theme.
screenshotForum: Plugins
In reply to: [AnsPress - Question and answer] Answer tab empty in profileHi, any updates on the issue?
Forum: Plugins
In reply to: [AnsPress - Question and answer plugin] Add image in titlePlease see the screenshot here for more details.
Thanks.
Forum: Plugins
In reply to: [AnsPress - Question and answer] Answer tab empty in profileSorry, but the issue is still appearing on my website.
I have tried clearing all cache and posting a new answer but is still not working.my website:https://classflip.co/
Thanks.
Forum: Plugins
In reply to: [PeproDev WooCommerce Receipt Uploader] pay by check optionSorry, I mean cheque.
I have enabled this function with this code.
if ("woocommerce_thankyou" !== current_filter() && "cheque" == $order->get_payment_method())
Like this?
<?php
add_filter( ‘woocommerce_login_redirect’, ‘login_redirect’, 10, 2 );
Viewing 7 replies - 1 through 7 (of 7 total)