Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter twanisoke

    (@twanisoke)

    Never mind, fixed it already ??

    Hi Twanisoke. Can I ask, how did you do that? ??

    Thread Starter twanisoke

    (@twanisoke)

    Its been a while ago, but I think it has to do with line 486 in plugins/portfolio-gallery/admin/portfolio-view.php

    Mine is:
    <?php the_editor($rowimages->description, $id = ‘im_description’.$rowimages->id, $prev_id = ‘im_description’.$rowimages->id, $media_buttons = false, $tab_index = 2); ?>

    Check: https://codex.www.ads-software.com/Plugin_API/Filter_Reference/the_editor
    Hope it helps ??

    Hi twanisoke,

    I was able to get the editor to show up but it doesn’t save. Any ideas?

    <div class="description-block">
    										<label for="im_description<?php echo $rowimages->id; ?>"><?php echo __( 'Description', 'portfolio-gallery' );?>:</label>
    
                                            <?php the_editor($rowimages->description, $id = 'im_description'.$rowimages->id, $prev_id = 'im_description'.$rowimages->id, $media_buttons = false, $tab_index = 2); ?>
    
    									</div>
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can I add a WYSIWYG editor to the Description field?’ is closed to new replies.