I want to give the best answered person to payment reward. How we can add payment method to it.
Hi,
Even though I have all necessary pages, whenever I click on someone’s profile I am redirected to a Nothing Found page. It might have to do with the fact that by default the permalinks become author/the-name-of-the-author instead of users/the-name-of-the-user. Any thoughts?
If I try to access someone’s reputation page instead I am sent to a 404 error page, see screenshot
What can be wrong?
I’ve got a developer working on my site and he is trying to add an upload file function to the Question form but it isn’t working. When adding the following code to the function.php he says that only a text field appears instead of the file upload:
function my_custom_question_field( $form ) { // Upload field. $form['fields']['screenshot'] = array( 'fields' => array( 'pdf' => array( // This is a unique key for field. 'label' => __( 'PDF File' ), 'desc' => __( 'Allow single PDF file upload.' ), 'type' => 'upload', 'upload_options' => array( 'multiple' => false, // Only allow single image upload. 'allowed_mimes' => array( 'pdf' => 'application/pdf', // This will allow uploading of PDF file. ), ), ), ), ); return $form; } add_filter( 'ap_question_form_fields', 'my_custom_question_field' );
Any ideas what the problem could be? Another issue is that when ‘Allow image upload’ is checked in the settings, the image upload isn’t visible in the form either. Could these issues be related?