Forum Replies Created
-
AuthorPosts
-
December 2, 2023 at 6:57 pm in reply to: Multiple instances of masonerie do not keep multipole custom links #1426976
Hey liesbethp1,
As I understand you want to use the Masonry Gallery element and on your homepage you added a custom link to a image like this:

and in the element link settings you are using the custom link option:

So on the target page to use the same image again in another masonry gallery and show the image in a lightbox, you would choose the “lightbox link” option:

I believe this is what you are trying to do. If you are asking to use the same image to link to a third page, then you couldn’t do that because you can’t change the link in the image, it only has a option for one link.
As a workaround you could upload a copy of the same image with a link to the third page, or if this image is the featured image to the third page and it is a portfolio page you could use a masonry element on the second page pointing to “portfolio entries”.
So that would be the homepage using a masonry gallery with a image and a custom link ▸
the second page using a masonry element linking to portfolio pages with the featured image of each showing as a “gallery” ▸
then the third portfolio page as the landing page.Best regards,
MikeHi,
Glad to hear that this is working for you now. Please note that if your caching plugin is also minifying your javascript after the theme minify, then this could lead to errors, it is the nature of minifying which trys to remove spaces and some other characters in the javascript, but if two different plugins both do this too much can be removed.
Anyways as long is it is sorted out now that is what is important, unless there is anything else we can help with on this issue, shall we close this thread then?Best regards,
MikeHi,
I tested some more on my demo site and the following code seems to work well, so you can try replacing the code that I added to your child theme functions.php with this:function display_author_posts() { if (is_single()) { global $post; $author_id = $post->post_author; $num_posts_to_display = 4; // adjust to the number of posts to display per row any number higher than 3 $items_per_row = 4; // adjust to the number of items per row either 3, 4, or 5 if (isset($_GET['items_per_row'])) { $items_per_row = intval($_GET['items_per_row']); $items_per_row = in_array($items_per_row, array(3, 4, 5)) ? $items_per_row : 3; } $args = array( 'author' => $author_id, 'post__not_in' => array($post->ID), 'posts_per_page' => $num_posts_to_display, ); $author_query = new WP_Query($args); if ($author_query->have_posts()) { $post_counter = 0; echo '<div class="author-posts container">'; echo '<h2>Other Articles by ' . get_the_author_meta('display_name', $author_id) . '</h2>'; echo '<div class="article-grid">'; while ($author_query->have_posts()) { $author_query->the_post(); $post_counter++; if ($items_per_row === 4) { $item_class = 'av_one_fourth'; } elseif ($items_per_row === 5) { $item_class = 'av_one_fifth'; } else { $item_class = 'av_one_third'; } $first_class = ($post_counter % $items_per_row === 1) ? ' first' : ''; echo '<div class="article-item ' . $item_class . ' flex_column' . $first_class . '">'; echo '<a href="' . get_permalink() . '">'; echo '<img src="' . get_the_post_thumbnail_url($post->ID) . '" alt="' . get_the_title() . '" />'; echo '</a>'; echo '<h3><a href="' . get_permalink() . '">' . get_the_title() . '</a></h3>'; echo '<span class="post-meta-infos">'; echo '<time class="date-container minor-meta updated"> ' . get_the_date() . '</time>'; echo '<span class="blog-categories minor-meta"> / in ' . get_the_category_list(', ') . '</span>'; echo '<span class="blog-author minor-meta"> / by <a href="' . get_author_posts_url($author_id) . '">' . get_the_author() . '</a></span>'; echo '</span>'; echo '</div>'; if ($post_counter % $items_per_row === 0) { echo '<div style="clear:both;"></div>'; } } echo '</div>'; echo '</div>'; } wp_reset_postdata(); } } add_filter('ava_before_footer', 'display_author_posts');it adds the “Other Articles by [author]” to the bottom of the posts just above the footer after the “related posts” and the comment form, this is the expected result:

in the code above you will note two options:
$num_posts_to_display = 4; // adjust to the number of posts to display per row any number higher than 3
$items_per_row = 4; // adjust to the number of items per row either 3, 4, or 5
the $num_posts_to_display is the total posts from the author you want to show, if it is the same as the second option you will see just one row, if it use double you wil see two rows, etc.
the $items_per_row is how many items in each row, you can choose only 3, 4, or 5 due to the required classes needed for the built-in theme css to create the grid. I wanted this function to use the theme classes and layout so it is consistent with the rest of the theme.Best regards,
MikeHi,
Thanks for your patience and the link to your testing site, I saw that you only have one post and one author, so I created a few more posts and another author to test the code for the display_author_posts element at the bottom of your posts and was having some success, but unfortunately in one of my edits to the code I made an error ans crashed the site, please include FTP access, so I can fix my error in the child theme functions.php and continue with my tests.
Unfortunately the theme editor is not forgiving and when you make an error you also lose access the editor.Best regards,
MikeHi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
When I test the filter that Ismael posted above on my test site child theme functions.php and test a masonry element for a specific category, and set all of the items to “draft” the masonry element is not included in the page source code and it shows no items until I publish one of the posts for the specific category.add_filter('avf_masonry_query_no_entries_fallback', function($fallback) { return false; }, 10, 1);So this filter seems to be working correctly, when I examine your site you seemed to also be tring to show posts in a masonry element, but you didn’t have a category selected:

thus on the frontend the masonry element showed some “pages” instead of “posts”

so I selected the category in the masonry element:

and now on the frontend the masonry doesn’t show any items:

the title and button show because they are separate elements:

Please check.Best regards,
MikeHi,
Perhaps this can be done with some javascript, please include an admin login in the Private Content area so we can examine closer.
I assume that you want this for all pages, correct?Best regards,
MikeHi,
For the Google font to show in the font drop-down lists, perhaps you missed a step, please check that you did these:
Download the font zip from Google Fonts: Corinthia

Then upload to Enfold Theme Options ▸ Import/Export ▸ Custom Font Manager

Then you can slect the font in the drop-down for all headings in the Enfold Theme Options ▸ Advanced Styling ▸ All Headings (H1-H6)

Note that any font that you add will be at the very bottom of the list.
These is how it looks on my demo site:

Best regards,
MikeHi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHey Fredkiki,
It sounds like you are using the “Display Tabs for each category selected above?” option and would like to sort them with another taxonomy, but unfortunately we don’t have a way to do this the taxonomies are not included in the output.
I recommend to try adjusting the published dates to the order that you wish them to be, the most recent should be on top.Best regards,
MikeDecember 1, 2023 at 9:29 pm in reply to: This page is selected to be displayed as maintenance mode page but is not active #1426917Hey AlpineWeb,
Please go to the inactive setting:
Maintenance Mode Page
then activate each it, then select no page for the option, then deactivate the option, then save your theme settings.Best regards,
MikeHey sharynt3,
Thanks for the link to your site, I see the font is added via a script & css plugin:<style type="text/css" id="cst_font_data"> @font-face { font-family: 'Corinthia'; font-weight: 400; src: url('/wp-content/uploads/2023/12/Corinthia.eot?#iefix') format('embedded-opentype'), url('/wp-content/uploads/2023/12/Corinthia.svg') format('svg'), url('/wp-content/uploads/2023/12/Corinthia.ttf') format('truetype'), url('/wp-content/uploads/2023/12/Corinthia.woff') format('woff'), url('/wp-content/uploads/2023/12/Corinthia.woff2') format('woff2'); } </style>to use it for your headings try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:
#top #wrap_all .all_colors h1, #top #wrap_all .all_colors h2, #top #wrap_all .all_colors h3, #top #wrap_all .all_colors h4 { font-family: Corinthia; }and note that this font has a smaller size than your current font, so you will need to adjust the font size in the elements, for example if your element is currently 34px, you should try setting it to 48px.
Best regards,
MikeHi,
I have not seen this before, but I think that it is due to the WP-Rocket lazy load setting. Try disabling this option and test again.
If you have a exclude option try excluding this class.avia-slideshow
I see that you are using a background image to show while the video is loading, but WP-Rocket is also lazy loading that image, thatr is whay it is not showing.
If the exclude class above doesn’t work this try adding this class.avia-slide-wrap
but first try disabling the WP-Rocket lazy load option to see if we are on the right path.Best regards,
MikeHi,
Glad Ismael could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeDecember 1, 2023 at 8:41 pm in reply to: Burger Menu JS click action is deferred by WP-Rocket #1426912Hey El,
Thinkjarvis shared this thread: The best settings for Enfold and WP-Rocket which you may find helpful.
But I believe this this thread is what you are looking for: Wp Rocket broke my hamburger menu, tags and accordion
The issue was the user was using the REMOVE UNUSED CSS option so the solution was to add these classes in the CSS safelist in the Wp Rocket REMOVE UNUSED CSS option:.main_menu .menu-item-avia-special .av-hamburger .av-hamburger-box .av-hamburger-inner .av-burger-overlay .av-burger-overlay-scroll .av-burger-overlay-inner .av-active-burger-items .av-burger-overlay-active .av-burger-overlay-active-delayed .av-hamburger--spin .av-js-hamburger .avia_hidden_link_text .av-burger-menu-main #av-burger-menu-ul #avia-menu .av-width-submenu .av-active-burger-items .current_page_item .current-menu-item .av-active-burger-items .avia-menu .av-main-nav-wrap .menu .av-main-nav .av-width-submenu .sub-menu .av-burger-overlay-bg .inner-container #header_mainBest regards,
MikeHi,
manhattanctr it’s hard to say without see the backend of your site. If the site didn’t use any builders then there is a good chance that you won’t have any issues, if you would like us to look at your site and advise further, please open a new thread and include a admin login in the Private Content area so we can view how the site was created, since this is not your thread and posting your admin login here will not be private and you will not see our comments in the Private Content area.Best regards,
MikeHi,
Ok, if you download the “full theme” zip file and extract in to your desktop you should see a “enfold-child” directory, you can use this as the child theme.
Or you can use the child theme from our documentation.Best regards,
MikeHi,
If you can’t use the theme’s Enfold > Performance > File Compression settings and enable the Unique Timestamp Of Merged Files And WP Object Cache Bug option to append a timestamp to the compressed file, then it could be a conflict with another plugin, try disabling all of your plugins. If that resolves the issue, reactivate each one individually until you find the cause.
Unfortunately I don’t believe there is a way to do what you ask without the risk of further conflicts.Best regards,
MikeDecember 1, 2023 at 1:09 am in reply to: Display Immobilienscout content inside the WP page #1426858Hey Sebastian,
The only real estate ads that I have seen other sites add were with a plugin, but I’m not sure what plugin they used.
Plugins can typically add content via PHP so iframes are not needed. But typically real estate ads are only available though a paid plan, so you will first need to find a plugin and then see if they use a shortcode to display the ads or iframes.Best regards,
MikeHey sophiasbiti,
Unfortunately your site is not loading, it seems to be down, please check.
Also please ensure that you have Enfold version 5.6.8 installedBest regards,
MikeHi,
I assume that you have not added your custom icon in the Enfold Theme Options ▸ Import/Export ▸ Iconfont Manager option, please see our documentation to create a icon font: Adding your own Fontello Icons.
Otherwise you could use css to replace the icon with your custom icon that you uploaded into the media library.
If you would like help with the css solution, please link to your icon and the hr line you want to replace the icon in so we can examine.Best regards,
MikeHey David,
I believe that this may be the logo image, it has no title and the alt tag is the text showing in your search results, try adding a title in the logo image in the media library and them go to your Google Search Console and request a new crawl of your page.
Perhaps the last crawl was while you were still building your page.Best regards,
MikeNovember 30, 2023 at 7:25 pm in reply to: Remove Green Circle from appearing on Image Link Hover #1426840Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Thank you for the link to your site, try this CSS in your Enfold Theme Options ▸ General Styling ▸ Quick CSS field:#top .caption_framed .slideshow_caption .avia-caption-content p, #top .caption_framed .slideshow_caption .avia-caption-title { background: green; }After applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
JannyPolak please link to your page so we can examine the elements add assist with some css.Best regards,
MikeNovember 30, 2023 at 5:12 pm in reply to: Change the background behind the Woo commerce boxes #1426828Hi,
Glad Nikko was able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Glad to hear that you have this sorted out, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts


