Forum Replies Created
-
AuthorPosts
-
Hi,
Thank you for the info.
We can now access the file server properly. We just noticed that there is a minor syntax error in the code that we provided.
$file = AVIA_EVENT_PATH . "views/" . $name[0] . '.php';
This should be..
$found_file = AVIA_EVENT_PATH . "views/" . $name[0] . '.php';
We corrected it and the single event page seems to be displaying properly now.
Best regards,
IsmaelFebruary 5, 2021 at 1:44 pm in reply to: Shortcode problem – It displays outside the place of placement #1277990Hi,
Thank you for following up.
There is obviously an incompatibility issue between the theme and the plugin since it is not working as expected, but what we are trying to point out is that, it is not a problem with how the code block renders the shortcode. Again, you could try a default shortcode from WP or a shortcode from a different plugin and it will work just fine, so the issue is how the plugin renders its shortcode. Unfortunately, we do not know how the plugin works and we are not familiar with its code, so it would be a huge help if the plugin developers could provide additional insights as to how the plugin render its shortcode, what function it is currently using or which filter or hook it is utilizing to render the output of the shortcode.
Best regards,
IsmaelHi,
Thank you for the update.
Would you mind providing a screenshot or a mockup of the blog layout that you want to create? Have you tried selecting a different posts layout in the Enfold > Blog Layout > Blog Layout settings? You may also have to adjust the Enfold > Blog Layout > Blog Style.
Best regards,
IsmaelFebruary 5, 2021 at 1:32 pm in reply to: Paralax option blows picture up while extremely wide pic doesn't fill whole wndw #1277984Hi,
Thank you for the update.
This is what we get when we manually adjust the background position using the recommended css code above.
Screenshot: https://imgur.com/3QczJAw
As you may noticed, the children are now visible in the color section area.
Now if you want to adjust the actual height of the parallax container like the screenshot below..
Screenshot: https://imgur.com/hcOjW3l
.., please use this css code.
@media only screen and (max-width: 767px) { .home #av_section_1 .av-parallax.active-parallax { height: 100% !important; top: 0 !important; transform: translate3d(0px, 0, 0px) !important; } }
Best regards,
IsmaelFebruary 5, 2021 at 1:24 pm in reply to: Shopify "Buy now" button (Javascript code integration) Problem! #1277980Hi,
Thank you for the update.
We recommend creating a custom shortcode for the shopify embed code in the functions.php file so that you do not have to add the embed code directly in the builder. A custom shortcode should look something like this.
//[foobar] function foobar_func( $atts ){ return "foo and bar"; } add_shortcode( 'foobar', 'foobar_func' );
You can now use the shortcode [foobar] in a text or code block and it will render the text “foo and bar” in the front end.
Would you mind providing an example of the shopify code?
Best regards,
IsmaelHi,
For some reason, the modification above is not working as expected. Would you mind removing the header.php file template in the child theme? We noticed that the alternate menu is being included in the site when it is not supposed to.
Best regards,
IsmaelHey chr_thiesen,
Thank you for the inquiry.
The videos are not playing automatically on page load anymore because of the privacy options, users have to manually accept or toggle the privacy buttons in order to enable external services including youtube videos, maps and other third party scripts that requires or uses cookies. If you want to enable autoplay even when the privacy options are enabled, you have to set the Enfold > Privacy & Cookies > Cookie Handling to the first or second option.
Best regards,
IsmaelFebruary 4, 2021 at 9:31 am in reply to: how setting pagination without "?avia-element-paging=2" #1277638Hey marcobe,
Thank you for the inquiry.
Have you tried updating the theme to the latest version (4.7.6.4)? The latest version should contain the fix for the pagination. If the latest version of the theme is already installed and the pagination is still not working as it should, please try the solution provided in the following thread.
// https://kriesi.at/support/topic/the-grid-with-products-does-not-work-pagination/#post-1254673
// https://kriesi.at/support/topic/enfold-blog-posts-and-magazine-navigation-link-to-previous-page-not-working/#post-1264664Best regards,
IsmaelHey B2LFilms,
Thank you for the inquiry.
Have you tried using the Layer Slider plugin to create a custom slider with different transitions? You could also add a custom image to the theme’s Page Preloading option located in the Enfold > Theme Options panel. It may not look or behave exactly as the examples above, but you should be able to tweak the slider transitions to get almost the same effect.
Best regards,
IsmaelHey Talker77,
Thank you for the inquiry.
The advance layout builder is automatically disabled on the base shop page, but you can use the following snippet in the functions.php file to enable it back.
add_theme_support( 'avia_custom_shop_page' );
However, please not that enabling this may cause default features such as the product sorting or when using a default product widget to not work correctly in the shop page. For more info, please check the documentation.
// https://kriesi.at/documentation/enfold/woocommerce-shop/#custom-woocommerce-shop-overview-with-advanced-layout-editor
Best regards,
IsmaelHey Frits,
Thank you for the inquiry.
The masonry element does not have that option by default, so you might need to use another extension or plugin, which also mean that you have to use a different template or posts style. Please check one of the following extensions below.
// https://wordpress.org/plugins/search-filter/
// https://wordpress.org/plugins/beautiful-taxonomy-filters/Best regards,
IsmaelHey Munford,
Thank you for the inquiry.
This is a better and more simple version of the script above.
Please remove the current script and use that one instead. It should also fix the issue that you described above.
Best regards,
IsmaelHey John,
Thank you for the inquiry.
There is no plan on adding this feature in the theme just yet, but we will forward your request to our channel. For the meantime, you could start with the following css code to create a grid like structure in the search results page. You may need to control the length of the excerpt to make sure that the items in the rows have equal height.
.search .post-entry { width: 32%; float: left; clear: none; border: 1px solid; border-radius: 3px; margin: 0 1% 2% 0; padding: 1%; } .search .search-result-counter { display: none; } .search .template-search.content .entry-content-wrapper { padding-bottom: 10px; padding-left: 15px; font-size: 13px; clear: both; padding-right: 15px; }
Best regards,
IsmaelFebruary 4, 2021 at 6:45 am in reply to: How to modify "add to cart" button in product sheet? #1277557Hey Caterisana,
Thank you for the inquiry.
1.) We could use the following css code to adjust the style of the product buttons.
#top .avia_cart_buttons .button { min-width: 50px; float: none; width: 100%; text-align: center; border-radius: 0; padding: 11px 2px; font-size: 11px; font-weight: 600; line-height: 15px; margin: 0; color: red !important; }
2.) And in order to remove the “show details” button, please use this css code.
.button.show_details_button { display: none !important; }
With the first css code, we also adjusted the width of the add to cart button and align it to the center.
Best regards,
IsmaelHey MSchrauf,
Thank you for the inquiry.
You may need to look for a different animated number solution in this case because the default animated numbers element from the builder does not accept shortcode as parameter value by default.
Or we could create a custom shortcode based on the markup of the current animated number element. Please add this code in the functions.php file to create the custom animated number shortcode.
// custom animated numbers function avs_animated_number_mod_cb( $atts ) { $number = do_shortcode("[reportcount]"); return " <div class='avia-animated-number av-force-default-color avia_animate_when_visible number_prepared' data-timer='3000'> <strong class='heading avia-animated-number-title'><span class='avia-single-number __av-single-number' data-number_format='' data-number='{$number}' data-start_from='0'> </span> </strong> <div class='avia-animated-number-content'> <p>Add your own text</p> </div> </div>"; } add_shortcode( 'avs_animated_number_mod', 'avs_animated_number_mod_cb' );
In a code or text block, use this shortcode.
[avs_animated_number_mod]
This should automatically assign the value of the [reportcount] shortcode in the number parameter.
Best regards,
IsmaelHey PGerousse13,
Thank you for the inquiry.
We could use this snippet in the functions.php file to render the add to cart button after the product title in the shop page.
add_action( 'after_setup_theme', function() { add_action( 'woocommerce_after_shop_loop_item_title', 'woocommerce_template_loop_add_to_cart', 12 ); }, 999);
It might require a few style adjustments. Site looks very nice by the way.
Best regards,
IsmaelFebruary 4, 2021 at 6:22 am in reply to: Adding button to mute/unmute audio on fullscreen background video #1277547Hi!
Sorry for the delay. We are still not sure why this is not working on Safari browsers. Could you provide a screenshot of the errors again without compression enabled? Please place the screenshot in the private field.
Best regards,
IsmaelHey DanielKG,
Thank you for the inquiry.
Looks like the checker is looking for the label for the input tags in the contact form element, but those labels already exist, so these warnings should not show up. This is an example of the field markup in the contact form element in the home page.
<p class=" first_form form_element form_fullwidth" id="element_avia_2_2"><label for="avia_2_2">E-Mail <abbr class="required" title="required">*</abbr></label> <input name="avia_2_2" class="text_input is_email" type="text" id="avia_2_2" value=""></p> <p class=" first_form form_element form_fullwidth" id="element_avia_2_2"><label for="avia_2_2">E-Mail <abbr class="required" title="required">*</abbr></label> <input name="avia_2_2" class="text_input is_email" type="text" id="avia_2_2" value=""></p>
As you can see, it has a corresponding label for each input tags.
<label for="avia_2_2">E-Mail <abbr class="required" title="required">
Best regards,
IsmaelHey bnetz,
Thank you for the inquiry.
You would have to include a conditional function in the snippet such as the is_page function. Please check the documentation for more info.
// https://developer.wordpress.org/reference/functions/is_page/
At the very top, you might have to do something like this.
if(is_page(array(1, 232, 424))) return;
This cancels out the function or immediately returns nothing when the current page has the ID of 1, 233 or 424.
Best regards,
IsmaelHi,
Thank you for the info.
The product gallery is now switching to the appropriate image when we select a different color or size. You may need to purge the cache on your end or disable the WP Rocket plugin temporarily to actually see the changes.
Best regards,
IsmaelHi,
Thank you for the info.
We cannot access the file server using the account info above, unfortunately. Please check it carefully, or provide another login account and make sure that it is not limited to certain IP addresses and is accessible from these countries.
Best regards,
IsmaelFebruary 4, 2021 at 5:52 am in reply to: Portfolio für bestimmte Seite ohne verlinkung zu single portfolio #1277534Hi,
Thank you for the update.
We cannot find the script in the page or the document. Are you sure that you placed it in the functions.php file, preferably in the child theme directory? Please post the login info in the private field so that we could test it.
Best regards,
IsmaelFebruary 4, 2021 at 5:49 am in reply to: Woocommerce Product image in Avia Builder using wooswatches #1277533Hi,
@dmmediaks: Would you mind providing a link to a page with the gallery so that we could check it? Please post the details in a new thread or ticket if possible.Best regards,
IsmaelHi,
For some reason, we cannot deactivate the WP Rocket plugin, so we are not really sure if the changes that we are committing are actually taking effect. Please disable the cache plugin temporarily. We also installed the Enable jQuery Migrate Helper plugin and set jQuery to the old version because we found a script error in the front end, but this is not yet working, again, because of the cache plugin.
And using the SFTP account above, we cannot overwrite any files. Please make sure that it has the correct write permissions so that we could edit the files when necessary.
Thank you for your patience.
Best regards,
IsmaelHi,
Thank you for the screenshot.
The screenshot is cut off at the very end. Are you waiting for the video to end? The console.log “YOUTUBE ENDED” above should show once the video ended, but if not, this means that the following condition (line 311) is not met.
if (event.data === YT.PlayerState.ENDED)
This might be the same issue as the one reported here.
// https://kriesi.at/support/topic/youtube-video-throwing-error-when-played-in-color-selection/
Best regards,
IsmaelFebruary 4, 2021 at 5:21 am in reply to: WP LayerSlider: One Slider lost his Transitions in Frontend #1277526Hi,
Thank you for the info.
The transition works fine both in the front end and in the preview, using Firefox Dev on Windows 10. The transitions are random as configured in the layer slider panel. Could you provide a screencast of the slider on your end so that we could see the issue?
Best regards,
IsmaelFebruary 4, 2021 at 5:17 am in reply to: Shortcode problem – It displays outside the place of placement #1277525Hi,
Did you try using a different shortcode in the text or code block? Is it working as intended? You could try the default WP shortcode and it should work just fine. Unfortunately, we are not familiar with the plugin and its code, so you will have to seek out for additional assistance with the plugin developers. Please ask them how the shortcode renders its output, or ask them for the name of the function that delivers the shortcode output.
Thank you for your patience.
Best regards,
IsmaelHi,
Thank you for the update.
It may not be working yet because the css files are compressed or minified. Please disable that option temporarily. You could also try the following css code but it is basically the same as the previous one.
div .products .product { margin: 0 1% 5% 0 !important; }
Best regards,
IsmaelFebruary 4, 2021 at 5:09 am in reply to: Blog Post Grid Layout – Title, Author, Date display #1277521Hi,
1.) You will have to modify the enfold\config-templatebuilder\avia-shortcodes\postslider\postslider.php file and place the custom post tag around line 889 or within this container.
$meta = " <div class='slide-meta'>";
2.) To add it in the masonry entries, edit the enfold\config-templatebuilder\avia-shortcodes\av-helper-masonry.php and look for the masonry content container around line 516:
$items .= " <div class='av-masonry-entry-content entry-content' {$markup}>{$content}</div> ";
Best regards,
IsmaelFebruary 4, 2021 at 5:04 am in reply to: enfold masonry sort by date in the events calendar #1277516 -
AuthorPosts