-
AuthorPosts
-
February 20, 2015 at 3:12 pm #399679
Is there any way to still have an image blog post and make it so the image can not be rolled over and opened with the circle and arrows on the main blog page?
I set my blog images as a feature image on a blog post and select format “image”. when you look at the image in a post, you can roll over it and click on it and it opens in a pop up on the main blog page. Similar to a gallery. It does not on individual posts.
Any way to stop this?
February 20, 2015 at 9:06 pm #399873Hi fgrippe!
Add this to your custom CSS.
.single .big-preview { display: none !important; }
That will hide the featured image on your single post view only so you can insert your own into the post content if you wish.
If that’s not what your trying to do then send us a link and take a screenshot highlighting your intentions.
Best regards,
Elliott- This reply was modified 9 years, 10 months ago by Elliott.
February 25, 2015 at 3:47 pm #402104Thx but that is not it.
I would like to disable the “lightbox” function on blog posts with images. When you roll over an image when you make an “image” blog post, a circle appears with arrows. That enables you to click, and the image moves forward and appears like a gallery while the whole of the page dims.
I simply want to give a post a feature image (or let me know if there is another better way) that you can not click on in any way.
Does that make sense?
February 26, 2015 at 8:00 am #402494Hi!
Try to add this to your functions.php
function rkv_imagelink_setup() { $image_set = get_option( 'image_default_link_type' ); if ($image_set !== 'none') { update_option('image_default_link_type', 'none'); } } add_action('admin_init', 'rkv_imagelink_setup', 10);
Cheers!
RikardApril 7, 2016 at 2:39 pm #609651Sorry, it has been a while, but see the travel demo, first post. Shouldn’t this be a little more simple?
When you click on the image, it takes you to the full post. I can’t get that to work correctly.
- This reply was modified 8 years, 8 months ago by fgrippe.
April 7, 2016 at 2:42 pm #609657Hi!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
.single .big-preview.single-big { pointer-events: none!important; }
Best regards,
YigitApril 7, 2016 at 3:03 pm #609673doesn’t work.
If you hit READ MORE or the HEADLINE it goes to the full post. If you hit the image, it just opens up the image in new window by itself???
This is happening on all the sites where I use this theme and make an image post.
- This reply was modified 8 years, 8 months ago by fgrippe. Reason: wanted to add url
April 7, 2016 at 3:09 pm #609679Hi!
Please change the code to following one
.big-preview.single-big { pointer-events: none!important; }
Best regards,
YigitApril 7, 2016 at 3:12 pm #609683I did. It is there. Does not work.
In past versions, if you clicked the image, or any of the text, you would be taken to the full blog post?
- This reply was modified 8 years, 8 months ago by fgrippe. Reason: more comments
April 7, 2016 at 3:14 pm #609686Hey!
Can you please flush browser cache and refresh your page a few times? It is not clickable any more on my end
Cheers!
YigitApril 7, 2016 at 3:18 pm #609691Sorry for the confusion, but let me clarify. This is not exactly what I am trying to accomplish.
I am trying to get anything that you click from the main blog page, to take you to the whole blog post. That is the way the theme used to function. ?
So if you make a post, you can click the image, the headline, or the read more button to take you to the full post.
- This reply was modified 8 years, 8 months ago by fgrippe. Reason: more comments
April 7, 2016 at 3:24 pm #609695if this is the easiest fix, then maybe i should just stick with it…thx.
April 7, 2016 at 3:56 pm #609714Sorry about this but i can find no other way…
I just bough extended support through theme forest on this theme. I have purchased the theme almost 10 times. I can’t seem to start any topics though. Who can i talk to about this? I would like to get one username and login for support once and for all. Can you help with this?
- This reply was modified 8 years, 8 months ago by fgrippe. Reason: clarity
April 11, 2016 at 5:24 am #610953Hey!
Sorry for the delay. Please remove all modifications above then add this in the functions.php file to override the post format image filter:
function avia_image_slideshow_filter($current_post) { $prepend_image = get_the_post_thumbnail(get_the_ID(), 'large'); $image = ""; if(!$prepend_image) { $image = avia_regex($current_post['content'],'image'); if(is_array($image)) { $image = $image[0]; $prepend_image = '<div class="avia-post-format-image"><img src="'.$image.'" alt="" title ="" /></div>'; } else { $image = avia_regex($current_post['content'],'<img />',""); if(is_array($image)) { $prepend_image = '<div class="avia-post-format-image">'.$image[0]."</div>"; } } } else { $large_image = get_the_permalink(); $prepend_image = '<div class="avia-post-format-image"><a href="'.$large_image.'">'.$prepend_image."</a></div>"; } if(!empty($prepend_image) && is_string($prepend_image)) { if($image) $current_post['content'] = str_replace($image, "", $current_post['content']); $current_post['before_content'] = $prepend_image; $current_post['slider'] = ""; } if(is_single(get_the_ID()) && get_post_meta( $current_post['the_id'], '_avia_hide_featured_image', true ) ) $current_post['before_content'] = ""; return avia_default_title_filter($current_post); }
Regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.