Title: tmp_advisors's Replies | WordPress.org

---

# tmp_advisors

  [  ](https://wordpress.org/support/users/tmp_advisors/)

 *   [Profile](https://wordpress.org/support/users/tmp_advisors/)
 *   [Topics Started](https://wordpress.org/support/users/tmp_advisors/topics/)
 *   [Replies Created](https://wordpress.org/support/users/tmp_advisors/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/tmp_advisors/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/tmp_advisors/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/tmp_advisors/engagements/)
 *   [Favorites](https://wordpress.org/support/users/tmp_advisors/favorites/)

 Search replies:

## Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Eazyest Gallery] Adding a special html php string at the end of an image Caption/Description](https://wordpress.org/support/topic/adding-a-special-htmlphp-string-at-the-end-of-an-image-captiondescription/)
 *  Thread Starter [tmp_advisors](https://wordpress.org/support/users/tmp_advisors/)
 * (@tmp_advisors)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/adding-a-special-htmlphp-string-at-the-end-of-an-image-captiondescription/#post-3794691)
 * Hi Klihelp,
 * Just to let you know that I have given up and uninstalled Easyest Gallery. I 
   am not good enough to even understand properly your very precise and synthetic
   statements. Iam trying to find another solution.
 * Many thanks anyway for taking the time,
 * All the best,
 * Francis
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Eazyest Gallery] Adding a special html php string at the end of an image Caption/Description](https://wordpress.org/support/topic/adding-a-special-htmlphp-string-at-the-end-of-an-image-captiondescription/)
 *  Thread Starter [tmp_advisors](https://wordpress.org/support/users/tmp_advisors/)
 * (@tmp_advisors)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/adding-a-special-htmlphp-string-at-the-end-of-an-image-captiondescription/#post-3794686)
 * Hi,
 * I did add the code in the file :
 * ..wp-content\plugins\eazyest-gallery\themes\twentytwelve\
 * but it has no effect on keeping data in an extra field.
 * I am using the twenty twelve template.
 * Let mknow where I am wrong,
 * Many thanks for your great help,
 * Ftancis
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Eazyest Gallery] Adding a special html php string at the end of an image Caption/Description](https://wordpress.org/support/topic/adding-a-special-htmlphp-string-at-the-end-of-an-image-captiondescription/)
 *  Thread Starter [tmp_advisors](https://wordpress.org/support/users/tmp_advisors/)
 * (@tmp_advisors)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/adding-a-special-htmlphp-string-at-the-end-of-an-image-captiondescription/#post-3794683)
 * Thanks,
 * This link mention your workaround but actually where should I insert that
 *     ```
       // Set excerpt mode to default
       add_action( 'load-post.php', 'kli_wp_force_excerpt' );
       function kli_wp_force_excerpt() {
           $_REQUEST['mode'] = 'excerpt';
       }
       ```
   
 * code ?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Eazyest Gallery] Adding a special html php string at the end of an image Caption/Description](https://wordpress.org/support/topic/adding-a-special-htmlphp-string-at-the-end-of-an-image-captiondescription/)
 *  Thread Starter [tmp_advisors](https://wordpress.org/support/users/tmp_advisors/)
 * (@tmp_advisors)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/adding-a-special-htmlphp-string-at-the-end-of-an-image-captiondescription/#post-3794681)
 * Hi Klihelp,
 * Now I have another issue with EZG 0.3. The extra fields are available under eacu
   image but it does not keep any data that I enter (for example I have created 
   a “price” extra field and I can enter a value but after saving that field resets
   to enpty.
 * Have you encountered that problem ?
 * Many thanks
 * Francis
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Eazyest Gallery] Adding a special html php string at the end of an image Caption/Description](https://wordpress.org/support/topic/adding-a-special-htmlphp-string-at-the-end-of-an-image-captiondescription/)
 *  Thread Starter [tmp_advisors](https://wordpress.org/support/users/tmp_advisors/)
 * (@tmp_advisors)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/adding-a-special-htmlphp-string-at-the-end-of-an-image-captiondescription/#post-3794680)
 * Hello Klihelp,
 * Some news.
    I have finally found where the caption was displayed and for some
   misterious reason it was not taking the ezg code but using the wp-includes\media.
   php standard version.
 * I discovered that if I activate the use of extra fields then the ezg code is 
   used.
 * I am not that good in understanding you advices using filters. So I’ll stick 
   to updating directly media.php.
 * Best,
 * Francis
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Eazyest Gallery] Adding a special html php string at the end of an image Caption/Description](https://wordpress.org/support/topic/adding-a-special-htmlphp-string-at-the-end-of-an-image-captiondescription/)
 *  Thread Starter [tmp_advisors](https://wordpress.org/support/users/tmp_advisors/)
 * (@tmp_advisors)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/adding-a-special-htmlphp-string-at-the-end-of-an-image-captiondescription/#post-3794654)
 * Hello klihelp,
 * I have problems understanding what you mean, since I do not know how it really
   work. Perhaps you can give me a hint on the following function I have found in“
   class-eazyest-fontend.php” :
 * > `function content_single_galleryfolder( $content ) {
   >  ob_start(); // buffer
   > to use actions that echo content ?>
   >  <div class=”eazyest-gallery”>
   >  <?php do_action( ‘eazyest_gallery_before_folder_content’);//
   > this action is used for breadcrumb trail and for thumbnail images ?> <?php 
   > echo $content; // this is the text content like a regular WordPress post ?>
   > <?php do_action( ‘eazyest_gallery_after_folder_content’ ); // this action is
   > used for extra fields and for subfolders ?> </div>
   >  <?php
   >  $content = ob_get_contents(); ob_end_clean(); return $content; }`
 * As far as I understand, this ob_start() starts storing in buffer list of thumnails
   and captions to be displayed and then ob_get_contents() flushes it to the $content
   string, and it is returned. OK fine but I do not know where effectively this 
   do_action(‘eazyest_gallery_before_folder_content’) function code is ? I Need 
   to modify it a little, that’s it.
 * In order to follow your last advice, I need to see where is that code to change
   it to my need.
 * Hope this is clear for you. Thaks for your time helping me.
    Best,
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Eazyest Gallery] Adding a special html php string at the end of an image Caption/Description](https://wordpress.org/support/topic/adding-a-special-htmlphp-string-at-the-end-of-an-image-captiondescription/)
 *  Thread Starter [tmp_advisors](https://wordpress.org/support/users/tmp_advisors/)
 * (@tmp_advisors)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/adding-a-special-htmlphp-string-at-the-end-of-an-image-captiondescription/#post-3794640)
 * Hello klihelp,
 * I am not that familiar with digging into functions and afraid to break something.
 * In your last reply you mention
 * > ‘eazyest_gallery_thumbnails’,’ezg_thumbnails’
 * I do have found reference to them but I have not found the file that contains
   the actual code.
 * Can you tell me where is that code located in the ezg plugin files ?
 * Thanks for your help,
 * Best,
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Eazyest Gallery] Adding a special html php string at the end of an image Caption/Description](https://wordpress.org/support/topic/adding-a-special-htmlphp-string-at-the-end-of-an-image-captiondescription/)
 *  Thread Starter [tmp_advisors](https://wordpress.org/support/users/tmp_advisors/)
 * (@tmp_advisors)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/adding-a-special-htmlphp-string-at-the-end-of-an-image-captiondescription/#post-3794625)
 * Hi klihelp,
 * Thanks for taking the time to help. I’ll try this week-end and let you kow.
 * Best,

Viewing 8 replies - 1 through 8 (of 8 total)