Forum Replies Created
- 
		AuthorPosts
- 
		
			
				
October 26, 2025 at 5:13 pm in reply to: Masonry Blog Posts no longer sorting date correctly #1490605Thank you for this suggestion. I’ve shared it with my client and they are going to try this out. If you don’t mind leaving this post open for a few more days, I can let you know how it goes. October 22, 2025 at 2:53 pm in reply to: Masonry Blog Posts no longer sorting date correctly #1490511Sorry about that! I did add the script to the functions.php but did it through cPanel. The theme editor is enabled in WordPress now, if you could please take a look. Thanks. October 21, 2025 at 3:23 pm in reply to: Masonry Blog Posts no longer sorting date correctly #1490465That would be great – thanks, Ismael.. The login info is provided in the private field. October 16, 2025 at 4:19 pm in reply to: Masonry Blog Posts no longer sorting date correctly #1490302Thank you for the revision, but it didn’t work. Below is the functions.php with the revision included. I removed everything except what you provided and it didn’t make a difference. // masonry read more 
 function ava_custom_script_mod(){
 ?>
 <script>
 (function($){
 $(window).on(‘av-height-change’, function() {
 $(‘.av-masonry-entry’).each(function() {
 var more = $(this).find(‘.av-masonry-read-more’);
 var cont = $(this).find(‘.av-inner-masonry-content-pos’);if( more.length == 1 ) return; 
 $(‘<div class=”av-masonry-read-more”>Read More >></div>’).insertAfter(cont);
 });
 });
 })(jQuery);
 </script>
 <?php
 }
 add_action(‘wp_footer’, ‘ava_custom_script_mod’);// hide image descriptions on hover 
 function remove_title_attr(){
 ?>
 <script>
 jQuery(window).load(function(){
 jQuery(‘#wrap_all a’).removeAttr(‘title’);
 jQuery(‘#wrap_all img’).removeAttr(‘title’);
 });
 </script>
 <?php
 }
 add_action(‘wp_footer’, ‘remove_title_attr’);// add selection feature to Blog Posts element to set the post by date order if(!function_exists(‘avia_custom_query_extension’)) 
 {
 function avia_custom_query_extension($query, $params)
 {
 global $avia_config;
 if(!empty($avia_config[‘avia_custom_query_options’][‘order’]))
 {
 $query[‘order’] = $avia_config[‘avia_custom_query_options’][‘order’];
 }if(!empty($avia_config[‘avia_custom_query_options’][‘orderby’])) 
 {
 $query[‘orderby’] = $avia_config[‘avia_custom_query_options’][‘orderby’];
 }unset($avia_config[‘avia_custom_query_options’]); return $query; 
 }add_filter(‘avia_masonry_entries_query’, ‘avia_custom_query_extension’, 10, 2); 
 add_filter(‘avia_post_grid_query’, ‘avia_custom_query_extension’, 10, 2);
 add_filter(‘avia_post_slide_query’, ‘avia_custom_query_extension’, 10, 2);
 add_filter(‘avia_blog_post_query’, ‘avia_custom_query_extension’, 10, 2);
 add_filter(‘avf_magazine_entries_query’, ‘avia_custom_query_extension’, 10, 2);add_filter(‘avf_template_builder_shortcode_elements’,’avia_custom_query_options’, 10, 1); 
 function avia_custom_query_options($elements)
 {
 $allowed_elements = array(‘av_blog’,’av_masonry_entries’,’av_postslider’,’av_portfolio’,’av_magazine’);if(isset($_POST[‘params’][‘allowed’]) && in_array($_POST[‘params’][‘allowed’], $allowed_elements)) 
 {
 $elements[] = array(
 “name” => __(“Custom Query Orderby”,’avia_framework’ ),
 “desc” => __(“Set a custom query orderby value”,’avia_framework’ ),
 “id” => “orderby”,
 “type” => “select”,
 “std” => “”,
 “subtype” => array(
 __(‘Default Order’, ‘avia_framework’ ) =>”,
 __(‘Title’, ‘avia_framework’ ) =>’title’,
 __(‘Random’, ‘avia_framework’ ) =>’rand’,
 __(‘Date’, ‘avia_framework’ ) =>’date’,
 __(‘Author’, ‘avia_framework’ ) =>’author’,
 __(‘Name (Post Slug)’, ‘avia_framework’ ) =>’name’,
 __(‘Modified’, ‘avia_framework’ ) =>’modified’,
 __(‘Comment Count’, ‘avia_framework’ ) =>’comment_count’,
 __(‘Page Order’, ‘avia_framework’ ) =>’menu_order’)
 );$elements[] = array( 
 “name” => __(“Custom Query Order”,’avia_framework’ ),
 “desc” => __(“Set a custom query order”,’avia_framework’ ),
 “id” => “order”,
 “type” => “select”,
 “std” => “”,
 “subtype” => array(
 __(‘Default Order’, ‘avia_framework’ ) =>”,
 __(‘Ascending Order’, ‘avia_framework’ ) =>’ASC’,
 __(‘Descending Order’, ‘avia_framework’ ) =>’DESC’));
 }return $elements; 
 }add_filter(‘avf_template_builder_shortcode_meta’, ‘avia_custom_query_add_query_params_to_config’, 10, 4); 
 function avia_custom_query_add_query_params_to_config($meta, $atts, $content, $shortcodename)
 {
 global $avia_config;
 if(empty($avia_config[‘avia_custom_query_options’])) $avia_config[‘avia_custom_query_options’] = array();if(!empty($atts[‘order’])) 
 {
 $avia_config[‘avia_custom_query_options’][‘order’] = $atts[‘order’];
 }if(!empty($atts[‘orderby’])) 
 {
 $avia_config[‘avia_custom_query_options’][‘orderby’] = $atts[‘orderby’];
 }return $meta; 
 }
 }
 add_action(‘wp_footer’, function () {
 ?>
 <script>
 function avResortMasonry() {
 const masonryContainer = document.querySelector(‘.av-masonry-container’);
 if (!masonryContainer) return;const masonryItems = Array.from(masonryContainer.querySelectorAll(‘.av-masonry-entry’)); const masonryWithDates = masonryItems.map(item => { 
 const dateElement = item.querySelector(‘.av-masonry-date’);
 const dateText = dateElement ? dateElement.textContent.trim() : ”;
 const parsedDate = new Date(dateText);
 return { element: item, date: parsedDate };
 });masonryWithDates.sort((a, b) => b.date – a.date); masonryWithDates.forEach(({ element }) => { 
 masonryContainer.appendChild(element);
 });
 }document.addEventListener(‘DOMContentLoaded’, avResortMasonry); 
 window.addEventListener(‘av-height-change’, avResortMasonry);
 </script>
 <?php
 }, 9999);add_filter(‘avf_postgrid_excerpt_length’,’avia_change_postgrid_excerpt_length’, 10, 1); 
 function avia_change_postgrid_excerpt_length($length)
 {
 $length = 300;
 return $length;
 }October 15, 2025 at 4:32 pm in reply to: Masonry Blog Posts no longer sorting date correctly #1490256Hi Ismael, I’ve reinserted the script you provided, placing it directly beneath the original script in the Enfold child theme functions file (copied/pasted to https://snipboard.io/240r8s.jpg). Please let me know if you see anything helpful there. Thanks. Last week I deactivated the Molongui Authorship and it made no difference with the sort order. If there is a conflict, I don’t see it there. October 14, 2025 at 9:43 pm in reply to: Masonry Blog Posts no longer sorting date correctly #1490225Forgot to mention, the only plugin that is in use that might cause a conflict with the masonry would be Molongui Authorship. I don’t know much about that plugin. Have you heard anything about it that might be considered a problem? October 14, 2025 at 9:41 pm in reply to: Masonry Blog Posts no longer sorting date correctly #1490224@ismael, I had a similar script in functions.php but replaced it with your recommendation. Unfortunately, it did not correct the sort order issue. 
 @guenni007, I had already changed the settings to Perfect Grid to no avail. Other masonry settings didn’t work either. I’m stumped.Any other thoughts or ideas? July 14, 2025 at 3:45 pm in reply to: Header widget showing above logo on mobile and tablet – how to reposition #1486742Thank you for the tips for helping us sort out the widget and logo positioning. It is working well again. That works! Thanks, Ismael! That did the trick. My thanks to both of you! Oops… I noticed one other thing. The navbar search icon is a little off on the link. The clickable area is to the right of the icon not on top of it. Not sure why. Any suggestions? Other than that the search icon box is good now. Thank you @Guenni007 and @Ismael! You both have been a big help. The navbar search icon field is showing the SVG icon again. We can close this ticket now. Yes, that CSS is there but whatever is changed on it affects both the navigation bar search box and the content custom search widget. Below is the CSS for the home page content custom search widget. Is anything is this customization affecting the navigation search box? It was working correctly for several years up until the latest version of Enfold. I don’t know what changed, but rolling back to previous versions of Enfold in a staging area corrects it. #chsearchbox { 
 position: relative;
 background-color: transparent!important;
 margin-top: -15px;
 z-index: 55;
 border: none!important;
 }
 #search-3 #s {
 left: 35px;
 content: url(‘https://riseandshine.childrensnational.org/wp-content/uploads/2017/07/ch-search-icon.png’);
 width: 85%;
 margin: -32px auto !important;
 padding: 41px;
 border: none!important;
 box-shadow: 0px 5px 15px 0px #cccccc;
 }
 #search-3 .avia-font-entypo-fontello {
 background-image: url(https://riseandshine.childrensnational.org/wp-content/uploads/2017/07/ch-search-icon.png);
 background-repeat: no-repeat;
 background-position: 50% 50%;
 background-size: contain;
 background-color: transparent!important;
 width: 67px!important;
 }
 #search-3 #searchform #searchsubmit {
 _font-size: 2.5em; /*set the size of the magnifying icon*/
 font-size: 1.5em;
 color: transparent;
 }
 #search-3 input[type=”text”] {
 font-size: 30px; /*set the size of the search box input font*/
 }
 #search-3 .button {
 left: 95px;
 }
 #searchsubmit .avia-font-entypo-fontello {
 display: none!important;
 }March 24, 2025 at 6:05 pm in reply to: Search widget no longer working correctly since update to Enfold 7 #1480060Ismael, 
 Thank you for the CSS advice. That works great for the home page search widget below the layerslider. However, it also applies to the avia menu search bar icon. I don’t mind that the SVG default icon isn’t there, but when I try to move the search icon to the left of the search box it affects the search widget on the home page. I’ve included a link to a screenshot of the search icon in the nav bar and how it is displayed in the text input area. If we change it then it affects the search widget icon further down on the home page. Can you advise on how to adjust the nav menu search box so the icon is to the left of the input field, but without affecting the search widget further down on the home page? We had it working separately before this issue arose. Thanks.March 21, 2025 at 8:43 pm in reply to: Search widget no longer working correctly since update to Enfold 7 #1479882Ismael, 
 Thank you for your reply, but the custom_content on the navigation bar is not the problem. It is a different area of the website (below the home page banner slider), which is using the css #searchsubmit and is not rendering correctly since the 7.0/7.1 version updates.I’ve pasted a link to a screenshot of the search box we are having trouble with as it looks now. The standard search icon is out of position all the way to the right and the SVG search icon we are using that is no longer displaying. How can we get the custom SVG search icon to display again to the left of the search box, and the ‘search’ word label to display again? March 13, 2025 at 3:58 pm in reply to: Search widget no longer working correctly since update to Enfold 7 #1479266The theme has been updated to 7.1 but the problem still persists. Any other suggestions? March 12, 2025 at 3:48 pm in reply to: Search widget no longer working correctly since update to Enfold 7 #1479174Actually, the search icon is working but it is a little off to the left of the clickable area. So if a user clicks directly on top of the search icon, nothing happens. You have to click a little to the right of it. Again, this is on the search icon on the nav menu. The other search issue is the widget box under the home page slider. Sorry for so many replies. March 12, 2025 at 3:44 pm in reply to: Search widget no longer working correctly since update to Enfold 7 #1479173And I just realized the search icon on the nav menu while now showing is not displaying the search box when selected. Can you check on that as well? Rikard, Thank you for your reply. We found the problem was with hosting and corrected it. Enfold is great as always. :) May 2, 2024 at 5:36 pm in reply to: Enfold child function not working since upgrading website #1441944@Guenni007, thank you for your advice on the jQuery. I’ve updated the functions.php file per your suggestion and all appears to be in working order. May 2, 2024 at 3:25 pm in reply to: Enfold child function not working since upgrading website #1441931That worked! Thank you so much for the fast response, Rikard! February 21, 2024 at 6:45 pm in reply to: masonry load more not working since update to 5.6.10 #1435063I think we are good for now. Feel free to close this topic. Thanks again! February 21, 2024 at 6:18 pm in reply to: masonry load more not working since update to 5.6.10 #1435052Thank you for your suggestion. It looks like the new version and the Hustle popup plugin had a conflict. We seemed to have resolved the issue. February 19, 2024 at 4:17 pm in reply to: masonry load more not working since update to 5.6.10 #1434784Rikard, 
 Thank you for your response. I reread what I wrote and I don’t think I explained the issue very clearly.
 If you scroll down on the page and click on the red ‘load more’ button a dark overlay appears on the screen as if the next few rows of masonry are loading, however nothing happens. The new rows don’t load and the page seems to be stuck with the dark overlay and nothing else happening.
 If you could please try to click on the load more you may have the same experience. I’ve tried Chrome, Edge and Firefox with the same result — the rows don’t load.February 9, 2024 at 5:16 pm in reply to: Main content widget box opening behind color section #1433835That works — thank you! February 8, 2024 at 10:10 pm in reply to: Main content widget box opening behind color section #1433741Mike, 
 Thank you for your reply and for your help. Your suggestion worked great for that page, but we are using the widget ion other pages as well. I’ve added the following to the CSS:.page-id-452 #av_section_3 { 
 z-index: 0;
 position: relative;
 }
 .page-id-717 #av_section_1 {
 z-index: 0;
 position: relative;
 }Page id 452 worked as you recommended. Page id 717 the calendar still appears behind the content below it even though the widget is the same and the section id # was adjusted in the css. I’ve added the page links in private content for you to see. Since we are using this widget on different pages, might you have a suggestion that would be more ‘global’? Thanks, again! August 14, 2023 at 6:38 pm in reply to: After update to Enfold 5.6.5, Advance Layerslider post title no longer appearing #1416272Yes, Mike. Please close the ticket. Thank you! August 9, 2023 at 5:15 pm in reply to: After update to Enfold 5.6.5, Advance Layerslider post title no longer appearing #1415942Thank you, Yigit. I appreciate you checking into LayerSlider and will watch for the next release of Enfold with LayerSlider 7.7.11 applied. 
 Any idea if the latest release of WordPress 6.3 will have any bearing on this? I’m guessing not, but thought I’d ask anyway.Are you using Sucuri? I have received the same alerts that several (but not all) of our Enfold sites have malware for wp-content/themes/enfold/config-layerslider/LayerSlider/assets/static/layerslider/js/layerslider.kreaturamedia.jquery.js js.redirect.mass_domain.103 However, on a couple of the sites that are supposedly infected, Layerslider had already been removed through Enfold theme options. The Layerslider folders don’t exist, so I don’t see how they can have malware. May 5, 2023 at 6:47 pm in reply to: Updated guidance on where to change Masonry ‘load more’ text #1406545Oops! I gave you the wrong link in Private Data. Let me try that again. 
- 
		AuthorPosts
