Forum Replies Created
-
AuthorPosts
-
Right, thanks, I’was just asking if there were any plans to add this as an option in the theme — it’s a problem/question I run into often with clients.
Well, the main problem is the meta info — there’s no way to add the meta info line under the title with the ALE, is there?
This is often an issue for clients, in my experience — the inconsistency between posts created with the Default Editor vs the ALE — are there any plans to include an option, perhaps, for including the elements automatically added to Default posts (title, meta, featured image, share buttons, excerpt) in posts created with the ALE, so they’ll be consistent on the front end? It’s one thing asking clients to add the excerpt and share buttons manually, but how, for example, would I ask them to add the meta info manually?
Thanks!
July 3, 2019 at 8:22 pm in reply to: Which function is responsible to display the_content(). #1115563I think I’m having the same, or related, issue, and it’s persisting even though the theme is now up to 4.5.7. I’m trying to call post content using the_content() in my Search & Filter Pro queries on http://cb0.a81.mwp.accessdomain.com/services/property-management/properties/ and the listings are coming up blank (see https://screencast.com/t/Uuq2R5fVt ), but only in conjunction with using the ajax to show the results. So, on first page load, the listings show, but when you select a different Property Type or Geographic Region, you can see the results are queried — the number of results is correct — but the_content() is blank. If you then refresh the page, the listings show again. I’ve spoken with S&F Pro support and they say it’s the the_content(); line that’s failing. Do you have any suggestions for a fix? Thanks and lmk if you have any questions or if I should start a new topic.
Ooh, thanks for catching that — I’ve edited the code above to remove that stray.
Not on scroll — I said depending on the browser width. Anyway, I toke another crack at it and found something that seems to work — here it is, including all my media queries, in case it helps anyone. Let me know if you think there’s a simpler/better way — again, this is for https://atlanticspecialtycoffee.com/
/* WIDER LOGO - STICKY HEADER & TRANSPARENT ON HOME PAGE */ div .logo { float: none; position: relative; } .logo a img { margin: 0 auto; width: 850px; } .logo img.alternate { position: relative; top: -95px; } @media only screen and (max-width: 1200px) and (min-width: 990px) { .logo a img { width: 670px; margin: 10px auto; } .logo img.alternate { top: -85px; } } @media only screen and (max-width: 989px) and (min-width: 768px) { .html_header_top.html_logo_center .logo { left: 0; -webkit-transform: none; transform: none; } .responsive .logo img { width: 600px; margin: 12px auto; } } @media only screen and (max-width: 900px) and (min-width: 768px) { .responsive .logo img { width: 450px; margin: 20px auto; } } @media only screen and (max-width: 767px) { .responsive .logo img { width: 400px; } }-
This reply was modified 6 years, 6 months ago by
sky19er.
Understandably so ;) — Thanks anyway, Guenni007
Actually, I think it shows in all browsers, if you hover over the caption, and it shows in Safari when you hover over the image, too… hmm, so maybe the best bet would still be to try to figure out how to pull the lightbox captions from the alt tag ;)
Actually, I’m noticing the tooltip still shows up if you hover over the caption — not the end of the world, but let me know if you can think of a fix for that.
Oh, I’m sorry, I thought you said the code in https://kriesi.at/support/topic/lightbox-displaying-alt-tag-below-image/#post-1107168 was for 4.5.7 — anyway, this new code works like a charm!! Thanks, Guenni007!! Have you considered becoming a moderator? :)
I had already removed the gallery-title fix. I’ve now also now set the Javascript file merging and compression to Disabled, checked the box to Delete old CSS and JS files, cleared the Managed WordPress cache and browser cache several times — no luck; the tooltip still shows on the first image on http://l2f.0b8.myftpupload.com/f-r-a-g-m-e-n-t-s-chaos-mixed-media/ . This is the correct function, right — just this?
function remove_standard_tooltip(){ ?> <script> (function($) { $(window).load(function(){ $('a.lightbox-added .av-masonry-image-container').hover( function() { $(this).attr("orig_title", $(this).attr('title')); $(this).attr('title', ''); }, function() { $(this).attr('title', $(this).attr("orig_title")); } ); }); })(jQuery); </script> <?php } add_action('wp_footer', 'remove_standard_tooltip');Actually, sorry to confuse you, but for me, using the title fields would be ok — there’s an advantage there for me in that I can use some html in the title fields (html gets stripped out of the alt fields), so I can italicize the title of the artwork in these galleries. SO, if I can just hide the tooltips, that’s all I really need. So I updated to 4.5.7, but the remove tooltip function still doesn’t seem to be working — I’m using the title field on the first image here http://l2f.0b8.myftpupload.com/f-r-a-g-m-e-n-t-s-chaos-mixed-media/ and the tooltip is showing.
Oh, but we have to be able to update — I can’t be stuck in 4.5.6 forever ;) — so please don’t waste time trying to find a solution that only works for 4.5.6 and below — at least not on my behalf.
Thanks, Guenni007 — I have some code that seems to be basically taking what I have in the alt tags and duplicating that to the title tags (as long as the title tags are empty — that’s the first function, below — I thought I got that from you, no? So that lets me leave the title fields blank and still shows captions in the lightbox (eg http://l2f.0b8.myftpupload.com/f-r-a-g-m-e-n-t-s-chaos-mixed-media/). But, since it also basically creates title tags, the tooltips still show ;) . And unfortunately, your additional code from above doesn’t seem to hide the tooltips. So, here’s what I have — again, the first function lets me leave the title field blank and still shows captions in the lightbox, but the second function doesn’t seem to hide the tooltips. Seems to me, if we could somehow get the lightbox to actually pull the captions from the alt tag — as opposed to just duplicating the alt tag to the title field/tag — then just leaving the title fields blank would prevent the tooltips from showing. Anyway, let me know if you figure anything out — and thanks!
function gallery_title_fix(){ ?> <script> (function($){ $(window).load(function() { $('.lightbox-added img').each(function(){ var lin = $(this).attr('alt'); $(this).attr('title',lin); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'gallery_title_fix'); function remove_standard_tooltip(){ ?> <script> (function($) { $(window).load(function(){ $('a.lightbox-added .av-masonry-image-container').hover( function() { $(this).attr("orig_title", $(this).attr('title')); $(this).attr('title', ''); }, function() { $(this).attr('title', $(this).attr("orig_title")); } ); }); })(jQuery); </script> <?php } add_action('wp_footer', 'remove_standard_tooltip');Yes, but it seems to still be pulling from the title tag — the script seems to just duplicate the alt tag to the title field, and the captions still pull from the title — I was asking if you had a snippet that would actually pull from the alt tag, so I could maybe get rid of the titles and thereby avoid having the tooltips pop up over the thumbnails.
June 2, 2019 at 6:56 pm in reply to: How to Remove Caption or Description HTML from Image Hover in Masonry Gallery #1106416Hmm, I’m surprised, but ok, thanks anyway.
Thanks, Victoria. Actually, Guenni007’s script seems to duplicate the alt tag to the title tag, if the title tag’s left blank. But that causes the tool tips to show when hovering over thumbnails in the masonry gallery. What I really need is to somehow have the lightbox actually pull the captions from the alt tags, so I can leave the title fields blank and thus prevent the tooltips from showing. Do happen to have a function or filter that tells the lightbox captions to pull from the alt tags instead of title tags?
Thanks again!! Here’s an example of the galleries I’m working on http://l2f.0b8.myftpupload.com/natural-and-organic-oil-paintings/
June 1, 2019 at 5:57 pm in reply to: Enfold Masonry images, once expanded (lightbox), don't load full size image. #1106154Golden — thanks, Mike!
June 1, 2019 at 8:16 am in reply to: How to Remove Caption or Description HTML from Image Hover in Masonry Gallery #1106003Is there a way to have the lightbox captions pull from the alt tag instead of the title tag? That way we could prevent the tooltips from showing by just leaving the title fields blank, right? Thanks!
Thanks, Guenni007 — just what I needed to pull from the alt tags instead of titles!
June 1, 2019 at 2:26 am in reply to: Enfold Masonry images, once expanded (lightbox), don't load full size image. #1105900I just realized I’m having the same issue with the lightbox versions of individual images, using the Media > Image element — for example, the first two images on http://l2f.0b8.myftpupload.com/migrations-custom-4-col/ — do you know how I can modify that filter to include those versions as well? Thanks!!
May 23, 2019 at 8:51 pm in reply to: Enfold Masonry images, once expanded (lightbox), don't load full size image. #1103784Awesomesauce, cyrusis — THANK YOU!
Ah, sorry, I figured it out yesterday and forgot to let you all know — my apologies! It was just that particular project somehow wasn’t connected to my billing account in google. Not sure how that happened — and it was hard to even find where the project-specific billing settings were — but connecting it did the trick. Thanks anyway.
November 30, 2018 at 8:22 pm in reply to: Vimeo embed with autoplay doesn't seem to be working #1039423No, if you click on that svg it takes you to the Films section, then if you click on any of the films they autoplay in Safari.
November 27, 2018 at 7:50 pm in reply to: Vimeo embed with autoplay doesn't seem to be working #1038165On the link I provided above, for http://crownsandowls.com — if you click through to any of the Films from their home page, they DO autoplay in Safari — you just have to click through from their home or Films page http://www.crownsandowls.com/film (you can’t go directly to the link). But even if I click through on my site http://a48.f29.myftpupload.com/motion/ (click on Shaun Ross, lower-right) — it doesn’t work.
If Crowns & Owls is getting it to work, there must be a way.
November 26, 2018 at 8:07 pm in reply to: Vimeo embed with autoplay doesn't seem to be working #1037754Thanks, but, isn’t that on the user’s end? I can’t provide instructions on the site, telling users to change their Safari settings ;) . This site seems to have figured out how to get Vimeo to auto-play in Safari — any idea how they might be getting around it?
November 20, 2018 at 8:29 pm in reply to: Vimeo embed with autoplay doesn't seem to be working #1035780Thanks, Victoria — that did turn out to be the issue — chrome and safari are apparently blocking vimeo videos with audio from autoplaying. What worked for me in Chrome was simply adding allow=”autoplay” to the embed code. If I add &background-1 to the src tag, the video autoplays in Safari, but it’s muted. I can’t seem to find how to get Safari to autoplay the video WITH audio — any of you know that workaround?
Thanks again.
November 14, 2018 at 7:25 pm in reply to: masonry not showing under advanced layer slider with parallax #1033624Thanks, but I don’t have the time or need to play with this right now. The issue seems pretty consistent (or at least very frequent) on my machine (High Sierra/Chrome/Safari), if you’re somehow able to test on a mac. Otherwise, thanks anyway and maybe I’ll revisit this a the client requires this set-up in the future.
https://screencast.com/t/RR76ECPQvyl
https://screencast.com/t/DLVi9oozQHZoNovember 12, 2018 at 11:04 pm in reply to: masonry not showing under advanced layer slider with parallax #1032776No prob — you should be able to see the issue on this page: http://a48.f29.myftpupload.com/home-portfolio-items/
Thanks and let me know if you have any questions.
November 8, 2018 at 8:19 am in reply to: masonry not showing under advanced layer slider with parallax #1031135I no longer need this answer, now — we’ve decided against using the parallax — thanks anyway.
-
This reply was modified 6 years, 6 months ago by
-
AuthorPosts
