Forum Replies Created
-
AuthorPosts
-
Still no movement on this, eh? I think most users would rather have control of which portfolio items go where, rather than leaving it up to Date, Title, Author, etc — something like Page Order is what most of us are probably looking for. For almost every portfolio grid I’ve done for clients (probably over a dozen of them), I’ve ended up having to fudge the publish dates to get the order the client wants — pretty clumsy, relative to all the other great functionality in this theme, and a little embarrassing to have to tell the clients that’s the method. Page Order would be perfect… except there’s no Page Order on Portfolio Items! If you’re not going to provide something like that, at least stop teasing us and remove that option from the dropdown ;) .
July 25, 2019 at 11:50 pm in reply to: trouble with the_content(); and Advanced Layout Editor #1122001Thanks, Ismael — that worked. So, now I have the beta 4 in place on my staging site, and the force shortcode execution filter in the functions.php in that child theme, but the issue persists — the content’s still not showing when you change queries on http://cb0.a81.mwp.accessdomain.com/services/property-management/properties/
Any other ideas for me? Thanks again and let me know if you have any other questions.
July 23, 2019 at 7:10 pm in reply to: Use first slides caption as permanent caption disables open image in lightbox #1121249Thanks — you’re free to close it.
July 22, 2019 at 8:47 pm in reply to: trouble with the_content(); and Advanced Layout Editor #1121003Thanks, FYI I’m getting an error trying to unzip that (see https://screencast.com/t/GcknkqrJy ) — and I don’t see where the password comes into play (I guess maybe in the next step?) — but I’m ok waiting for the next release. Our page is working sufficiently with Ajax turned off in the meantime. Thanks for all your help.
- This reply was modified 5 years, 5 months ago by sky19er.
July 22, 2019 at 8:17 pm in reply to: Use first slides caption as permanent caption disables open image in lightbox #1120994Oh geez, that description is right there next to the checkbox — Duh! — so sorry to waste your time; my apologies, and thank you!
July 21, 2019 at 8:02 pm in reply to: trouble with the_content(); and Advanced Layout Editor #1120690Ah, I see, sorry, no — and actually that link you provided to the zip file doesn’t seem to be working — can you send me a new link, please? Or, if the official new release is coming soon, I can just wait for that. Thanks again!
July 20, 2019 at 7:01 pm in reply to: trouble with the_content(); and Advanced Layout Editor #1120464Thanks again, Günter, but unfortunately, just adding that function/filter from github to the functions.php file in my child theme didn’t seem to work. Do I have to do/change/add something else — maybe in my Search & Filter Pro results.php file, where i have the_content? I have the test running here: http://cb0.a81.mwp.accessdomain.com/services/property-management/properties/ — Again, it loads the first time, but if you try any query it comes up with just blank lines.
- This reply was modified 5 years, 5 months ago by sky19er.
July 19, 2019 at 7:07 pm in reply to: Use first slides caption as permanent caption disables open image in lightbox #1120317My installation is standard, as far as I know. And now you have another participant saying their having a similar issue. So, don’t you have a testing site where you can set a Fullwidth Easy Slider to “Use first slides caption as permanent caption” and “Apply Link to Image”?, Seems like a pretty easy test and I think you’ll find that setting “Use first slides caption as permanent caption” disables the links.
July 18, 2019 at 8:52 pm in reply to: trouble with the_content(); and Advanced Layout Editor #1120007Thanks, but if the issue will be cleared up in the next release, I’ll just wait for that. But if you could tell me exactly what code I need to add to the child theme functions file, that’d be cool for meantime :)
July 18, 2019 at 8:28 pm in reply to: Use first slides caption as permanent caption disables open image in lightbox #1119997Have you confirmed the issue does not exist in a standard installation?
July 17, 2019 at 8:58 pm in reply to: trouble with the_content(); and Advanced Layout Editor #1119688Thanks Günter, but I’m sorry, I’m not clear on how to proceed with this info. Are you saying the issue will be resolved in the next release?
July 15, 2019 at 7:45 pm in reply to: trouble with the_content(); and Advanced Layout Editor #1118909Thanks, so that leaves…
` <?php
while ($query->have_posts())
{
$query->the_post();
$content = apply_filters( ‘avia_builder_precompile’, get_post_meta( get_the_ID(), ‘_aviaLayoutBuilderCleanData’, true ) );
echo $content;
}
?>
…which outputs shortcode on the page (see https://screencast.com/t/0mo9pcDLS ). Anything else I can tweak to get that shortcode to render on the page?Thanks again.
July 12, 2019 at 7:11 am in reply to: trouble with the_content(); and Advanced Layout Editor #1117939Thanks, Ismael, but I’m sorry, I don’t actually “know” php. I took a few stabs at different ways I might integrate that in the code I had, to replace the_content(), but I couldn’t get it to work. Can you tell me how I could use that in this situation?
<?php while ($query->have_posts()) { $query->the_post(); ?> <div> <p><?php the_content(); ?><p> </div> <hr /> <?php } ?>
Thanks so much — sorry for the lack of skills!
OK, thanks anyway.
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 5 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.
-
AuthorPosts