Forum Replies Created

Viewing 30 posts - 14,281 through 14,310 (of 66,971 total)
  • Author
    Posts
  • in reply to: Increase post number per page for Portfolio Grid #1301533

    Hey jenhames,

    Thank you for the inquiry.

    This is possible but you have to directly modify the enfold/config-templatebuilder/avia-shortcodes/portfolio/portfolio.php file. Look for this code around line 479 and adjust the value in the number_array function from 100 to 300.

    array(
    							'name' 	=> __( 'Post Number', 'avia_framework' ),
    							'desc' 	=> __( 'How many items should be displayed per page?', 'avia_framework' ),
    							'id' 	=> 'items',
    							'type' 	=> 'select',
    							'std' 	=> '16',
    							'lockable'	=> true,
    							'subtype'	=> AviaHtmlHelper::number_array( 1, 100, 1, array( 'All' => '-1' ) )
    						),
    

    You could also use the avia_post_grid_query filter to define the value of the posts_per_page parameter manually.

    Best regards,
    Ismael

    in reply to: CPT UI + ACF with your theme #1301531

    Hi,

    Would you like to display the custom fields in the single post page (see private field)? If yes, then you have to edit the includes > loop-index.php file and use ACF’s get_field function to get the value of the custom field and render it to the page. For example, in the loop-index.php file, look for this code around line

     // echo the post content
                if ( $blog_style == 'bloglist-excerpt')
    			{
                    the_excerpt();
                    echo '<div class="read-more-link"><a href="' . get_permalink() . '" class="more-link">' . __( 'Read more', 'avia_framework' ) . '<span class="more-link-arrow"></span></a></div>';
                }
    

    Above that code, add this one.

    
    $publi_revue = get_field( "publi_revue" );
    echo '<div class="av-publi-revue">' . $publi_revue . '</div>';
    

    This should render the value of the Revue field above the post content, inside a container with the class name av-publi-revue.

    Best regards,
    Ismael

    in reply to: Default Font Colors Explained #1301529

    Hi,

    Thank you for the inquiry.

    By default, the caption color is defined in the slideshow.css file and it is initially set to white, but you can adjust it in the Enfold > Advanced Styling panel. Under the Misc section, look for the Slideshow caption element.

    Best regards,
    Ismael

    in reply to: custom post archive #1301528

    Hi,

    it possible to make a taxonomy selected by default so all posts have it automatically?

    You might be referring to the taxonomy terms. This is possible by assigning a default term or category.

    // https://wordpress.com/support/posts/categories/#assigning-default-category

    And regarding the issue with the post slider, you might want to use the get_the_terms function instead so that you can properly create the layout or the markup.

    // https://developer.wordpress.org/reference/functions/get_the_terms/#user-contributed-notes

    Best regards,
    Ismael

    Hey jonhedges,

    Thank you for the inquiry.

    In the home page, the full width slider is still fullwidth, but not in the post. Did you add the slider as shortcode inside the default editor? Please post the login details in the private field so that we could check the issue properly.

    Best regards,
    Ismael

    in reply to: Portefolio items are with odd behaviour #1301449

    Hi!

    – And the multiple
    is still there = the caption to the preview looks very odd

    Looks like you have created a copy of the masonry file. Unfortunately, the theme is using that file instead of the file where you added the modification. We edited the copy of masonry file and implemented the changes. This removes the br tags from the excerpt.

    – When I select Podcasts only one preview is shown but there are two podcasts.

    The other podcast does not show because it is not loaded, yet. You have to load more posts until the other podcast is visible. Again, this is a limitation of the sort button. It can only sort posts that already exist in the page. It cannot dynamically fetch the post from the database and return it in the page if that is what you are expecting. Unfortunately, that is not how the sorting option works.

    – The screen is still freaking flickering when I click Load more

    I am not really sure why that is happening but you can try this css code.

    .avia_loading_icon {
        display: none !important;
    }

    – Two categories are not shown at all: Guidelines and Rapportager And two categories are not shown at all.

    The categories show up when you load more posts.

    Best regards,
    Ismael

    in reply to: Add logo to slide out mobil menu. #1301439

    Hey edster818,

    Thank you for the inquiry.

    The theme creates the mobile menu items dynamically based on the default menu, so you cannot just insert the logo image in a template. But it is still possible with a custom script.

    Please try this snippet in the functions.php file.

    // add logo image inside the mobile menu
    function ava_custom_script_mod_logo_mobile()
    {
    ?>
    	<script>
    		(function($) {
    			$(document).ready(function() {
    				var burger_wrap = $('.av-burger-menu-main a');
    				
    				$(burger_wrap).on('avia_burger_list_created', function() {
    					setTimeout(() => {
    						$("<div class='av-mobile-logo'><img src='IMAGE URL HERE' /></div>").prependTo('#av-burger-menu-ul').addClass("mobile_social_bookmarks");
    					}, 150);	
    				});
    			});
    		})(jQuery);
    	</script>
    <?php
    }
    add_action('wp_footer', 'ava_custom_script_mod_logo_mobile', 10000);
    

    You can then use the av-mobile-logo class name or selector to adjust the style of the logo image.

    .av-mobile-logo { 
       /* add styles here */
    }
    
    .av-mobile-logo img {
      /* add styles here */
    }

    Best regards,
    Ismael

    in reply to: Advanced layout editor not working on new pages #1301433

    Hey SunteamAutomatisering,

    Thank you for the inquiry.

    Looks like this is related to the block editor. Are you using the Gutenberg or the block editor? If not, try to disable it or select the classic editor in the Enfold > Theme Options > Select Your Editor settings. Please toggle or temporarily disable the Enfold > Performance > File Compression settings after selecting the new editor.

    Best regards,
    Ismael

    in reply to: Non responsive layout for specific post type #1301432

    Hi,

    Looks like the plugin completely overrides the layout of the theme, removes all of the default class names and IDs, which also disables the default styles. It also disables the scripts. Please look at the screenshot below.

    Screenshot: https://prnt.sc/1367ptv

    As you can see, none of the default theme layout or structure is left. You may need to contact the plugin developers for more info about this issue.

    Thank you for your understanding.

    Best regards,
    Ismael

    Hey ishish,

    Thank you for the inquiry.

    Would you like to increase the size of the lightbox image? The default thumbnail used for the lightbox is called the Large thumbnail, which can be adjusted in the Settings > Media panel. After the size adjustment, you have to upload the images again or regenerate them using a plugin.

    // https://wordpress.org/plugins/regenerate-thumbnails/

    Best regards,
    Ismael

    in reply to: Schriftart #1301425

    Hi!

    Thank you for the update.

    The font open sans is not loading on initial load because of the privacy options. The Cookie Handling > Default Cookie Behavior is set to the third option, so users have to enable the web fonts manually from the privacy modal popup window and accept the cookies first. Only then will external fonts be allowed to load. If you want to enable the fonts without user interaction, try to set the Default Cookie Behavior to the first or second option.

    Cheers!
    Ismael

    in reply to: Thumbnails on catalog pages have different sizes #1301422

    Hi!

    Thank you for waiting.

    The size of the product images go back to normal when we deactivate the EWWW Image Optimizer plugin. The plugin has an option called Resize Images and it seems to be affecting the product images too. You may need to use another image optimization plugin such as Shortpixel.

    Best regards,
    Ismael

    in reply to: Button row linking to custom trigger class element #1301329

    Hey bradleymayhew,

    Thank you for the inquiry.

    Where can we see the page with the hidden panels? What is the required class name? Please post the page URL in the private so that we could check it properly.

    Best regards,
    Ismael

    Hey Phet,

    Thank you for the inquiry.

    Would you mind providing a direct link to one of the gift cards? We would like to test it.

    The theme is actually using the default jquery-datepicker and only applies it on element with the “av-datepicker” class name, so the plugin’s datepicker should be excluded or should not be affected by the script.

    Best regards,
    Ismael

    in reply to: Menu Items – Add more room? #1301314

    Hey vantagepointmg,

    Thank you for the inquiry.

    The issue seems to be happening for every fourth items in the dropdown. Did you add any custom css code with an nth-child selector?

    We tried to login to the site but the login account above seems to be invalid. Please check the info carefully.

    Best regards,
    Ismael

    in reply to: Mailchimp Integration doesn't work as expected #1301312

    Hey omunyak,

    Thank you for the inquiry.

    Where can we see the issue? Please post the site or page URL in the private field. You should also disable the Performance > File Compression settings temporarily. Make sure to purge the cache afterwards.

    Best regards,
    Ismael

    in reply to: Problem in Drop Down contact form with Edge Browser #1301311

    Hey maryenvato,

    Thank you for the inquiry.

    The select options are there but the color of the text is the same as the background. Please try to add this css code to adjust the option color and the position of the select image.

    #top select, #top .avia_ajax_form .select, #top .entry-content-wrapper select {
        -webkit-appearance: none;
        background-position: 100% 50% !important;
    }
    
    #top .entry-content-wrapper select option {
        color: #000000;
    }

    Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code.

    Best regards,
    Ismael

    in reply to: direct link to masonry category #1301293

    Hi,

    @Raphael You do not have to repeat the the script for every category because the $_GET[“psort”] should already contain the category name or slug.

    For example, to trigger the button for the teilhabe-an-kultur category, all you need to do is assign the category slug as the value of the psort variable.

    https://siteeu/tit-6?psort=teilhabe-an-kultur
    

    The script will automatically extract that value and trigger the teilhabe-an-arbeit_sort_button button..

    <?php echo '$(".'. $_GET["psort"] .'_sort_button").trigger("click");'; ?>
    

    .. because $_GET[“psort”] contains “teilhabe-an-kultur’.

    Best regards,
    Ismael

    in reply to: Portefolio items are with odd behaviour #1301287

    Hi,

    Thank you for following up.

    Looks like the issue only occurs when the loaded post has been created using the Advance Layout Builder (ALB). To fix the issue temporarily, please edit the enfold/config-templatebuilder/avia-shortcodes/av-helper-masonry.php and look for this code around line 561:

    $markup = avia_markup_helper( array( 'context' => 'entry_content', 'echo' => false, 'id' => $entry['ID'], 'custom_markup' => $this->atts['custom_markup'] ) );
    $items .=	"<div class='av-masonry-entry-content entry-content' {$markup}>{$content}</div>";
    

    Replace it with:

    $content = strip_tags($content);
    $markup = avia_markup_helper( array( 'context' => 'entry_content', 'echo' => false, 'id' => $entry['ID'], 'custom_markup' => $this->atts['custom_markup'] ) );
    $items .=	"<div class='av-masonry-entry-content entry-content' {$markup}>{$content}</div>";
    

    This will remove all the tags in the masonry excerpt. We will forward the issue to our channel.

    Another solution is to manually define the excerpt for posts that were created with the ALB.

    Best regards,
    Ismael

    in reply to: Accordion slider responsiveness #1301266

    Hi,

    Thank you for the update.

    Did you toggle the Performance > File Compression settings after adding the css code? And please make sure to purge the cache and remove the browser history.

    Best regards,
    Ismael

    in reply to: Featured image being cropped #1301265

    Hi,

    The plugin is outdated but it works properly. If you do not want to use it, then you will have to modify the functions.php file and adjust the dimension of the thumbnail manually. Around line 193, you will see this code.

    $avia_config['imgSize']['entry_with_sidebar'] 	= array('width'=>845, 'height'=>321);		            	// big images for blog and page entries
    $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1210, 'height'=>423 );						// images for fullsize pages and fullsize slider
    

    Adjust the width and height value, then regenerate the thumbnails, or upload the images again. This plugin will help with the thumbnail regeneration.

    // https://wordpress.org/plugins/regenerate-thumbnails/

    Best regards,
    Ismael

    Hi,

    No problem. Regarding the excerpts, they are not displaying because the posts were built using the Advance Layout Builder. You have to edit the posts, enable the Excerpt box from Screen Options and add the summary or excerpt manually in the Excerpt field.

    Best regards,
    Ismael

    in reply to: How to customize blog category page layout #1301263

    Hi,

    You are welcome! Please feel free to open another thread if you need anything else.

    Have a nice day.

    Best regards,
    Ismael

    Hi,

    Sure. Try to add this code in the functions.php file, then refresh the page once or twice. Remove it again afterwards.

    add_action("init", function() {
    	$pages = get_pages(array("meta_key" => "header_transparency"));
    	foreach($pages as $page) {
    		if($page->ID == 3255) {
    			update_post_meta($page->ID, "header_transparency", "");
    		}
    	}
    }, 9999);
    

    This should update the header_transparency of the page with the ID 3255. If you want to update all pages, just remove the if statement.

    if($page->ID == 3255) {
    			update_post_meta($page->ID, "header_transparency", "");
    		}
    

    Replace it with:

    update_post_meta($page->ID, "header_transparency", "");
    

    IMPORTANT: Create a site backup first before using the code above.

    Best regards,
    Ismael

    in reply to: Massonry gallery not loading properly #1301261

    Hi,

    This issue usually happens when the masonry element or any element with animation that depends on the waypoint script is inserted at the very bottom of the page. Temporary workaround is to insert another element below the very last element in the page to make sure that there are enough scrollable room for waypoint. Another is to adjust waypoint’s offset parameter.

    In the enfold\js\shortcodes.js, look for this function.

    	function activate_waypoints(container)
    	{
    		//activates simple css animations of the content once the user scrolls to an elements
    		if($.fn.avia_waypoints)
    		{
    			if(typeof container == 'undefined'){ container = 'body';};
    
    			$('.avia_animate_when_visible', container).avia_waypoints();
    			$('.avia_animate_when_almost_visible', container).avia_waypoints({ offset: '80%'});
    
    			if(container == 'body') container = '.avia_desktop body';
    			$('.av-animated-generic', container).avia_waypoints({ offset: '95%'});
    		}
    	}
    

    Decrease the offset value to 30% or lower to trigger the animation earlier or once the element is positioned
    about 30% from the top of the viewport. Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adjusting the parameter.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    We exported the theme options and imported it back, but we were not able to reproduce the issue or we did not encounter any errors. Please note that you do not have to click the save button when importing the theme options. It will just automatically save the options and refresh the page. (see private field)

    Best regards,
    Ismael

    in reply to: Layout Builder as default for custom types #1301160

    Hi,

    Have you tried including the post meta _av_alb_posts_elements_state in the import process that you created? It should be as simple as using the add_post_meta or the update_post_meta function.

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

    You can also create a plugin that builds the elements state or create _av_alb_posts_elements_state post meta info after the import.

    Related thread: https://kriesi.at/support/topic/adding-pages-using-the-wordpress-rest-api/#post-1032812

    Best regards,
    Ismael

    in reply to: Enfold latest portfolio widget publish time #1301159

    Hi,

    Thank you for the update.

    Which of the portfolio items should display first in the widget, or which one did you modify last? Please post the login details in the private field so that we could check it properly. Make sure that the Appearance > Editor panel is accessible.

    Best regards,
    Ismael

    in reply to: custom post archive #1301158

    Hi,

    If i select one of the taxonomies then its not showing all the posts, only the posts in that taxonomy.

    What if you select multiple taxonomies? Are the taxonomies unique for the custom post type advertisements, or are they shared by other post types? Unfortunately, you cannot select the post type directly, so a solution is to make sure that the selected taxonomies are unique to the desired post type.

    Best regards,
    Ismael

    Hi,

    Thank you for the update.

    We adjusted the css code a bit and disabled the Performance > File Compression settings temporarily. The header now reverts back to the default layout when the screen width is less than 989px. This will still require a few adjustments but the site navigation should now be accessible on both desktop and mobile view.

    This is how the site looks on our end (screen less than 989px).

    Screenshot: https://prnt.sc/133svf1

    Best regards,
    Ismael

Viewing 30 posts - 14,281 through 14,310 (of 66,971 total)