Forum Replies Created

Viewing 30 posts - 15,631 through 15,660 (of 67,109 total)
  • Author
    Posts
  • in reply to: How to add a custom field to the blog posts #1275929

    Hi,

    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,
    Ismael

    in reply to: importing shop demo files or shop.xml #1275806

    Hey 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,
    Ismael

    in reply to: Google Recapcha #1275770

    Hey 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,
    Ismael

    in reply to: Activate ALB for all existing pages #1275768

    Hey 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,
    Ismael

    in reply to: Portfolio Items Role Capabilities #1275765

    Hey 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,
    Ismael

    in reply to: Image position for posts #1275762

    Hey 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,
    Ismael

    Hey 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,
    Ismael

    in reply to: Help with WP Popup. Trigger popup via ALB button click #1275760

    Hey 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,
    Ismael

    in reply to: Featured Large image size / accordion image slider #1275758

    Hi 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-1209435

    After 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,
    Ismael

    Hey 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,
    Ismael

    Hey 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,
    Ismael

    Hey 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,
    Ismael

    in reply to: Custom sort by filter just like on Enfold main page HOW TO? #1275708

    Hi,

    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,
    Ismael

    in reply to: Events Calendar Display not looking like demo #1275707

    Hi,

    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,
    Ismael

    Hi,

    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,
    Ismael

    in reply to: Avatars for bbpress #1275700

    Hi,

    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,
    Ismael

    in reply to: Blog post image sizes suddenly all different sizes? #1275694

    Hi,

    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,
    Ismael

    in reply to: Edit Image Height for full size layout #1275691

    Hi,

    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,
    Ismael

    in reply to: Open videos in lightbox #1275416

    Hi,

    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,
    Ismael

    in reply to: Enfold – Remove "portfolio-item" from the URL #1275415

    Hi,

    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,
    Ismael

    in reply to: Bubble info content in Google Map #1275414

    Hi,

    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

    in reply to: Hide top menu bar #1275413

    Hi,

    but it blocks the bar from the home page

    What do you mean? Would you mind providing a direct link to the page so that we could check it? Please try to open a new thread and place the site details in the private field.

    Best regards,
    Ismael

    in reply to: Homepage element not scaling properly with iPhones #1275411

    Hi,

    Thank you for the update.

    @Donkies: We noticed that you applied a unique ID to the section called #openhome. We can use that selector to fix the overlay issue by applying a maximum height to the section container.

    #openhome, #openhome .container {
    	max-height: 50vh;
    	overflow: hidden;
    }
    

    This should also fix the position of the content inside the section including the buttons. Unfortunately, we cannot reproduce the mobile menu issue on a device emulation. We will forward the thread to our channel so that the rest of the moderators could check it.

    Thank you for your patience.

    Best regards,
    Ismael

    Hi,


    @connect4consulting
    : You will have to do the modifications in the \enfold\config-templatebuilder\avia-shortcodes\contentslider\contentslider.php around line 828.

    $output .= ! empty( $value['content'] ) ? "
    <div class='slide-entry-excerpt entry-content' $markup>" . ShortcodeHelper::avia_apply_autop( ShortcodeHelper::avia_remove_autop( $value['content'] ) ) . '</div>
    ' : '';
    

    The line above outputs the slide excerpt or content.

    Best regards,
    Ismael

    in reply to: Ajax Portfolio Loading Time #1275377

    Hi,

    You can deactivate the plugin but we recommend keeping it until further notice. Some plugins may still contain obsolete functions that are not yet compatible with the latest jQuery library.

    Unfortunately, we are not yet sure why lazy loading affects the portfolio preview and we cannot reproduce it on our local installation. You can keep the lazy loading option enabled across the site in the Enfold > Performance panel, and only disable for the Portfolio Grid element in the Advanced > Performance > Lazy Loading Of Images settings.

    Best regards,
    Ismael

    in reply to: Events Calendar Display not looking like demo #1275376

    Hi,

    UPDATE: Would you mind adding this code in the functions.php file? Make sure that the updated calendar design is enabled.

    
    // register default v2 templates
    if( ! function_exists( 'avia_events_template_paths_v2' ) )
    {
    	add_action( 'tribe_template_file', 'avia_events_template_paths_v2', 10, 2 );
    	
    	function avia_events_template_paths_v2( $file, $template )
    	{
    		if( $template[0] == "default-template" && is_single() )
    		{	
    			$file = AVIA_EVENT_PATH . "views/" . $template[0] . '.php';			
    		}
    		
    		return $file;
    	}
    }
    

    This should load the default-template.php template from the theme when the updated calendar design is enabled.

    Best regards,
    Ismael

    in reply to: Events Calendar Display not looking like demo #1275375

    Hi,

    Sorry for the delay. The login info above is invalid or is not working. Please check the info carefully or provide another account.

    have added the folders to my child theme with the config file etc

    Which config file? All you need to copy is the default-template.php file and place it inside the tribe/events/v2 folder in the child theme directory.

    We will check the thread again once we get hold of the login info.

    Best regards,
    Ismael

    in reply to: Portfolio working partially #1275195

    Hey albertgarduno,

    Thank you for the inquiry.

    When we disabled the WPML plugin and enabled it back, suddenly the portfolio items displayed properly. We are not really sure what happened. We also installed the Enable jQuery Migrate Helper plugin and set jQuery to the legacy version, which might have helped with issue. Please remove the browser cache or do a hard refresh before checking the page.

    Best regards,
    Ismael

    in reply to: How to add a custom field to the blog posts #1275194

    Hey connect4consulting,

    Thank you for the inquiry.

    You should be able to use the get_post_meta function to get the custom field and render it in the enfold\includes\loop-index.php file around line 375 where the post meta info container is located.

    // https://developer.wordpress.org/reference/functions/get_post_meta/

    Best regards,
    Ismael

    in reply to: Youtube video in slider does not go to next slide #1275193

    Hey marcie73,

    Thank you for the inquiry.

    It seems to be working properly on my end. The slider resets back or transitions to the first slide when the video ended. It triggers the following function in the enfold\config-templatebuilder\avia-shortcodes\slideshow\slideshow.js file.

    function onFinish(event) {
    				console.log('test')
    				//if the video is not looped resume the slideshow
    				if (!event.data.slide.is('.av-single-slide') && !event.data.slide.is('.av-loop-video')) {
    					event.data.slide.trigger('reset');
    					self._navigate('next');
    					self.resume();
    				}
    
    				//safari 8 workaround for self hosted videos which wont loop by default
    				if (event.data.slide.is('.av-loop-video') && event.data.slide.is('.av-video-service-html5')) {
    					if ($html.is('.avia-safari-8')) {
    						setTimeout(function () {
    							event.data.slide.trigger('play');
    						}, 1);
    					}
    				}
    			}
    

    Best regards,
    Ismael

Viewing 30 posts - 15,631 through 15,660 (of 67,109 total)