• Resolved Bolo1331

    (@crisbrand)


    Hey!
    I would like to understand how to enable the function of uploading photos to a post via tinymce editor or some other plugin. I wanted to do this by editing the file located in:

    /wp-fundraising-donation/views/public/fundraising/dynamic-page/dashboard/add-campaign/campaign-intro.php

    	<?php
    		$post_content = isset( $post_data->post_content ) ? $post_data->post_content : '';
    		$editor_id    = 'campaign_details_editor';
    		$settings     = array(
    			'media_buttons' => false,
    			'textarea_name' => 'campaign_post[post_content]',
    			'drag_drop_upload' => true,
    		);
    		wp_editor( $post_content, $editor_id, $settings );
    		?>

    I found there the code responsible for disabling the button to hide adding media, I changed it to “true” and the button showed up, however, it shows all photos in the wordpress gallery, including other users, and I can’t add a photo. I want it to be easy to add photos to a fundraiser.

    Alternatively, it can be replaced with gutenberg, in which case please give instructions on how to do it ??

    I would appreciate any help or code to help me do this.

Viewing 1 replies (of 1 total)
  • Plugin Support Ahmed Amir Hossain

    (@ahmedamir)

    Hi @crisbrand,

    Thanks for reaching out to us!

    I understand your query. We have taken this issue in our future roadmap. Our production team will review it and if it is approved by them then this feature will include in the next update of the plugin. Till then stay tuned.

    Let me know if there is anything else that you need help with.

    Regards,

    Amir

Viewing 1 replies (of 1 total)
  • The topic ‘Adding photos to the campaign in the tinymce editor’ is closed to new replies.