managunjikar
Forum Replies Created
-
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] how to turn off photonok got it and thanks for your response i will make that changes in code to work fine even if photon is activated
thanks again,
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] how to turn off photonadded by using wp function
<?php echo the_post_thumbnail( ‘thumbnail’ ); ?>
i think ‘thumbnail’ should be blank correct me if i m wrong
thanks
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] how to turn off photonall are featured images of different post types in admin
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] how to turn off photonThanks for reply Jeremy Herve,
i found that option it shows when we click on learn more.
issue is this is my site https://propertywaredev.com/flexland/
take a look at this issue https://screencast.com/t/pMacc5m3Oh
image fetch there is come like https://i0.wp.com/propertywaredev.com/flexland/wp-content/uploads/sites/3/2013/11/flexland-icons.png?resize=150%2C150
i dont want this ?resize=150%2C150.
I dont know where it comes from can u check this
?? ??
Forum: Plugins
In reply to: [JSJ Gallery Slideshow] How to add image caption for pluginhey dalejones789
is u downloaded that plugin if yes
open file jsjSlideShow.php
find comment // Start Gallery HTML Code
below of this comment there is foreach loop. in that you just add attribute what you wanted.
then find comment // Add Code to initiate Galleryjsj-slide-showf
in that javascript get that attrubute
that’s it var readtitle = jQuery(this).attr(‘image_title’);
for ex:
i have pass attribute
$attributes = array(image_title' => wptexturize($attachment->post_title) );
and getting that in js with this code var readtitle = jQuery(this).attr(‘image_title’);
Forum: Plugins
In reply to: [JSJ Gallery Slideshow] How to add image caption for pluginthanks buddy for great Plugin
Forum: Plugins
In reply to: [JSJ Gallery Slideshow] How to add image caption for pluginHey Jorge
Happy to to told that i have resolve this problem by adding only 1 function in java script and it works1) What i do is add alt attribute as caption for image which
$attributes = array( 'data-galleryid' => $instance, 'data-link' => wp_get_attachment_image_src( $id, "full" ), 'alt' => wptexturize($attachment->post_excerpt), );
2) after that by referring this link https://jquery.malsup.com/cycle/caption.html
add `after: function() {
jQuery(‘#image_caption’).html(this.alt);
},`
in JavascriptAnd it works Please update plugin for image caption If above code is suitable and give caption on/off link to admin setting.
Thanks
Forum: Plugins
In reply to: [JSJ Gallery Slideshow] How to add image caption for pluginHey Jorge Silva-Jetter,
Please help me to how to fetch that caption into div I have tried so much but not got success.I will do css part just after caption is fetching in div just need to fetch it into div.Please Reply
ThanksForum: Plugins
In reply to: [JSJ Gallery Slideshow] How to add image caption for pluginOK i will try and let u know if it works or not.I added attribute for images just fetching part to div is left
here is added code
$attributes = array( 'data-galleryid' => $instance, 'data-link' => wp_get_attachment_image_src( $id, "full" ), <strong>'data-caption' => wptexturize($attachment->post_excerpt)</strong> ); $output .= wp_get_attachment_image( $id, 'pageWidth', false, $attributes);
thanks for reply
Forum: Plugins
In reply to: [JSJ Gallery Slideshow] How to add image caption for pluginI have tried this but it shows image caption on slider means it shows caption as slide i have put this code `// Start Gallery
$output .= apply_filters( 'gallery_style', $gallery_style . "\n\t\t" . $gallery_div ); $i = 0; foreach ( $attachments as $id => $attachment ) { $i++; // This comes from line 770 of wp-includes/media.php <strong>$output .= " <{$captiontag} class='wp-caption-text gallery-caption'> " . wptexturize($attachment->post_excerpt) . " </{$captiontag}>";</strong> $attributes = array( 'data-galleryid' => $instance, 'data-link' => wp_get_attachment_image_src( $id, "full" ), ); $output .= wp_get_attachment_image( $id, 'pageWidth', false, $attributes); }
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
here is video : https://screencast.com/t/DS9O1Suk4
Is there any another way to add caption over the image and not as slider
Thanks