Viewing 30 results - 1,141 through 1,170 (of 16,891 total)
  • Author
    Search Results
  • #1417371

    Topic: no update enfold

    in forum Enfold
    jeel147
    Participant

    hello
    i had to change the phpversion from 7.4 to 8.1 but it was than i discovered there was no enfold update.
    check manually: it kept the old version (4.6.3.1)
    automatic update: didnt work

    what to do about this?

    best rerards, jelle

    ps: when trying to change the phpversion i got a errormessage, site was not longer available, thats how i discovered.
    apparantly the change from php7.4 to php8.1 didnt work with the enfold 4.6.3.1 version?

    • This topic was modified 2 years, 7 months ago by jeel147.
    #1417369

    OK, I moved the closing divs back to the bottom of page.php (Is this the correct way to close those divs? https://capture.dropbox.com/ROwRW1tjKO7zxuXA ), added all the code from footer.php below that (I assume I’m supposed to remove the get_footer function, correct?), and removed the closing divs from that footer code. Does that all look/sound correct? It doesn’t seem to work — the header and footer both disappear as soon as I activate the Elementor footer. I’m including the info again in the private content, in case you have any other ideas for me :). Thanks again.

    #1417360
    felixl
    Participant

    hello at all,

    meanwhile my 5. setup – and it´s always the same…
    after importing the demo “dark photography” it comes to:
    “Es gab einen kritischen Fehler auf deiner Website. Bitte überprüfe den Posteingang deiner Website-Administrator-E-Mail-Adresse für weitere Anweisungen.”
    but i never get advice via email. even that doesn´t works.
    is there a bug?
    usually all the imports made no trouble. made that around 70x in all the years with enfold!

    today again: a fresh database, brandnew wp-version, new download enfold from themeforest, fresh download enfold child theme. php 8.2
    could you please take a look?

    i really don´t know what the problem is.

    thanks a lot,
    felixl

    #1417342
    Ventsislav Krastev
    Guest

    The problem is that with a new installation of the theme under WP 6.3 media, the library is empty, there is no image, and the logo is missing, too…???

    When installing the theme on WP version 6.2.2 everything is normal and all images are available…

    Installations were done on the same server and domain and PHP version…
    Below I am giving you access details, please check…

    —————————————————————————————————————————-
    Hi,
    when installing the theme under WP 6.3 the images are lost, but with WP 6.2.2 the installation is OK…
    Please, see https://www.facebook.com/groups/WordpressEnfold/permalink/2629153910557493/

    How do I give you access to check…
    Thank you so much for your attention and participation…

    BR
    Venty

    Hi Rikard,

    we got it fixed over the Weekend. Thank you anyway!

    For anyone with the Same Problem – her is what fixed it:

    Path: /wp-content/plugins/woocommerce/includes/wc-template-functions.php
    unset($classes[4]);
    // print_r($classes);

    Also, Add this CSS in the customizer :

    @media only screen and (min-width: 768px) {

    .archive ul.products {
    http://width:100% !important;
    }
    .archive ul.products li {
    width: 24%;
    height: 500px;
    }
    .archive ul.products li .thumbnail_container {
    height: 200px;
    }
    }

    #1417152
    Ewout van Driel
    Guest

    Hi,
    I have a license for Enfold (purchase code 27adc37c-eaf3-4b10-8c7f-7acf4e84dfbb).

    I am currently on version 4.4.1 and would need to update as there seem to be some php compatibility issues.
    Is this possible? As I understand the purchase included updates.

    Thanks and regards.
    Ewout van Driel

    #1417033
    This reply has been marked as private.
    wusatiuk
    Participant

    I am trying to exclude posts (woocommerce products) which have a specific category (id=340) from the ‘avia_ajax_search’ popup.
    have copied the function if(!function_exists(‘avia_ajax_search’))

    from /enfold/functions-enfold.php to /enfold-child/functions.php
    Is this correct, or do i need a seperate /enfold-child/functions-enfold.php

    
    if(!function_exists('avia_ajax_search'))
    {
    	//now hook into wordpress ajax function to catch any ajax requests
    	add_action( 'wp_ajax_avia_ajax_search', 'avia_ajax_search' );
    	add_action( 'wp_ajax_nopriv_avia_ajax_search', 'avia_ajax_search' );
    
    	function avia_ajax_search()
    	{
    	    global $avia_config;
    		
            $exclude_category_id = 340; // Replace with the actual category ID
    
    	    unset($_REQUEST['action']);
    	    if(empty($_REQUEST['s'])) $_REQUEST['s'] = array_shift(array_values($_REQUEST));
    		if(empty($_REQUEST['s'])) die();
    
    	    $defaults = array('numberposts' => 5, 'post_type' => 'any', 'post_status' => 'publish', 'post_password' => '', 'suppress_filters' => false, 'results_hide_fields' => '');
    
    	    $_REQUEST['s'] = apply_filters( 'get_search_query', $_REQUEST['s']);
    
    	    $search_parameters 	= array_merge($defaults, $_REQUEST);
    
    	    if ( $search_parameters['results_hide_fields'] !== '' ) {
                $search_parameters['results_hide_fields'] = explode(',', $_REQUEST['results_hide_fields']);
            }
            else {
                $search_parameters['results_hide_fields'] = array();
            }
    
            $search_query 		= apply_filters('avf_ajax_search_query', http_build_query($search_parameters));
    	    $query_function     = apply_filters('avf_ajax_search_function', 'get_posts', $search_query, $search_parameters, $defaults);
    	    $posts		= (($query_function == 'get_posts') || !function_exists($query_function))  ? get_posts($search_query) : $query_function($search_query, $search_parameters, $defaults);
    	
    	    $search_messages = array(
    	            'no_criteria_matched' => __("Sorry, no posts matched your criteria", 'avia_framework'),
    	            'another_search_term' => __("Please try another search term", 'avia_framework'),
    	            'time_format'         => get_option('date_format'),
    	            'all_results_query'   => http_build_query($_REQUEST),
    	            'all_results_link'    => home_url('?' . http_build_query($_REQUEST)),
    	            'view_all_results'    => __('View all results','avia_framework')
                );
    		
    	    $search_messages = apply_filters('avf_ajax_search_messages', $search_messages, $search_query);
    		
    	    if(empty($posts))
    	    {
    	        $output  = "<span class='av_ajax_search_entry ajax_not_found'>";
    	        $output .= "<span class='av_ajax_search_image ".av_icon_string('info')."'>";
    	        $output .= "</span>";
    	        $output .= "<span class='av_ajax_search_content'>";
    	        $output .= "    <span class='av_ajax_search_title'>";
                	$output .= $search_messages['no_criteria_matched'];
    	        $output .= "    </span>";
    	        $output .= "    <span class='ajax_search_excerpt'>";
                	$output .= $search_messages['another_search_term'];
    	        $output .= "    </span>";
    	        $output .= "</span>";
    	        $output .= "</span>";
    	        echo $output;
    	        die();
    	    }
    
    	    //if we got posts resort them by post type
    	    $output = "";
    	    $sorted = array();
    	    $post_type_obj = array();
    	    foreach($posts as $post)
    	    {
    	        $sorted[$post->post_type][] = $post;
    	        if(empty($post_type_obj[$post->post_type]))
    	        {
    	            $post_type_obj[$post->post_type] = get_post_type_object($post->post_type);
    	        }
    	    }
    
    	    //now we got everything we need to preapre the output
    	    foreach($sorted as $key => $post_type)
    	    {
    
    	        // check if post titles are in the hidden fields list
    	        if ( ! in_array('post_titles', $search_parameters['results_hide_fields'] ) )
    	        {
                    if(isset($post_type_obj[$key]->labels->name))
                    {
                        $label = apply_filters('avf_ajax_search_label_names', $post_type_obj[$key]->labels->name);
                        $output .= "<h4>".$label."</h4>";
                    }
                    else
                    {
                        $output .= "<hr />";
                    }
                }
    
    	        foreach($post_type as $post) {
    
    	            $image = "";
                    $extra_class = "";
    
                    // Get the categories for the post
               		$post_categories = wp_get_post_categories($post->ID);
    
               		// Check if the excluded category is in the post categories
    	            if (!in_array($exclude_category_id, $post_categories)) {
    
    	                // check if image is in the hidden fields list
    	                if (!in_array('image', $search_parameters['results_hide_fields']))
    	                {
    	                    $image = get_the_post_thumbnail($post->ID, 'thumbnail');
    	                    $extra_class = $image ? "with_image" : "";
    	                    $post_type = $image ? "" : get_post_format($post->ID) != "" ? get_post_format($post->ID) : "standard";
    	                    $iconfont = $image ? "" : av_icon_string($post_type);
    
    	                }
    
    		            $excerpt     = "";
    
    	                // check if post meta fields are in the hidden fields list
    	                if ( ! in_array('meta', $search_parameters['results_hide_fields'] ) )
    	                {
    	                    if(!empty($post->post_excerpt))
    	                    {
    	                        $excerpt =  apply_filters( 'avf_ajax_search_excerpt', avia_backend_truncate($post->post_excerpt,70," ","...", true, '', true) );
    	                    }
    	                    else
    	                    {
    	                        $excerpt = apply_filters( 'avf_ajax_search_no_excerpt', get_the_time( $search_messages['time_format'], $post->ID ), $post );
    	                    }
    	                }
    
    		            $link = apply_filters('av_custom_url', get_permalink($post->ID), $post);
    
    		            $output .= "<a class ='av_ajax_search_entry {$extra_class}' href='".$link."'>";
    
    		            if ($image !== "" || $iconfont) {
    	                    $output .= "<span class='av_ajax_search_image' {$iconfont}>";
    	                    $output .= $image;
    	                    $output .= "</span>";
    	                }
    		            $output .= "<span class='av_ajax_search_content'>";
    		            $output .= "    <span class='av_ajax_search_title'>";
    		            $output .=      get_the_title($post->ID);
    		            $output .= "    </span>";
    		            if ($excerpt !== '') {
    	                    $output .= "    <span class='ajax_search_excerpt'>";
    	                    $output .=      $excerpt;
    	                    $output .= "    </span>";
    	                }
    	          	}
    	            $output .= "</span>";
    	            $output .= "</a>";
    	        }
    	    }
    
    	    $output .= "<a class='av_ajax_search_entry av_ajax_search_entry_view_all' href='".$search_messages['all_results_link']."'>".$search_messages['view_all_results']."</a>";
    
    	    echo $output;
    	    die();
    	}
    }
    
    #1416963

    Topic: WPML problem with PHP8

    in forum Enfold
    licencjezpm
    Participant

    Hi,
    after change PHP from 7.4 to any 8 version site and admin site show errors like below:
    Fatal error: Uncaught Error: Call to undefined function get_magic_quotes_gpc() in
    public_html/wp-content/plugins/wpml-string-translation/inc/functions.php:15
    /public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    /public_html/wp-settings.php(486): do_action(‘plugins_loaded’)
    etc.
    More details:
    2023-08-23-php-error
    Thanks for help
    Pawel

    #1416920

    Hey Lene,

    Thank you for the inquiry.

    Are you referring to the following thread? Please make sure that the code from the previous thread is present in the functions.php file before using the [social-bookmarks] shortcode.

    // https://kriesi.at/support/topic/social-media-icons-in-footer-8/#post-1397572

    You can also display social icons in the footer by enabling the Social Icons option in the Enfold > Footer panel.

    Best regards,
    Ismael

    #1416892

    Hey tuncaycicek,
    I believe this is the same as this issue which was corrected in an update, please ensure that you are using v5.6.5
    Also please note Guenni007’s comment in the thread that a plugin may also cause this, so after updating try disabling your plugins and check.
    Also note that if you are using a child theme footer.php & header.php and these do not match the current footer.php & header.php, this will cause errors in your theme. We do not recommend adding these files to your child theme, it is the most common reason for errors when updating. Please remove these files and any customizations you wish to make should be done in your child theme functions.php

    Best regards,
    Mike

    #1416884
    tuncaycicek
    Participant

    Dear Enfold support team,
    I hope this message finds you well. I am reaching out regarding an issue I’ve encountered with the Enfold theme on our website, https://csrf-southsudan.org/.
    Upon upgrading our PHP version to 8.x, our website started displaying the following error: 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 /home/httpd/vhosts/swisspeace.ch/csrf-southsudan.org/wp-content/themes/csrf-southsudan/functions-enfold.php on line 332.
    Although we tried to address the issue by modifying the aforementioned line in the functions-enfold.php file, the problem persists. When we install and update the theme to its latest version, the site operates without the error, but some of our customized posts appear to be disrupted or data seems to be lost.

    We understand that this might be related to the changes in the ternary conditional operators from PHP 7.4 to 8.x.

    We would greatly appreciate your guidance on how to resolve this issue without losing our theme customizations. We are eager to maintain the integrity and functionality of our site and believe that your expertise will be invaluable in this process.

    Thank you for your time and assistance. We look forward to your response.
    Warm regards,
    Tuncay Cicek

    Bryan Holley
    Guest

    You are providers of a Theme Version, Kriesi, for my website, started in 2013. A WordPress autoupdate and a conflict with one of your Themes has destroyed my website, every page, every bit of content. I have been in contact with SiteGround and they suggest my conflict can be resolved by a Kriesi Enfold Theme Update. I am asking Kriesi support human beings to contact me directly, so I can try to bring my website back. I asked SiteGround to provide me with an email address to a human being because of this clusterfuck, and this contact form is the best they could do. We have such great companies now, they hide from their own customers. SiteGround support staff suggest this:
    “As for restoring your website in a working condition, it will not be possible with the current application setting.

    The core files of your application require PHP above 7.0, and your theme version requires PHP 5.6 or below, and both conditions cannot be covered simultaneously.

    That being said, this should be resolved with a theme version update.”

    Imagine you are a musician who teaches and plays and performs music and only wants to help people learn to play and sing, so decided to have a website. Imagine 10 years of work into teaching hundreds of people only to see your website destroyed by someone else, a tech company, software on autoupdates, somewhere, run by someone, for some kind of goals, I guess . . .

    #1416652

    Hi,
    When I check the footer.php the closing brackets that you are pointing to, #main & #wrap_all close before the WordPress footer function that I assume that Elementor is hooking in to:
    Enfold_Support_2997.jpeg

    Best regards,
    Mike

    #1416629

    Hey Fabian,
    You could modify the file at enfold/includes/loop-comments.php and add this line <div class="comment_author_email"><?php comment_author_email(); ?></div> on line 28:
    Enfold_Support_2981.jpeg
    but you won’t be able to add this to your child theme, so you will need to make this change each time that you update.
    The WordPress Developer Resources advises against making the email publicity visible to assure that email harvesters do not capture your commenter’s email address as most assume that their email address will not appear in raw form on the site.
    Perhaps using a plugin to allow commenters to engage with each other would be better, such as wpDiscuz, a quick look at this seems to allow users this ability, or perhaps Disqus Comment System or Vuukle Comments
    I don’t have any experience with any of these but there seems to be many comment form replacements that allow better engagements, using a plugin would be better as they would have worked out any loop holes the bad bots would use against your visitors information, which could be an issue.

    Best regards,
    Mike

    Hi,

    Thanks for the update. The PHP version you are running is going to be obsolete soon, so you might want to change your hosting provider if 7.4 is the only PHP version they are offering.

    You can easily check if the warnings are generated from your child theme by simply activating the parent theme. We can’t be responsible for custom code added to a child theme unfortunately. Maybe you could reach out to the person who wrote or added the code in question? https://www.php.net/manual/en/function.create-function.php

    Best regards,
    Rikard

    #1416531

    Hi,

    Thank you for the update.

    The masonry items are now displaying on our end, but the issue still occurs randomly. To fix this intermittent issue and make sure that the items are always visible, we edited the script in the functions.php file a bit. However, the changes also disable the animation of the modified masonry element.

    This is the modified script in the functions.php file.

    
    add_action('wp_footer', 'ava_auto_resize'); function ava_auto_resize(){ ?> <script>
    (function($){   
    		$(document).ready(function() {
    			var masonry = $('.av-lkxoac3p-fdb26766bf677dcbcb91121eba03e5ce');
    			masonry.css('opacity', 0);
    			
    			var int = window.setInterval(function(){
                    $(window).trigger('resize debouncedresize');
    			}, 2000);
    
    			$(window).on('load', function () {     
    					setTimeout(function() {
    							clearInterval(int);
    					}, 500);
    			});
    			
    			if ($('body').hasClass('page-id-7579')) {
                   $(window).scroll(function(){
    					if(masonry.css('opacity') == 0) {
    						masonry.css('opacity', 1);
    						// masonry.find('.av-masonry-entry').css('opacity', 1);
    						// masonry.find('.av-masonry-entry').css('visibility', 'visible');
                                                    masonry.find('.av-masonry-entry').addClass('av-masonry-item-loaded');
    						$(window).trigger('resize debouncedresize');
    					}
    			  });
                }
    		});
    })(jQuery);
    </script>
    <?php
    }
    

    Please make sure to purge the cache or switch to incognito mode before checking the page.

    Best regards,
    Ismael

    Hello Rikard,

    The Theme Version is 5.6.5 and PHP is 7.4.

    Best regards.

    pirkerandrea
    Participant

    Hello,

    Our client has a multisite where the following error appeared on the German and Italian versions:

    Deprecated: Function create_function() is deprecated in /srv/www/dia/dia.aau.at/html/staging1/wp-content/themes/enfold-child_de/functions.php on line 135

    As a precaution, we generated a staging page and updated the entire pages. After the theme was finished and WordPress was also updated to 6.3, the aforementioned error message remained and another one appeared on every page and also in the backend:

    Deprecated: Function Class avia_style_generator was called with an argument that is deprecated since version 5.3! Trying to set protected/private property: avia_style_generator::print_extra_output – will become unavailable in a future release. Check for a set method or a filter. in /srv/www/dia/dia.aau.at/html/staging1/wp-includes/functions.php on line 5737

    How can you fix these errors?
    Thank you in advance.

    #1416191

    Hi,
    Sorry, my mistake, I was looking at the menu, anyways I do see that the text in the grid column is not showing on my desktop Mac in Safari, I see an error Error: problem parsing d= on Windows while the text shows there is a error Error: attribute d: Expected number, “…9 9.5-203.5-82.5-97.”.
    Please include an admin login in the Private Content area so we can investigate. Also please Enable the Avia Layout Builder Debugger by adding this snippet to the WordPress ▸ Appearance ▸ Theme File Editor ▸ Enfold child theme ▸ functions.php

    //set builder mode to debug
    add_action('avia_builder_mode', "builder_set_debug");
    function builder_set_debug()
    {
      return "debug";
    }

    Best regards,
    Mike

    #1416129

    Hey justvisible,
    Thanks for your patience and the link to your site, I see that you are not using a child theme, so I would recommend installing the WP Code plugin to install the following snippet, then add a new snippet, in the top right corner use the PHP snippet as the code type:
    Enfold_Support_2680.jpeg
    then add this code and save:

    function change_logo_on_scroll() { ?>
      <script>
    (function ($) { 
      $(window).scroll(function() {
        var scroll = $(window).scrollTop();
          if (scroll > 20) {
        $('.logo a').find( 'img' ).attr('src', 'https://massplaner.de/wp-content/uploads/2023/07/EICHENHAUS-Schreinerei-Planungsbuero-Logo-2017_CMYK_randlos-300x169.png');
       } else {
        $('.logo a').find( 'img' ).attr('src', 'https://massplaner.de/wp-content/uploads/2023/07/eichenhaus-schreinerei-planungsbuero-logo-2017-mobil_poster_.png');
       }
      });
    })(jQuery);
    </script>
      <?php
    }
    add_action('wp_footer', 'change_logo_on_scroll');

    In this example I found a different logo in your footer to use, so when you scroll the snippet will change your top logo and then back again when to scroll to the top, feel free to change the logo url’s to suit, the first url is the after scroll url, and the second is your current logo.
    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.

    Best regards,
    Mike

    #1416097

    In reply to: critical error

    This reply has been marked as private.
    #1416033

    Hi,

    Thank you for the inquiry.

    How did you add the role attribute? Do you still see the error when you change the role attribute value to “button”? You can modify the markup of the navigation controls in the enfold/config-templatebuilder/avia-template-builder/php/class-front-templates.php file around line 76.

    for( $i = 1; $i <= $final_cont; $i++ )
    			{
    				$html .= "<a href='#{$i}' class='goto-slide {$active}' >{$i}</a>";
    				$active = '';
    			}
    

    Best regards,
    Ismael

    SPARK-Marketing
    Participant

    Dear Team,

    Our website employs the Enfold theme, with the current version being 3.8.5. However, when attempting to update the PHP version to the latest iteration (8.0 to 8.2), a fatal error occurs. In an effort to rectify this, we endeavored to upgrade the theme to its most recent version. Regrettably, this resulted in a complete overhaul of our website’s design.

    We kindly request guidance on the optimal approach to address this issue. If necessary, I am prepared to provide the development server credentials. Below are the URLs for both the development and live websites:

    Your assistance is greatly appreciated.

    Jan Thiel
    Participant

    Hey there,

    this is kind of a plugin incompatibility caused by “gravityview”. They register a shortcode with the name “gv\widgets\page_size”. Which is totally legit. When you add this shortcode name to your test Regex in class-shortcode-parser.php the “\p” triggers the error as it is a reserved group in Regex:

    Warning [2] Error (E_WARNING): “preg_match_all(): Compilation failed: unknown property name after \P or \p at offset 9320“ at ./wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/class-shortcode-parser.php:607.

    Obviously you cannot simply add any given shortcode to a regex without sanitizing it first. In this case: escaping possible illegal characters like “\”.

    Here is the call stack:

    
    preg_match_all,
    ShortcodeParser->balance_shortcode,
    ShortcodeParser->parse_shortcode,
    ShortcodeHelper::clean_up_shortcode,
    aviaShortcodeTemplate->shortcode_handler_prepare,
    do_shortcode_tag,
    preg_replace_callback,
    do_shortcode,
    av_privacy_class->handler_wp_footer_cookie_consent_bar,
    WP_Hook->apply_filters,
    WP_Hook->do_action,
    do_action(<code>wp_footer</code>),
    wp_footer,
    require_once(<code>/themes/enfold/footer.php</code>),
    load_template,
    locate_template,
    get_footer,
    include(<code>/themes/enfold/index.php</code>),
    require_once(<code>wp-includes/template-loader.php</code>),
    require(<code>wp-blog-header.php</code>)
    

    Running Enfold 5.6.2. But I don’t think you fixed something like this in the more recent versions ;-).

    Thanks and best regards,

    Jan

    #1415935

    Hi,

    Unfortunately, there isn’t an easy way to remove the target attribute at the moment. I will ask our developers if it’d be possible to add a filter for upcoming versions. We’ll give you an update in case we add a new filter.

    For now, please add the following code to the bottom of Functions.php file of your child theme, or add it as a new snippet in the Code Snippets plugin:

    
    function av_remove_privacy_attr() { 
    	?>
    	<script>
    		(function($) {
    			$(document).ready(function() {
    				$('.av-av_tab-5f5085d493be16260717094fefe921f3 a').removeAttr('target');
    			});	
    		}(jQuery)); 
    	</script>
    	<?php
    }
    add_action('wp_footer', 'av_remove_privacy_attr');
    

    Best regards,
    Yigit

    #1415874

    Hi,
    For that you will need to add a plugin or a script, and you will need to add more content to your test page.
    I see you are not using a child theme so I recommend the WPcode plugin for your customizations, this plugin supports PHP code snippets, JavaScript code snippets, & CSS code snippets.
    Add this code as a new snippet for the Code Type PHP Snippet

    function sticky_sidebar_script() { ?>
      <script>
    (function ($) {
        $(window).scroll(function (e) {
          var $sticky = $('.inner_sidebar');
          var position = ($sticky.css('position') == 'fixed');
          if ($(this).scrollTop() > 1 && !position) {
            $sticky.css({ 'position': 'fixed', 'top': '170px', 'width': $sticky.innerWidth() });
            $sticky.next().css('float', 'right');
            $sticky.addClass('fixed_element_style');
          }
          if ($(this).scrollTop() < 1 && position) {
            $sticky.css({ 'position': 'static', 'top': '0px', 'width': '' });
            $sticky.next().css('float', 'left');
            $sticky.removeClass('fixed_element_style');
          }
        });
    })(jQuery);
    </script>
      <?php
    }
    add_action('wp_footer', 'sticky_sidebar_script');

    Enfold_Support_2871.jpeg
    I added it to this test page so you can it it working, you can adjust the position 170px in the code to suit.
    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.

    Best regards,
    Mike

    #1415851

    Hey thomasianwilson21171,
    You should be able to jump to v5.6.5. Afterward you can create a Envato token on your Envato (Theme Forest) account for future updates, as the old API is no longer used.
    However I recommend creating a staging site to first test the upgrade on as we don’t know if you have any customizations. If you are using a child theme with a custom header.php or footer.php first remove these as these files have changed and typically will cause errors with an update. We don’t recommend this practice but add your customizations to your child theme functions.php instead.
    Most cPanel webhosts have a staging site option, some in the dashboard:
    staging-1.jpeg
    Others add the option in the Softaculous WordPress Management
    2022-12-11_001.jpeg
    There may be other staging site options in different cPanel servers, these are the two that I have seen.

    To update your version of Enfold you will need to download the latest installable WP version from your Theme Forest account and upload it to your WordPress ▸ Appearance ▸ Themes ▸ Add Themes ▸ Add New
    WordPress_Appearance_Themes_Add-Themes_Add-New.jpg
    after you choose the zip file and click install, you will see a This theme is already installed message because you are updating, you can continue
    Installing_theme_from_uploaded_file_This_theme_is_already_installed.jpg
    then you will see the Theme updated successfully message.
    Theme_updated_successfully.jpg

    Best regards,
    Mike

    #1415792

    Hi macjeffff,

    Please add this code in functions.php of your child theme, if you don’t have a child theme then you can use the plugin called WPCode to insert this code snippet:

    add_filter('avia_blog_post_query', 'custom_enfold_blog_post_query');
    
    function custom_enfold_blog_post_query( $query ) {
    	if ( is_page( 6791 ) ) {
    		$query['orderby'] = 'date';
    		$query['order'] = 'ASC';
    	}
    	
    	return $query;
    }

    Best regards,
    Nikko

    Hey fw100,

    Thank you for the inquiry.

    You will need to modify the includes > loop-index.php file around line 417, look for this code.

    echo $title;
    

    .. then move it around line 553, just above this code.

    echo $close_header;
    

    Best regards,
    Ismael

Viewing 30 results - 1,141 through 1,170 (of 16,891 total)