Viewing 30 results - 15,121 through 15,150 (of 16,895 total)
  • Author
    Search Results
  • tharzzan
    Participant

    Hi,

    I would like to upload content and setup layout / categories … setting using CSV file, using WP All Import Plugin. Basically, I’m trying to setup all the settings using spreadsheet (so that I don’t miss anything), and then use WPAI to import those settings. WPAI will then dynamically set everything up for me based on my preference in the CSV files. However, I found some fields that I can’t be updated using WPAI plugin.

    A while ago I contacted WPAI support to help me setup the parent / child relationship of each page, that can’t automatically be setup using CSV; and they offer me a code (in functions.php) to get around that limitation. Basically what I had to do was to create a custom field, and then use the code below so that the plugin can automatically map the custom field with the “parent” field.

    Could you please help me modify the following code, so that it can work with some other fields in the portfolio page? Thank you :)

    So, here’s the code:

    
    add_action('pmxi_saved_post', 'set_parent_page', 10, 1);
    
    function set_parent_page($pid){
        $page = get_post($pid);
        if ( ! empty($page) ){
             $parent_page = get_post_meta($pid, '_tmp_parent_value', true);
             if ( ! is_numeric($parent_page) ){
                 $parent = get_page_by_title($parent_page);
                 if (! empty($parent)){
                     $parent_page = $parent->ID;
                 }
             }
             if ( is_numeric($parent_page) ){
                 wp_update_post(array(
                     'ID' => $page->ID,
                     'post_parent' => $parent_page
                 ));
             }
             delete_post_meta($pid, '_tmp_parent_value');
        }
    }
    

    In the example above, I have to create a custom field called “_tmp_parent_value”.

    What I want to automatically setup in the portfolio item, are the following:
    1. Tags
    2. Portfolio Categories
    3. Layout (Select the desired Page layout)
    4. Sidebar Setting (Choose a custom sidebar for this entry)
    5. Title Bar Settings (Display the Title Bar with Page Title and Breadcrumb Navigation?)
    6. Footer Settings (Display the footer widgets?)
    7. Breadcrumb parent page (Select a parent page for this entry. If no page is selected the them will use session data to build the breadcrumb.)

    Thanks again :)

    #336530

    Topic: Update Failed (Urgent)

    in forum Enfold
    Alan
    Participant

    Hello,

    I’ve just updated Enfold 3.0. but there is some error. After this action, My website doesn’t show anything. It’s blank.

    업데이트 절차가 시작되었습니다. 이 과정은 시간이 걸릴 수 있습니다. 잠시만 기다려주세요.

    —————————————-
    유지관리 모드 활성화.

    테마 업데이트중 Enfold (1/1)
    https://s3.amazonaws.com/marketplace-downloads.envato.com/files/107427867/enfold.zip?AWSAccessKeyId=AKIAJYG5ROGJ6X7Z3M6Q&Expires=1413428829&Signature=fudSFZU5LTBdkjUrlIrIzv3Ln0A%3D&response-content-disposition=attachment%3B+filename%3Dthemeforest-4519990-enfold-responsive-multipurpose-theme-wordpress_theme.zip로부터 업데이트 다운로드.
    업데이트 압축 푸는 중.
    최신 버전을 설치하는 중
    테마의 이전 버전을 제거중.
    테마 업데이트 실패함.
    Enfold를 업데이트 하는 중에 에러가 발생했습니다: 파일을 복사할 수 없습니다. /home/hosting_users/wedosoftinc/www/wordpress/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/font-manager.class.php
    유지관리 모드 비활성화.

    Attention: We detected some custom styling rules in your custom.css file and restored it ;)
    모든 업데이트가 완료되었습니다.

    Go Back to Enfold Theme Panel
    ———————————————–

    I guess this failing is related to hard disk storage is full.

    My webiste shows blank page. Please help me urgently.

    Solved) I’ve uploaded theme file via FTP. It works fine. Please delete this topic. (private content is included.)
    I can’t find remove/delete menu.

    • This topic was modified 11 years, 6 months ago by Alan.
    #336517

    They may have set that address because that’s the default address WordPress uses to send notifications (recovery, sing-up, etc) to the admin. Not sure if it would work with another address but you can try it, change it in functions.php (Enfold) or in the form settings (CF7).

    By the way, now i’m getting the messages i tested an hour ago (recovery, enfold form), apparently there was some delay.

    Best regards,
    Josue

    • This reply was modified 11 years, 6 months ago by Josue.
    #336458

    Topic: Menu Stops at 75 Items

    in forum Enfold
    schuttjon
    Participant

    Hello,

    I am trying to add fly-out menu items so users can navigate the website easier. Everything was going fine until I hit 75 menu items. Anything I add in the menu editor after 75 gets deleted and does not show.

    I lurked and found this support question: https://kriesi.at/support/topic/cant-add-more-menu-items-beyond-75/. I attempted to add define(‘WP_MEMORY_LIMIT’, ‘128M’); to my Child Theme’s functions.php but it did not have any effect.

    Is there some other way that I can add more menu items?

    Best,

    Jon

    #336401
    This reply has been marked as private.
    #336363

    Hi Terri!

    The CF7 form is working because i modified the From email to ” (Email address hidden if logged out) ” so the server allows it to send emails, to do the same in the Enfold form you’d need to add the following to your theme / child theme functions.php:

    function change_cf_from() {
    	return " (Email address hidden if logged out) ";
    }
    add_filter('avf_form_from', 'change_cf_from', 10);
    

    Edit:
    I already added the code to the theme functions.php, the Enfold form is working now, you can test it here:
    http://www.holleycreative.com/cf-test/

    Best regards,
    Josue

    • This reply was modified 11 years, 6 months ago by Josue.
    #336176

    In reply to: Enfold Image Sizes

    Hi frescova!

    Please go to Appearance > Editor and open Functions.php file and find

    $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

    adjust as needed and then regenerate thumbnails using – https://wordpress.org/plugins/regenerate-thumbnails/

    Best regards,
    Yigit

    ILikeMovies
    Participant

    Have different errors and would like to know if it is errors in Enfold. Please explain how to avoid these errors.

    [12-Oct-2014 16:49:57 America/New_York] PHP Fatal error: Call to undefined function __() in /home/…/public_html/wp-content/themes/enfold/framework/php/class-tgm-plugin-activation.php on line 164
    [13-Oct-2014 04:12:04 America/New_York] PHP Warning: require_once(ABSPATHwp-admin/includes/import.php) [function.require-once]: failed to open stream: No such file or directory in /home/…/public_html/wp-content/themes/enfold/framework/php/inc-avia-importer.php on line 8
    [13-Oct-2014 04:12:04 America/New_York] PHP Fatal error: require_once() [function.require]: Failed opening required ‘ABSPATHwp-admin/includes/import.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/…/public_html/wp-content/themes/enfold/framework/php/inc-avia-importer.php on line 8
    [13-Oct-2014 21:38:11 America/New_York] PHP Fatal error: Call to undefined function get_template_directory() in /home/…/public_html/wp-content/themes/enfold/framework/php/inc-autoconfig.php on line 23
    [15-Oct-2014 05:09:43 America/New_York] PHP Fatal error: Call to undefined function __() in /home/…/public_html/wp-content/themes/enfold/framework/php/class-tgm-plugin-activation.php on line 164

    Apache report:

    [Tue Oct 14 20:31:50 2014] [error] [client 173.245.55.166] client denied by server configuration: /home/…/public_html/wp-content/themes/enfold/framework/php/error_log

    #335962

    Hi!

    Are you using the advance layout builder for pages? You can use this on functions.php:

    add_filter('avf_template_builder_content', 'avia_add_social_toolbar_template_builder', 10, 1);
    function avia_add_social_toolbar_template_builder($content = "")
    {
    	if(is_page(2) || is_page(3437)) {
    	$content .= avia_social_share_links(array(), false);
    	}
    	return $content;
    }

    Use the is_page conditional if you want to show the share section on specific pages.

    Cheers!
    Ismael

    #335930

    Hey!

    Thank you for the info.

    Please add this on functions.php:

    add_filter( 'avf_ajax_search_excerpt', 'avf_ajax_search_excerpt_allow', 1);
    
    function avf_ajax_search_excerpt_allow($excerpt) {
    	$excerpt = avia_backend_truncate($post->post_excerpt,70," ","...", true, '<br/>', true);
    	return $excerpt;
    }

    Regards,
    Ismael

    #335920

    Hi!

    There are reported issues about PHP 5.3 Fast CGI causing issues with the theme but it was a long time ago and upgrading PHP to 5.4 or newer version somehow fix it: https://kriesi.at/support/topic/migrating-enfold-database-over-from-test-site-to-live/

    On this thread, the user pointed out that it is a problem with hosting set up of the database, though, I’m not entirely sure what he meant by that. And you seems to be experiencing different issue so if possible, please ask your host to upgrade PHP and somehow investigate the database setup. Maybe they can find something there. Did you try the solutions provided on the threads? Add this on functions.php:

    add_theme_support('avia_no_session_support');
    

    Another fix:

    https://kriesi.at/support/topic/help-trying-to-understand-error-message/#post-271650

    Cheers!
    Ismael

    #335685
    This reply has been marked as private.
    #335397

    Hi
    I have already Version 4.0

    WordPress Version: 4.0
    WooCommerce Version: 2.2.6
    WooCommerce Datenbank-Version: 2.2.6
    PHP Version: 5.4.32
    MySQL Version: 5.5.37
    Name des Themes: Enfold
    Theme-Version: 3.0.1

    cheers Jean-Pierre

    #335317
    This reply has been marked as private.
    #335312

    In reply to: Main Menu not working

    Hi!

    Can you please update Enfold to the latest version 3.0.1 via FTP – http://vimeo.com/67209750
    and update WordPress to version 4.0.
    Please also try to increase the allocated memory to 128M: http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP
    You can contact your service provider and they can do it for you.

    Cheers!
    Yigit

    #335110
    vidaelf
    Participant

    Hi-
    This weekend I was flooded with errors like this:
    [Fri Oct 10 08:20:17 2014] [error] [client 10.10.1.134] PHP Warning: json_encode(): Invalid UTF-8 sequence in argument in /var/www/wp-content/themes/enfold/config-layerslider/LayerSlider/views/slider_edit_posts.php on line 37, referer: http://www.insightpd.com/wp-admin/admin.php?page=layerslider

    It filled up my cache and crashed my database. It happened twice.

    Do you have any idea why this is happening? What info would you need to look into this. I have to physically be here to rest everything, so if it happens off hours, our site is just down until I can get here. We just launched and are getting traffic, so we can’t afford to have ti down.

    It’s not tons of traffic, btw. Maybe 130 sessions a day?

    insightpd.com

    Please advise!! Thanks!

    #334824

    In reply to: Make hotspots links

    Hi!

    I dreamed using hotspots with images as many other users. I voted for this functions at the Feature Request Page, but in meantime I have to find some kind of solution. Thanks for flexibility and power of this theme it was quite easy.

    If you are eager to use links with hotspot before new feature will be part of Enfold template, please follow this simple guide:

    • First, you have to use Child Template in your installation. If you are not using this, please reconsider this decision again. Working with Child Templates give power of all new features with flexibility of “own” theme
    • Please download two files form Gist: https://gist.github.com/gdometrics/fc5e03a6f05845746a18 image_hotspots.php and functions.php
    • In your child directory create new folder “shortcodes
    • Please upload file image_hotspots.php into folder “shortcodes
    • Please update or create file functions.php in main folder of child template with content form downloaded file functions.php
    • Please test you new hotspots with links :-)

    If everything goes smoothly, you will find two new fiels, during creation of hotspot:

    • Hotspot Link – where you can writedown you link
    • Open in new windows? – checkbox, if you select it – link willbe open in new windows.

    Please try and hope for the best.

    Grzegorz Domagala
    Hotspot was used at page http://customercentric.pl

    #334792

    Hi, this is urgent:
    I added whats written above from #324190 REPLY;
    Than the error was as follows:

    Parse error: syntax error, unexpected ‘\’ (T_NS_SEPARATOR), expecting ‘)’ in /home/.sites/47/site6089695/web/wp-content/themes/enfold/functions.php on line 504

    I deleted the addes lines, and the error is the same, with line 504 not even existing; now the whole site is unavailable with this error!
    http://www.tcm-team.at

    manfred

    Hey Dominik!

    Thank you for using Enfold.

    From what I understand, you want the same logo like the Kriesi site. You can add this on functions.php:

    add_filter('avf_logo_subtext', 'kriesi_logo_addition');
    
    function kriesi_logo_addition($sub) {
    	$sub .= "<strong class='logo-title'>Company Name</strong>";
    	$sub .= "<strong class='logo-title logo-subtitle'>Additional Text Here</strong>";
    	return $sub;
    }

    Adjust the position of the subtext with this on Quick CSS or custom.css:

    .logo, .logo a {
    overflow: visible;
    width: 100%;
    }
    
    span.subtext {
    position: absolute;
    top: 0;
    left: 200px;
    }

    Use this for the subtext transition:

    #top .logo-title {
    transition: opacity 0.4s ease-out;
    -moz-transition: opacity 0.4s ease-out;
    -webkit-transition: opacity 0.4s ease-out;
    -o-transition: opacity 0.4s ease-out;
    font-size: 12px;
    color: #000;
    position: absolute;
    left: 7px;
    top: -7px;
    opacity: 1;
    white-space: nowrap;
    }
    
    #top .header-scrolled .logo-title {
    opacity: 0;
    filter: alpha(opacity=0);
    }

    Cheers!
    Ismael

    Hi stephenr_nl!

    Thank you for using Enfold.

    The title popup is default browser feature. You can replace the image title manually on Media > Library panel. Or you can edit config-templatebuilder > avia-shortcodes > masonry_entries.php. Find this code on line 578:

    $items .= 	"<{$html_tags[0]} class='{$class_string}' {$linktitle} {$markup}>";
    

    Replace it with:

    $items .= 	"<{$html_tags[0]} class='{$class_string}' title='{$content}' {$markup}>";
    

    Make sure that you keep a change log of this modification or use a child theme.

    Cheers!
    Ismael

    #334547

    In reply to: Portfolio sort

    This reply has been marked as private.
    #334472

    In reply to: Translate the theme

    Hi eymata!

    1) mo files will not translate the page/post content, the menu(s) and widgets. You need to use WPML if you want to translate these things. mo files will only help you to translate hardcoded text strings which are part of the theme php files (i.e. like the word “search” in the search form).

    2) You can use this plugin: to translate the widgets: https://wordpress.org/plugins/display-widgets/

    3) For the menus please read this article: http://wpml.org/documentation/getting-started-guide/translating-menus/

    Cheers!
    Peter

    #334426
    mathysjp
    Participant

    I update Enfold from 2.9.2 to 3.0.1
    I can’t edit my front page (the home site) anymore.

    Warning: extract() expects parameter 1 to be array, null given in /home/httpd/vhosts/blog.swiss-paracord.ch/httpdocs/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/productslider.php on line 203

    Fatal error: Call to undefined function woocommerce_product_subcategories() in /home/httpd/vhosts/blog.swiss-paracord.ch/httpdocs/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/productslider.php on line 274

    I used the advanced Layout editor. I think the problem is the woocommerce product slider.

    How can I fix that?
    PS: I can’t switch back to the standard editor, the button don’t work.

    #334339
    #334222

    Hi!

    If you want to change the layout of the category page featured image, you can edit config-woocommerce > config.php. Find this code on line 718:

    if(is_product_category())
    	{
    		global $wp_query;
    		$image	= "";
    		if(isset($wp_query->query_vars['taxonomy']))
    		{
    			$term 			= get_term_by( 'slug', get_query_var($wp_query->query_vars['taxonomy']), $wp_query->query_vars['taxonomy']);
    
    			if(!empty($term->term_id))
    			{
    				$attachment_id 	= get_woocommerce_term_meta($term->term_id, 'thumbnail_id');
    
    				if(!empty($attachment_id))
    				{
    					$image = wp_get_attachment_image( $attachment_id, $image_size, false, array('class'=>'category_thumb'));
    					if($image) echo "<div class='page-thumb'>{$image}</div>";
    				}
    			}
    		}
    	}

    This is line of code is specifically responsible for the category featured image:

    if($image) echo "<div class='page-thumb'>{$image}</div>";
    

    Cheers!
    Ismael

    #334186

    Topic: site loading speed

    in forum Enfold
    Vermishelle
    Participant

    Hello,

    Could you please invest some efforts to speed up the appearance of enfold sites? In my case, on http://www.skorosvadba.ru I have fullscreen slider on top of the main page, and seems to load the last: http://www.webpagetest.org/video/view.php?id=141011_NN_7SE.1.0

    1) Can you do the opposite, make the fullscreen slider (or whatever is on top of a particular enfold site page) load first, so it will visually appear faster?
    2) Google pageSpeed Insights service says visual content is deferred by javascript and css loading. Can you fix that?

    #333736

    Hello,
    after updating from 3.00 to 3.01 my site doesn’t work. In front- and backend you can see this:

    Warning: require_once(config-bbpress/config.php) [function.require-once]: failed to open stream: No such file or directory in /homepages/34/d13445277/htdocs/hp/wp-content/themes/enfold/functions.php on line 403

    Fatal error: require_once() [function.require]: Failed opening required ‘config-bbpress/config.php’ (include_path=’.:/usr/lib/php5′) in /homepages/34/d13445277/htdocs/hp/wp-content/themes/enfold/functions.php on line 403

    The site is called http://www.sc-selters.de

    Thanks for help!

    Parse error: syntax error, unexpected ‘&’, expecting ‘]’ in /wp-content/themes/enfold/functions-enfold.php on line 796

    Hey!

    Try the following: open /enfold/functions-enfold.php and look for line 796:

    $post_id 	= function_exists('avia_get_the_id') ? avia_get_the_id() : get_the_ID();
    

    Add this below:

    if($post_id == 2) $settings['header_position'] = 'header_left header_sidebar';
    

    Change “2” by the ID of your about page.

    Cheers!
    Josue

    #333460
    SveMaTec
    Participant

    Hallo,
    ich habe heute Enfold über die automatische Update-Funktion von 3.00 auf 3.01 geupdated. Während des Update hat sich die Seite aufgehangen. Nun kommt im Front- und Backend nur noch folgende Anzeige:

    Warning: require_once(config-bbpress/config.php) [function.require-once]: failed to open stream: No such file or directory in /homepages/34/d13445277/htdocs/hp/wp-content/themes/enfold/functions.php on line 403

    Fatal error: require_once() [function.require]: Failed opening required ‘config-bbpress/config.php’ (include_path=’.:/usr/lib/php5′) in /homepages/34/d13445277/htdocs/hp/wp-content/themes/enfold/functions.php on line 403

    Die Seite heist http://www.sc-selters.de

    Danke für Eure Hilfe!

Viewing 30 results - 15,121 through 15,150 (of 16,895 total)