Viewing 30 results - 2,311 through 2,340 (of 16,896 total)
  • Author
    Search Results
  • #1344922

    In reply to: Anchor Link Problem

    Hi,

    I could not login with the link so I could not check your page but I checked your website on my iphone but I could not reproduce the issue on Safari. I attached a screenshot in private content field below.

    Could you please try removing /index.php file from url – https://wordpress.stackexchange.com/questions/105795/remove-index-php-from-permalinks and check if that helps on your end?

    Regards,
    Yigit

    Hey levelseven,

    Thanks for the login details. Does it make any difference if you deactivate all plugins? You could also try to use a different PHP version, to see if that changes anything. You could try 7.4 for example, if that is available. If you need further help, then please share server logs with us.

    Best regards,
    Rikard

    #1344821

    Hey lkhst,

    Thank you for the inquiry.

    You have to modify the enfold/config-templatebuilder/avia-shortcodes/logoslider/logoslider.php file and look for this code around line 314.

    <strong>
    			$c = array(
    
    						array(
    								'type'			=> 'template',
    								'template_id'	=> 'columns_count_icon_switcher',
    								'std'			=> array(
    														'default'	=> '3'
    													),
    								'lockable'		=> true,
    								'heading'		=> array(),
    								'id_sizes'		=>	array(
    														'default'	=> 'columns'
    													),
    								'subtype'		=> array(
    														'default'	=> array(
    																	__( '1 Columns', 'avia_framework' )	=> '1',
    																	__( '2 Columns', 'avia_framework' )	=> '2',
    																	__( '3 Columns', 'avia_framework' )	=> '3',
    																	__( '4 Columns', 'avia_framework' )	=> '4',
    																	__( '5 Columns', 'avia_framework' )	=> '5',
    																	__( '6 Columns', 'avia_framework' )	=> '6',
    																	__( '7 Columns', 'avia_framework' )	=> '7',
    																	__( '8 Columns', 'avia_framework' )	=> '8',
    																)
    													)
    							),
    						);
    

    You can increase the number of columns in the dropdown by editing the subtype array and adding more column options.

    You can then modify this block of code around line 1120 and add new grid_class for the additional column options.

    switch( $this->config['columns'] )
    				{
    					case '1':
    						$this->grid_class = 'av_fullwidth';
    						break;
    					case '2':
    						$this->grid_class = 'av_one_half';
    						break;
    					case '3':
    						$this->grid_class = 'av_one_third';
    						break;
    					case '4':
    						$this->grid_class = 'av_one_fourth';
    						break;
    					case '5':
    						$this->grid_class = 'av_one_fifth';
    						break;
    					case '6':
    						$this->grid_class = 'av_one_sixth';
    						break;
    					case '7':
    						$this->grid_class = 'av_one_seventh';
    						break;
    					case '8':
    						$this->grid_class = 'av_one_eighth';
    						break;
    					default:
    						$this->grid_class = 'av_one_third';
    						break;
    				}
    

    You may also need to add css for the new columns.

    Best regards,
    Ismael

    levelseven
    Participant

    Every time I log into the wp- admin i get an automated email from wordpress saying i have a fatal error on my site.

    In this case, WordPress caught an error with your theme, Enfold.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.9.2
    Current theme: Enfold (version 4.9)
    Current plugin: (version )
    PHP version 8.0.16

    Error Details
    =============
    An error of type E_ERROR was caused in line 385 of the file /nas/content/live/clearcututah/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-post-css-management.php. Error message: Uncaught TypeError: aviaPostCssManagement::handler_wp_save_post(): Argument #2 ($post) must be of type WP_Post, null given, called in /nas/content/live/clearcututah/wp-includes/class-wp-hook.php on line 307 and defined in /nas/content/live/clearcututah/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-post-css-management.php:385
    Stack trace:
    #0 /nas/content/live/clearcututah/wp-includes/class-wp-hook.php(307): aviaPostCssManagement->handler_wp_save_post(0, NULL, false)
    #1 /nas/content/live/clearcututah/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(true, Array)
    #2 /nas/content/live/clearcututah/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #3 /nas/content/live/clearcututah/wp-includes/post.php(4687): do_action(‘save_post’, 0, NULL, false)
    #4 /nas/content/live/clearcututah/wp-admin/includes/post.php(700): wp_insert_post(Array, false, false)
    #5 /nas/content/live/clearcututah/wp-admin/includes/dashboard.php(547): get_default_post_to_edit(‘post’, true)
    #6 /nas/content/live/clearcututah/wp-admin/includes/template.php(1395): wp_dashboard_quick_press(”, Array)
    #7 /nas/content/live/clearcututah/wp-admin/includes/dashboard.php(268): do_meta_boxes(Object(WP_Screen), ‘side’, ”)
    #8 /nas/content/live/clearcututah/wp-admin/index.php(203): wp_dashboard()
    #9 {main}
    thrown

    #1344751

    Thank you – it’s a lot of small things, but it’s all over that file (things not provided by any hooks or filters).
    I’ve tried putting the class definition in my child theme and this is the error I get:
    PHP Fatal error: Uncaught Error: Class "aviaBuilder\\base\\aviaSubItemQueryBase" not found in /nas/content/live/dembostage/wp-content/themes/dembo/custom/class-avia-masonry.php:5\nStack trace:\n#0 /nas/content/live/dembostage/wp-content/themes/dembo/functions.php(6): include()\n#1 /nas/content/live/dembostage/wp-settings.php(555): include('/nas/content/li...')\n#2 /nas/content/live/dembostage/wp-config.php(128): require_once('/nas/content/li...')\n#3 /nas/content/live/dembostage/wp-load.php(50): require_once('/nas/content/li...')\n#4 /nas/content/live/dembostage/wp-blog-header.php(13): require_once('/nas/content/li...')\n#5 /nas/content/live/dembostage/index.php(17): require('/nas/content/li...')\n#6 {main}\n thrown in /nas/content/live/dembostage/wp-content/themes/dembo/custom/class-avia-masonry.php on line 5

    • This reply was modified 4 years, 1 month ago by christiemade.
    #1344707

    @Guenni007: Danke für deine wiederholte Hilfe hier im Forum! Das mit dem Einbinden habe ich verstanden, hattest du mir auch für den Sticky Header an anderer Stelle erläutert, sehr hilfreich! Du warst ja auch im Thread zum Sticky Menü aktiv, dort habe ich deine Lösung nachgebaut und bis jetzt immer noch nicht verstanden, warum bei mir in der speziellen Installation bzw. Konstellation der normale Code zum Überschreiben von Shortcode-Files nicht funktioniert. In der entsprechenden functions.php habe ich diese beiden Codes (von dir übernommen) drin, die jeweils Theme-Bestandteile aus anderen Ordnern laden lassen:

    add_action( 'wp_enqueue_scripts', 'wp_change_sticky_header_script', 100 );
    function wp_change_sticky_header_script() {
       wp_deregister_script( 'avia-sticky-header' );
       wp_enqueue_script( 'avia-sticky-header-child', get_stylesheet_directory_uri().'/js/avia-snippet-sticky-header.js', array('avia-default'), $vn, true);
    }
    add_filter('avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1);
    function avia_include_shortcode_template($paths)
    {
      $template_url = get_stylesheet_directory();
          array_unshift($paths, $template_url.'/shortcodes/');
    
      return $paths;
    }

    Den zweiten musste ich jedoch anpassen, damit die 3 Menü-Dateien richtig geladen werden:

    add_filter('ava_builder_shortcode_files_loaded', 'avia_include_shortcode_template', 15, 1);
    function avia_include_shortcode_template($paths){
    $template_url = get_stylesheet_directory();
      array_unshift($paths, $template_url.'/shortcodes/');
      return $paths;
    }

    Wenn ich den normalen Code aus der Dokumentation nehme zerschießt es immer das korrekte Styling. Sobald auf einer Seite ein Sticky Menü ist wird alles oberhalb des Menüs noch richtig dargestellt, alles darunter lädt das korrekte CSS nicht mehr. Ismael sagte mir bereits, dass mein Code zum Überschreiben des Verzeichnis nicht richtig sei, er funktioniert jedoch nur so (dann sieht auch alles richtig aus), wenn ich den originalen Code verwende klappt es wie gesagt bei mir nicht wie bei dir …

    Hältst du es für möglich, dass das am Zusammenspiel der beiden Codes für Sticky Header und Sticky Menü liegt? Es wird ja einmal auf /js und einmal auf /shortcodes verwiesen. Die 1 Datei für den Header liegt in /js, die 3 Dateien fürs Menü liegen direkt in /shortcodes (kein weiterer Unterordner, oder ist das das Problem?). Hab schon versucht beides in einen Ordner zu legen, hat aber auch nicht wirklich geklappt.

    Ist vermutlich aus der Ferne schwer zu beurteilen, dachte aber ich frag dich mal.

    Viele Grüße, Daniel

    #1344558

    Hi,

    Thank you for the clarification.

    For the single post page, you have to modify the includes > loop-index.php file and define a different thumbnail in this code around line 85.

    /*
    		 * retrieve slider, title and content for this post,...
    		 */
    		$size = strpos( $blog_style, 'big' ) ? ( ( strpos( $current_post['post_layout'], 'sidebar' ) !== false ) ? 'entry_with_sidebar' : 'entry_without_sidebar' ) : 'square';
    

    The current thumbnail that is being used is called “entry_without_sidebar” which has a maximum size of 1210x423px. You can replace the current thumbnail with another image with a different size. This is a list of available thumbnails and their corresponding dimension.

    $avia_config['imgSize']['widget'] 			 	= array('width'=>36,  'height'=>36);						// small preview pics eg sidebar news
    $avia_config['imgSize']['square'] 		 	    = array('width'=>180, 'height'=>180);		                 // small image for blogs
    $avia_config['imgSize']['featured'] 		 	= array('width'=>1500, 'height'=>430 );						// images for fullsize pages and fullsize slider
    $avia_config['imgSize']['featured_large'] 		= array('width'=>1500, 'height'=>630 );						// images for fullsize pages and fullsize slider
    $avia_config['imgSize']['extra_large'] 		 	= array('width'=>1500, 'height'=>1500 , 'crop' => false);	// images for fullscrren slider
    $avia_config['imgSize']['portfolio'] 		 	= array('width'=>495, 'height'=>400 );						// images for portfolio entries (2,3 column)
    $avia_config['imgSize']['portfolio_small'] 		= array('width'=>260, 'height'=>185 );						// images for portfolio 4 columns
    $avia_config['imgSize']['gallery'] 		 		= array('width'=>845, 'height'=>684 );						// images for portfolio entries (2,3 column)
    $avia_config['imgSize']['magazine'] 		 	= array('width'=>710, 'height'=>375 );						// images for magazines
    $avia_config['imgSize']['masonry'] 		 		= array('width'=>705, 'height'=>705 , 'crop' => false);		// images for fullscreen masonry
    $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
    

    Best regards,
    Ismael

    #1344485

    In reply to: Problems with masonry

    Hi,

    Thank you for the update.

    The title of the masonry items are displaying correctly when we checked the site. Please check the screenshot below.

    Screenshot: https://1drv.ms/u/s!AjjTfXSRbKTvwEEEy0_-L10UPP7p?e=aGXAex

    And regarding the footer issue, you may need to update the footer.php file in the child theme directory. Get the latest copy of the file from the parent theme and override the current one.

    Best regards,
    Ismael

    #1344475
    keir2012
    Participant

    Dear support team.
    My website home page and WooCommerce single product page shows error. could you please help me fix the error?
    your prompt reply will be much appreciated:

    Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function “woocommerce_single_product_summary_button” not found or invalid function name in /home4/shinydec/public_html/wp-includes/class-wp-hook.php:307 Stack trace: #0 /home4/shinydec/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #1 /home4/shinydec/public_html/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #2 /home4/shinydec/public_html/wp-content/plugins/woocommerce/templates/content-single-product.php(60): do_action(‘woocommerce_sin…’) #3 /home4/shinydec/public_html/wp-includes/template.php(772): require(‘/home4/shinydec…’) #4 /home4/shinydec/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template(‘/home4/shinydec…’, false) #5 /home4/shinydec/public_html/wp-content/themes/Enfold-child-theme/woocommerce/single-product.php(37): wc_get_template_part(‘content’, ‘single-product’) #6 /home4/shinydec/public_html/wp-includes/template-loader.php(106): include(‘/home4/shinydec…’) #7 /home4/shinydec/public_html/wp-blog-header.php(19): require_once(‘/home4/shinydec…’) #8 /home4/shinydec/public_html/index.php(17): require(‘/home4/shinydec…’) #9 {main} thrown in /home4/shinydec/public_html/wp-includes/class-wp-hook.php on line 307

    #1344218

    Hey Ivana,
    I would recommend using the plugin Simple Image Sizes and placing a zero in sizes that you don’t need, including the basic WordPress sizes.
    While you could make a function from the thumbnail sizes in functions.php starting at line 211 for your child theme, using this plugin is easier, don’t worry about the age of the plugin, it is very basic and reliable.
    Please note that typically you would use the regenerate thumbnails option to correct the existing thumbnails, but in your case you want to “remove” them so I don’t know if the plugin will remove them, you may need to delete them via FTP, but future image uploads will not create thumbnails for the ones you make zero.

    Best regards,
    Mike

    #1344141

    Hi,

    In toggles.php I change the <p> class of the tab headings to <h2> for better SEO e.g.

    Lines 853-858
    Change all instances of p.toggler to h2.toggler
    
    Line 1074
    Change p to h2
    "<h2 data-fake-id='#
    
    Line 1080
    Change p to h2
    '</h2>';

    I can see from the latest toggles.php code that this has been changed so I need to update my ‘shortcode’ alterations. Can I still make these changes if I figure out the new code? I’d better check the other ones I alter as well.

    Can I turn debugging off?

    Assuming the shortcodes were the cause of the critical error upon trying to update, what do you think is creating the errors on the token? If I try to Save Changes in Envato Market now I still get the ‘Incorrect token permissions’ errors yet it validates correctly in Theme Options/Update.

    #1344121

    Topic: 3 logos

    in forum Enfold
    niguli
    Participant

    Hi I need to build an header like this, with 3 logos:
    1) the main on the left
    2) e 3) on the right (they need to be clickable).

    Like this.

    I followed this guide with no success (chapter “Add multiple logos”), put this code in my child functions.php:

    -------------------------------
    Remove the logo
    -------------------------------
    
    add_filter('avf_logo_final_output', 'avia_remove_default_logo', 10, 6);
    function avia_remove_default_logo($logo, $use_image, $headline_type, $sub, $alt, $link){
    return '';
    }
    
    -------------------------------
    Additional Logos
    -------------------------------
    function add_logos($logo) {
      if(is_page(home)){
    
      $logo .= '<a class="first-logo" href="/"><img src="http://rivista-toscana-medica.local/wp-content/uploads/2022/03/logo-rivista.jpg"/></a>';
      $logo .= '<a class="second-logo" href="https://toscanamedica.org"><img src="http://rivista-toscana-medica.local/wp-content/uploads/2022/03/logo-ordine.jpg"/></a>';
      $logo .= '<a class="third-logo" href="https://www.pacinimedicina.it"><img src="http://rivista-toscana-medica.local/wp-content/uploads/2022/03/pacinimedicina.png"/></a>';
      }
      return $logo;
    }
    add_filter('avf_logo_final_output', 'add_logos');

    But having this php error:

    (! ) FATAL ERROR: UNCAUGHT ERROR: UNDEFINED CONSTANT “HOME” IN /USERS/NIGULI/LOCAL SITES/RIVISTA-TOSCANA-MEDICA/APP/PUBLIC/WP-CONTENT/THEMES/ENFOLD-CHILD/FUNCTIONS.PHP ON LINE 21

    What am I doing wrong?
    Line 21 is:
    if(is_page(home)){

    So does the code not recognize which is the homepage? why? Thanks for helping me.

    Hi,

    We tried to manually change the URL of the facebook sdk.js file in the class-framework-widgets.php (line 450) to get the nn_NO locale but it still sets the language to default, which is en_US.

    	$src = '//connect.facebook.net/nn_NO/sdk.js#xfbml=1&version=v2.7';
    

    It is possible that the locale or language code in not supported.

    Best regards,
    Ismael

    #1343871

    Hello!

    First of all I would like to thank you for your time and effort to find solution for my problem this is priceless.


    @guenni007
    I tried to paste the script into the functions.php unfortunately it does not bring any effect.
    here is the test page https://gilbt.com/horizontal_gallery_test_page/


    @Mike
    Product slider is dedicated only for the shop products it won’t work for me. I prefer to use horizontal gallery
    There is also a problem with stepping thru the gallery. Please take a look at the test page. First step require at least 3 clicks. From the UX perspective this could be a problem.

    I provided login credentials for you. I would appreciate if you take a look at functions.php to determine why this code does not work.

    #1343807

    @guenni007, Thank you so much, it worked! You are a wizard!

    I used your PHP code and this CSS code:

    .news-thumb {
        padding: 0px;
        float: none;
        margin-top: 0px;
        margin-bottom: 8px;
        border-width: 0px;
        height: 116px;
        width: inherit;
        background-color: transparent !important;
        display: block;
    }
    
    #top .news-thumb img {
        float: none;
        padding: 0px;
        height: 116px;
        display: inline;
        width: auto;
    }

    Now the image automatically scales. Great!!

    #1343782
    Autaak
    Participant

    Hi!

    After an update of the Enfold theme, our blog archive page is broken because of a PHP error.

    In our child theme the code of the archive.php is changes to:

    if(!empty($post_ids))
                            {
                                $atts   = array(
                                    'type' => 'grid',
                                    'items' => get_option('posts_per_page'),
                                    'columns' => 2,
                                    'class' => 'avia-builder-el-no-sibling',
                                    'paginate' => 'yes',
                                    'gap' => 'large',
                                    'overlay_fx' => 'bluronhover',
                                    'caption_elements' => 'title',
                                    'caption_styling' => 'overlay',
                                    'use_main_query_pagination' => 'yes',
                                    'custom_query' => array( 'post__in'=>$post_ids, 'post_type'=>get_post_types() )
                                );
    
      		               		$blog = new avia_masonry($atts);
    				           $blog->extract_terms();
    				           $blog->query_entries();

    This now brings up a PHP error with the latest Enfold version:

    Fatal error: Uncaught Error: Call to a member function get_default_sc_args() on null in /www/htdocs/xxx/xxx/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-sub-item-query-base.php:84 Stack trace: #0 /www/htdocs/xxx/xxx/wp-content/themes/enfold/config-templatebuilder/avia-shortcode-helpers/class-avia-masonry.php(50): aviaBuilder\base\aviaSubItemQueryBase->__construct(Array, NULL, Array) #1 /www/htdocs/xxx/xxx/wp-content/themes/enfold-child/archive.php(66): avia_masonry->__construct(Array) #2 /www/htdocs/xxx/xxx/wp-includes/template-loader.php(106): include('/www/htdocs/xxx...') #3 /www/htdocs/xxx/xxx/wp-blog-header.php(19): require_once('/www/htdocs/xxx...') #4 /www/htdocs/xxx/xxx/index.php(17): require('/www/htdocs/xxx...') #5 {main} thrown in /www/htdocs/xxx/xxx/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/base-classes/class-sub-item-query-base.php on line 84

    The call to
    $blog = new avia_masonry($atts);
    is the problem here. How can we achieve a post grid look in the archive page with the latest Enfold version?

    Thanks,
    Marc

    #1343760

    Hi,

    What is the original size of the product images that you are using? Try to set the Thumbnail width value to 705 to display the “masonry” thumbnail, which has a maximum dimension of 705x705px.

    You can find the list of available thumbnails or image sizes in the functions.php file around line 211.

    $avia_config['imgSize']['widget'] 			 	= array('width'=>36,  'height'=>36);						// small preview pics eg sidebar news
    $avia_config['imgSize']['square'] 		 	    = array('width'=>180, 'height'=>180);		                 // small image for blogs
    $avia_config['imgSize']['featured'] 		 	= array('width'=>1500, 'height'=>430 );						// images for fullsize pages and fullsize slider
    $avia_config['imgSize']['featured_large'] 		= array('width'=>1500, 'height'=>630 );						// images for fullsize pages and fullsize slider
    $avia_config['imgSize']['extra_large'] 		 	= array('width'=>1500, 'height'=>1500 , 'crop' => false);	// images for fullscrren slider
    $avia_config['imgSize']['portfolio'] 		 	= array('width'=>495, 'height'=>400 );						// images for portfolio entries (2,3 column)
    $avia_config['imgSize']['portfolio_small'] 		= array('width'=>260, 'height'=>185 );						// images for portfolio 4 columns
    $avia_config['imgSize']['gallery'] 		 		= array('width'=>845, 'height'=>684 );						// images for portfolio entries (2,3 column)
    $avia_config['imgSize']['magazine'] 		 	= array('width'=>710, 'height'=>375 );						// images for magazines
    $avia_config['imgSize']['masonry'] 		 		= array('width'=>705, 'height'=>705 , 'crop' => false);		// images for fullscreen masonry
    $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
    

    As you can see, the $avia_config[‘imgSize’][‘masonry’] or the masonry thumbnail is set to have a maximum width of 705px and height of 705px.

    Best regards,
    Ismael

    #1343590
    Evelyn Hirthammer-May
    Guest

    since we have changed from php 7.3 first to 7.4 and then 8.0, we get fatal error on the website.

    Fatal error: Unparenthesized a ? b : c ? d : e is not supported. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) in /homepages/25/d412285811/htdocs/htdocs/wp-content/themes/enfold/functions-enfold.php on line 324
    we tried to change this in php, but it doesnt work.
    $post_type = $image ? “” : ( get_post_format($post->ID) != “” ? get_post_format($post->ID) : “standard” );
    Is there a new Version of enfold?

    #1343581

    Strange. Only in this way it works as intended. The one other code that interferes with styles and the child theme is this (from Guenni007 too):

    add_action( 'wp_enqueue_scripts', 'wp_change_sticky_header_script', 100 );
    function wp_change_sticky_header_script() {
       wp_deregister_script( 'avia-sticky-header' );
       wp_enqueue_script( 'avia-sticky-header-child', get_stylesheet_directory_uri().'/js/avia-snippet-sticky-header.js', array('avia-default'), $vn, true);
    }

    As mentioned above, everything works on my end, just not with avia_load_shortcodes. It is not added to the site in any other way or twice in the functions.php …

    Is that a problem?

    In the end I don’t want to interfere with Guenni007’s question at the devs (post-1342985), I just wanted to give a short notice to others having the same problem that the code is not working, but maybe it is just me having this malfunction.

    #1343524
    This reply has been marked as private.

    Now we might possibly dig deeper, and do the definitive simulation: having a brand-new-virgin WP installation, with 4.9 version of Enfold and no child-theme at all, and testing whether or not “Icon Grid” (Image Flip Box) is working

    So this is a virgin WP (last version) install, with no plugins, and Enfold 4.9 (last version): https://enfold49.annamariamartinolli.it/index.php/about/our-story/
    As you can see we face the same-identical issue we also see here (as already reported): https://enfold.stage.annamariamartinolli.it/servizi/tipologie/
    Whilst on 4.8.7.1 version of Enfold that layout is not broken at all: https://www.annamariamartinolli.it/servizi/tipologie/
    And, finally, there’s no child-theme.
    In the end it might be the way that “Icon Grid” module has been customized, via backend (i.e.: using Enfold itself, not via CSS overrides).
    Still this is not expected behavior (thus a possible bug). Credentials for accessing “enfold49.annamariamartinolli.it” are the same as the ones already delivered for accessing “enfold.stage.annamariamartinolli.it”. So you can give it a try/look, if you want.
    Thanks, e.-

    Dear Guenni007,
    thank you again for your investigations (and for smart insights of yours, on when and how to use child-themes), but IMHO this “flipping icons do not work any longer for mobile devices only” old ticket is actually misleading. That (May 20, 2021) was the case in which “Icon Grid” stop working as expected, after Enfold update to 4.8.2 version, but “for mobile devices only”.
    What we face, as for now, is another/different issue, again dealing with “Icon Grid”, and faced after Enfold upgrade from ver. 4.8.7.1 to 4.9. As I previously states those old icongrid.js modifications (which Ismael – “look for this code around line 28” – suggested; and, BTW, on parent-theme, as child-theme was not anyhow recalled) have been overwritten during past months because of further Enfold updates (from May 2021 till now there have been at least 2 other Enfold updates, done by us), which have possibly applied the same fixes, and in fact we did not face any similar issue so far (up to 4.8.7.1).
    Let’s now forget this child/parent situation, and let’s focus on the topic, and its real trigger.
    We have (“www”) a 4.8.7.1 version of Enfold in which “Icon Grid” (Image Flip Box) is not broken, behaves as expected, and refers to “official” Enfold (4.8.7.1) source code (meaning: no overrides via child-theme). And we also have (“enfold.stage”) a 4.9 version of Enfold in which “Icon Grid” (Image Flip Box) is actually broken. The only difference is 4.8.7.1 on one hand, and 4.9 on the other hand. All the remaining parts of those sites are identical as being “enfold.stage” the clone of “www”.
    As I pointed out there are a lot of modifications in icongrid.css, icongrid.js and icongrid.php, with the passage from 4.8.7.1 to 4.9. And surely some of such modifications is now responsible of unexpected behavior on “enfold.stage” (4.9 version of Enfold).
    Now we might possibly dig deeper, and do the definitive simulation: having a brand-new-virgin WP installation, with 4.9 version of Enfold and no child-theme at all, and testing whether or not “Icon Grid” (Image Flip Box) is working. I can surely do this, but I’d prefer having some further thoughts/advise from you on this specific scenario, which I think has been clearly described.
    Thanks in advance, and best regards, e.-

    #1343419
    johnallen
    Participant

    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with your theme, Enfold.

    First, visit your website and check for any visible issues. Next, visit the page where the error was caught (wp-admin/customize.php?return=%2Fwp-admin%2Fthemes.php) and check for any visible issues.

    Please contact your host for assistance with investigating this issue further.

    If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.

    https://advanceddentistryofrichmond.com/wp-login.php?action=enter_recovery_mode&rm_token=3yV6WliI6APdjqs35hQXdj&rm_key=MpAjf8m4V1uNPSudkaAs9z

    To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.9.1
    Current theme: Enfold Child (version 1.0)
    Current plugin: (version )
    PHP version 7.4.28

    Error Details
    An error of type E_ERROR was caused in line 563 of the file /www/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php. Error message: Uncaught Error: Call to undefined function gutenberg_can_edit_post_type() in /www/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php:563
    Stack trace:

    0 /www/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(423): Avia_Gutenberg->can_use_block_editor(‘post’, true)
    1 /www/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(458): Avia_Gutenberg->init_force_classic_post_types()
    2 /www/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(533): Avia_Gutenberg->get_force_classic_post_types()
    3 /www/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php(661): Avia_Gutenberg->force_classic_editor(‘page’)
    4 /wordpress/wp-includes/class-wp-hook.php(307): Avia_Gutenberg->handler_display_post_states(Array, Object(WP_Post))
    5 /wordpress/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array)
    6 /wordpress/wp-admin/includes/template.php(2242): apply_filters(‘display_post_st…’, Array, Object(WP_Post))
    7 /wordpress/wp-includes/nav-men

    #1343410

    In reply to: Importing Demo

    Hi,
    Thanks, I tried but also got an error, I looked at your server settings and your Max input time is -1 this should be 180 and your PHP time limit were typically it is 270
    please ask your webhost to change these settings and try again, if it still doesn’t install I might have another method, but the negative one setting needs to be changed
    2022-03-06_185153.jpg

    Best regards,
    Mike

    #1343371

    Hi,
    Thank you for your patience, what I meant was that I believe that your v4.8.1 was modified to show the SKU without using the Product Meta Info element, and when you test one of the other versions they don’t have the same modifications. This is why I pointed out that your v4.8.1 has a lot of custom functions in the parent theme functions.php, as I investigate further I find that your v4.8.1 has two extra directories config-templatebuilder_original and config-woocommerce2 leading me to believe that the original directories were modified.
    2022-03-06_002.jpg
    I point this out because I created a clean install of v4.8.1 on a test server and couldn’t get the variable SKU to show without using the Product Meta Info element, I also tested v4.7.6 with no success without using the Product Meta Info element. So I thought that perhaps I didn’t create the variable product correctly so I exported your products and variables and the same product that we are testing on your site /metz-2/ doesn’t show the SKU or category on a clean install for me.
    Did you have help creating this site, is it possible that it contains modifications?

    Best regards,
    Mike

    Hi Guenni007, and thanks for suggestions.
    I see that you have already disabled WP-Rocket (and I have cleared CSS/JS cache on ENFLOD: https://enfold.stage.annamariamartinolli.it/wp-admin/admin.php?page=avia)
    Nevertheless we still face unexpected behavior, as per:
    https://enfold.stage.annamariamartinolli.it/servizi/tipologie/ (broken layout)
    VS
    https://www.annamariamartinolli.it/servizi/tipologie/ (layout as designed, as always worked)
    And also:
    https://enfold.stage.annamariamartinolli.it/catalogo/copioni-teatrali/ (broken layout; meaning: compressed images)
    VS
    https://www.annamariamartinolli.it/catalogo/copioni-teatrali/ (layout as designed, as always worked)
    Now going to check whether or not those suggested JS modifications have been applied at child-theme level (quite sure) or inside the ENFOLD main theme itself. I’ll be back in minutes. Thanks&Cheers, e.-

    #1343253

    Topic: Importing Demo

    in forum Enfold
    parosweb
    Participant

    Hi
    I can’t download any demo. Getting “Error accessing file for download:
    cURL error 28: Connection timed out after 10001 seconds”.
    I tried the manual method (https://kriesi.at/documentation/enfold/import-demos/#how-to-import-a-theme-demo), but it doesn’t work either.
    Here are the server’s options:
    Web server Apache
    PHP version 8.1.0 (Supports 64bit values)
    PHP SAPI fpm-fcgi
    PHP max input variables 16000
    PHP time limit 165
    PHP memory limit 512M
    Max input time -1
    Upload max filesize 128M
    PHP post max size 130M
    cURL version 7.64.0 OpenSSL/1.1.1d

    Thanks for any help!

    • This topic was modified 4 years, 1 month ago by parosweb.
    #1343234

    Topic: error in

    in forum Enfold
    anibalparra
    Participant

    I have two errors in my enfold theme that I would like to solve and I have no idea how
    the first on a page created:
    Warning: Undefined array key “controls” in /home/anibal1971/public_html/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 746

    the second in the footer of the theme
    Warning: Undefined variable $kriesi_at_backlink in /home/anibal1971/public_html/wp-content/themes/enfold/footer.php on line 194

    #1343049

    yes – it is because the portfolio_small is a cropped size
    try instead f.e.: medium_large ( that is a wordpress file-size ) or
    masonry ( you see on functions.php line 220 that crop is set to false.
    or if you like – generate a new file-size that is not croped

    add_image_size( 'news_size', 175, 260, false );
    
    function my_custom_sizes( $sizes ) {
        return array_merge( $sizes, array(
            'news_size' => __( 'News Size' ),
        ));
    }
    add_filter( 'image_size_names_choose', 'my_custom_sizes' );

    in combination then with the code above:

    function my_avf_newsbox_image_size( $image_size, array $args, array $instance ){
      if( $args['widget_id'] == ( 'portfoliobox-3' || 'newsbox-2' || 'newsbox-5' ) ){
        $image_size = 'news_size';
      }
      return $image_size;
    }
    add_filter( 'avf_newsbox_image_size', 'my_avf_newsbox_image_size', 10, 3 );

    but in this case you had to regenerate the thumbnails on existing images.
    f.e.: with https://en-gb.wordpress.org/plugins/regenerate-thumbnails-advanced/
    See results with news_size on: https://webers-testseite.de/#footer

    Reset your css settings in this case first and see what happens.
    _________________________
    the last part ( my_custom_sizes ) is only to have that image size as a choice in media-library insertion :

    #1343021

    Hey Chris,
    Thank you for your patience, the scrolling effect of the Horizontal Gallery has two options, one is to enlarge the active image and move to the next with each click, the second doesn’t enlarge the image but it also moves to the next with each click, it doesn’t “scroll” through the images it “steps” through them.
    To change this would require re-writing the script, a better solution is to enlarge the current image so that the users will know which image is active.
    I see that you say you are using this for products, perhaps the Product Slider (see the top element “Recent Top Sellers”) would be a better option as it slides the way you wish.
    Anyways to add a caption & sub caption below the Horizontal Gallery you first need to add a image title and alt in the media library, not the caption in the Horizontal Gallery
    2022-03-03_003.jpg
    then add this code to the end of your functions.php file in Appearance ▸ Editor:

     function horizontal_gallery_subline(){
        ?>
        <script>
    (function($){
             $('.av-horizontal-gallery-link').css({'bottom':'30px'});
             $('.av-horizontal-gallery-img').each(function(){
                 var imgTitle = $(this).attr('title');
                 var imgAlt = $(this).attr('alt');
                 $(this).after('<span class="title-under-image">' + imgTitle + '</span><span class="alt-under-image">' + imgAlt + '</span>').css({"margin": "-20px 0"});
                 $(this).css({'padding-bottom' : '20px','background-color' : 'transparent'});
                 $('.title-under-image').css({"display":"block","text-align": "center","color": "#000","font-weight":"bold"});
                 $('.alt-under-image').css({"display":"block","text-align": "center","color": "#444"});
             });
    
     })(jQuery);
        </script>
        <?php
        }
        add_action('wp_footer', 'horizontal_gallery_subline'); 

    the results expected are this
    2022-03-03_002.jpg

    Best regards,
    Mike

Viewing 30 results - 2,311 through 2,340 (of 16,896 total)