Forum Replies Created
-
AuthorPosts
-
January 28, 2021 at 5:28 am in reply to: Help with WP Popup. Trigger popup via ALB button click #1275939
Hi,
Thank you for the info.
You just need to add the class name spu-open-1234 in the field without the class attribute or any tags. If you want to apply multiple class names, just separate them using a blank space.
spu-open-1234 spu-open-4321Best regards,
IsmaelHi,
@HuxburyQuinn: Thank you for the info. We cannot reproduce the issue on our end, so it is possible that it is caused by a plugin or a custom modification in the theme. Did you install a plugin that has an option where you can control the visibility or status of the pages or posts?// https://wordpress.org/plugins/block-visibility/
Best regards,
IsmaelJanuary 28, 2021 at 5:23 am in reply to: sorting by category and post author for a website for writers #1275937Hi,
That is possible but you may need to alter the default query of the Masonry element and include the author parameters or arguments.
// https://developer.wordpress.org/reference/classes/wp_query/#author-parameters
To alter the query of the Masonry element, you could use the avia_masonry_entries_query filter. Usage examples can be found in the following thread.
// https://kriesi.at/support/topic/display-pictures-by-number-order/#post-1221028
// https://kriesi.at/support/topic/exclude-a-category-in-masonry-portfolio/#post-1268963
// https://kriesi.at/support/topic/show-arrows-in-easy-slider-and-full-screen-slider-but-not-dot-things/#post-1149381Best regards,
IsmaelHi,
Thank you for the info.
We set the slide type to Responsive instead of Fullsize in the Slider Settings, and adjusted the canvas height so that it is almost the same as the background image. We also set the Slider Background Image > Size to cover.
Best regards,
IsmaelHi,
Thank you for the info.
The issue seems to also occur on IE browsers version 10 and older. Would you mind posting the FTP account so that we could edit the files and debug the issue? Please place the info in the private field.
Best regards,
IsmaelHi,
Thank you for the update.
Did you purge the cache after doing the modification? Please post the WP and FTP login details in the private field so that we could test it.
Best regards,
IsmaelHi,
You may need to disable the Responsive Images option if you want the images with different cropping position to actually display. For some reason, WP always selects the thumbnail with the default cropping position.
And to adjust the compression level, please use this snippet in the functions.php file.
// set the compression level of calculated images add_filter("avf_jpeg_quality", "avf_set_quality_mod", 9999, 1); add_filter("avf_wp_editor_set_quality", "avf_set_quality_mod", 9999, 1); function avf_set_quality_mod($quality) { $quality = 65; // compression level, default is 100 return $quality; }Best regards,
IsmaelHi,
Yes, that should be possible. We could check if the ID of a particular page exists in the class attribute of the body tag, and dispatch a click event to the appropriate category. The script may look something like this..
add_action('wp_footer', 'ava_auto_click'); function ava_auto_click(){ ?> <script> (function($){ $(document).ready(function() { var body = $("body"); // checks if the body contains the class name page-id-734 if(body.is(".page-id-734")) { $('.category_sort_button').trigger('click'); } // checks if the body contains the class name page-id-721 if(body.is(".page-id-721")) { $('.another_category_sort_button').trigger('click'); } }); })(jQuery); </script> <?php }Best regards,
IsmaelHi,
Thank you for the update.
You may need to replace all instances of $post->ID and $post_id with $the_id so..
$outlet = get_post_meta($post->ID, 'outlet', true);.. should be.
$outlet = get_post_meta($the_id, 'outlet', true);Best regards,
IsmaelHey Yory,
Thank you for the inquiry.
Those pages are from the Enfold 2017 demo, so you have to import that demo in order to get those pages. The actual name of the demo file is enfold-2017.xml if you would like to import it manually as described in the documentation.
You could also use the following shortcodes if you only need the elements in those pages.
custom-shop: https://wtools.io/paste-code/b3uo
The calligraphy-set product page is using the default product template or the default editor.
Best regards,
IsmaelHey maryenvato,
Thank you for the inquiry.
The spam protection or the Google ReCAPTCHA is not working automatically on page load because the privacy & cookie options are enabled, so users have to accept the privacy option first, enable or toggle the required cookies and refresh the page before the scripts for the spam protection will load.
If you would like to enable it automatically on page load even with the privacy options enabled, you have to set the Enfold > Privacy & Cookies > Cookie Handling > Default Cookie Behavior to the first or second option.
Best regards,
IsmaelHey Oversberg,
Thank you for the inquiry.
We provided a snippet in a previous thread that should allow you to change the status of the posts and activate ALB by default, but it is a bit partial and may require additional modifications.
// https://kriesi.at/support/topic/adding-pages-using-the-wordpress-rest-api/#post-1032812
IMPORTANT: Please do not forget to create a backup or a restore point before using the snippet just in case.
Best regards,
IsmaelHey jberg1,
Thank you for the inquiry.
You may be able to use the get_role function to edit the capability of a certain user role.
// https://codex.wordpress.org/Function_Reference/get_role
You could also create a custom user role using the add_role function.
// https://developer.wordpress.org/reference/functions/add_role/
For a more detailed instruction on how to alter the capabilities of certain user roles, please check the following article.
// https://3.7designs.co/blog/2014/08/restricting-access-to-custom-post-types-using-roles-in-wordpress/
Best regards,
IsmaelHey kwanumzen,
Thank you for the inquiry.
The thumbnail used in the actual post page is called entry_with_sidebar and this thumbnail has a maximum size of 845x321px. To be able to adjust the size of the thumbnail in the Settings > Media panel, you have to install the following plugin, and regenerate the thumbnails.
// https://wordpress.org/plugins/simple-image-sizes/
Best regards,
IsmaelJanuary 27, 2021 at 12:35 pm in reply to: sorting by category and post author for a website for writers #1275761Hey caledoman,
Thank you for the inquiry.
Have you tried creating a category for each author? You could apply that category to the articles that they have created, and when creating a page for a specific author, just select that category in the masonry element’s Which Entries? settings.
Best regards,
IsmaelJanuary 27, 2021 at 12:32 pm in reply to: Help with WP Popup. Trigger popup via ALB button click #1275760Hey DGITeV,
Thank you for the inquiry.
You should be able to apply the class name for the popup in the the button element’s Advanced > Developer Settings > Custom CSS Class field. The value of this field will be reflected in the button element’s class attribute in the front end.
Best regards,
IsmaelJanuary 27, 2021 at 12:27 pm in reply to: Featured Large image size / accordion image slider #1275758Hi jomo5280!
Thank you for the inquiry.
We can use the avf_modify_thumb_size filter to adjust the default size of the registered thumbnails. Usage example can be found in the following threads.
// https://kriesi.at/support/topic/how-to-prevent-images-from-being-resized/#post-1271136
// https://kriesi.at/support/topic/change-widget-image-size/#post-1189038
// https://kriesi.at/support/topic/bildgrose-kategorie-bilder-verandern/#post-1209435After the adjustment, you have to regenerate the thumbnails either manually or with the help of a plugin.
// https://wordpress.org/plugins/regenerate-thumbnails/
Best regards,
IsmaelJanuary 27, 2021 at 12:24 pm in reply to: LayerSlider solid white text layer with transparent black background #1275756Hey retray,
Thank you for the inquiry.
You should be able to use rgba color values in the background option instead of the default hex, and define the alpha or opacity of the specified color.
// https://www.w3schools.com/css/css_colors_rgb.asp
Best regards,
IsmaelJanuary 27, 2021 at 10:59 am in reply to: Accordion Element – set "Initial Open" depending on screen size #1275722Hey HagenWittig,
Thank you for the inquiry.
We could close the active item on mobile view by clicking it using a custom script, or by dispatching a click event on that particular item. Please try to add this code in the functions.php file.
add_action('wp_footer', function() { ?> <script> document.addEventListener("DOMContentLoaded", function() { if(window.innerWidth > 769) return; document.getElementsByClassName("activeTitle")[0].dispatchEvent(new Event('click')); }); </script> <?php }, 9999);The code should work when the screen width of the device is less than 769px. Let us know if it helps.
Best regards,
IsmaelJanuary 27, 2021 at 10:55 am in reply to: Blog image sizes: Beitrag/Blog Slider – ok, Blog single page – not ok #1275719Hey extractthomas,
Thank you for the inquiry.
That is actually the default size of the thumbnail used in the single post. You could adjust the default size of the entry_with_sidebar thumbnail in the Settings > Media panel but you have to install the following plugin first.
// https://wordpress.org/plugins/simple-image-sizes/
After adjusting the thumbnail size, save it, then regenerate the thumbnails in the same panel.
Best regards,
IsmaelJanuary 27, 2021 at 10:46 am in reply to: Custom sort by filter just like on Enfold main page HOW TO? #1275708Hi,
That should be possible but it will require modifications that is beyond the scope of support. You may need to hire a freelance developer or contact our partner, Codeable. For additional questions, please try to open a new thread using the inquiry form.
// https://kriesi.at/support/forum/enfold/#new-post
We will close this one for now. Thank you.
Best regards,
IsmaelHi,
and still not matching your church demo layout.
The church demo is using the old layout of the events calendar, but our suggestions above requires you to use the v2 or the updated calendar designs, so the events page will look completely different compare to the church demo. The single event page will stay the same.
We still cannot access the file server using the account above, and the WP login account is no longer valid. Please post valid WP and FTP account in the private field.
Best regards,
IsmaelJanuary 27, 2021 at 10:35 am in reply to: How to avoid feature image cropping in a masonry line of blog posts? #1275704Hi,
Images in the masonry element should be squarish or have an aspect ratio of 1:1 but make them slightly tall to make room for the masonry content in the bottom part of the masonry container. We cannot access the site because there seems to be a database issue.
Best regards,
IsmaelHi,
We tried to access the site again today but there is an issue establishing connection to the database. Are you working on the site or the database?
Best regards,
IsmaelJanuary 27, 2021 at 10:28 am in reply to: Blog post image sizes suddenly all different sizes? #1275694Hi,
Can we access the file server? Try to allow connections coming from the Philippines. Or try to upload the images again, see if it generates the correct entry_with_sidebar thumbnail size (845x321px).
Best regards,
IsmaelHi,
Thank you for the info.
Did you set the height of the slider? Please post the login details in the private field so that we could check the slider settings.
Best regards,
IsmaelHi,
As previously suggested, you could use the Image element and use the video URL as a link in the Advanced > Image Link Settings > Image Link? settings. Make sure that the “Set Manually” option is selected. Please note that mp4 videos are not supported, only mov.
Another solution is to open an inline content in the popup. Please check the following link for more info on how to do that.
// https://dimsemenov.com/plugins/magnific-popup/documentation.html#inline-type
This solution is suggested by Dmitry Semenov, which is the author of the lightbox script.
// https://stackoverflow.com/questions/20987334/can-i-use-magnific-popup-to-display-an-mp4-video
Best regards,
IsmaelHi,
Did you also try to add the pre_get_posts filter from the kellenmace article above?
You may need to flush the permalink setting and remove the value of the Portfolio Base Slug field in the Settings > Permalinks panel. To flush the permalinks, just go to the permalinks panel, then hit save or update. Do this after adding the modifications above.
Best regards,
IsmaelHi,
Thank you for the clarification.
Looks like the theme automatically encodes the symbols for some reason. You may need to use the actual “and” word instead of the symbol.
Or try to modify the themes\enfold\config-templatebuilder\avia-shortcodes\google_maps\google_maps.php around line 964 and remove the wpautop and the avia_remove_autop function wrapping the $shortcode[‘content’] variable, so..
$data['marker'][ $key ]['content'] = wpautop(ShortcodeHelper::avia_remove_autop( $shortcode['content'], true ) );.. would be.
$data['marker'][ $key ]['content'] = $shortcode['content'];Best regards,
Ismael -
AuthorPosts
