tmp_advisors
Forum Replies Created
-
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
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
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 ?
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
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
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,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,
Hi klihelp,
Thanks for taking the time to help. I’ll try this week-end and let you kow.
Best,