Viewing 30 results - 14,911 through 14,940 (of 16,896 total)
  • Author
    Search Results
  • Thanks, Elliot. After trial and error I ended up adding this just after the lines you mentioned:

    /enfold/config-templatebuilder/avia-shortcodes/portfolio.php:474:
    $output .= get_post_meta( $entry->ID, "wpcf-fieldname", true );

    /enfold/includes/loop-portfolio-single.php:28:
    echo get_post_meta( get_the_ID(), "wpcf-fieldname", true );

    And it works.

    #362198

    In reply to: Image Sizes

    Hi advancetogo!

    You can find image sizes in Functions.php file in Appearance > Editor

    $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
    

    Regards,
    Yigit

    #362179

    Topic: margin issue

    in forum Enfold
    alexoua
    Participant

    Hi,

    I add this code on the helper-main-menu.php :

    <?php if(function_exists(“transposh_widget”)) { transposh_widget(array(), array(‘widget_file’ => ‘flags/tpw_flags.php’)); }?>

    just bellow the line 87-88 : if($headerS[‘header_position’] != “header_top”) do_action(‘ava_main_header_sidebar’);

    My matter is that now, the margin between the main menu and the main content is smaller than before. Here is a link where you see that : https://www.dropbox.com/s/4b03mjz45eda8ax/Les_Actus_Sisters_G_-_Sisters_G_et_Microsoft_Word.jpg?dl=0

    Can you please tell me how to keep the same margin between the main menu and the main content as it was before I add my code for the online translation.

    Thanks a lot !

    Alexandra

    #362118

    Hey Elliot,

    the “social Icons” are the 3 carlogos (Audi, VW…)
    And if you stay with the mouse on one logo i see the linktext “Tumblr, Vimeo, Xing…”

    I have tested this but it did not worked:

    In includes/helper-social-media.php line 73 you can add add a title by changing it to this:

    http://pastie.org/8426955

    Thnaks in advance, Jan

    • This reply was modified 11 years, 4 months ago by b00p.
    #362112
    Chris
    Participant

    Hello Support-Team,

    is it possible? Am I the first one that receives such an error? I searched the forum but didn’t find anything similar.
    Here’s what I get:

    Couldn’t add the font.
    The script returned the following error:

    Fatal error: Class ‘ZipArchive’ not found in …/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/font-manager.class.php on line 107

    As descripted in this video http://kriesi.at/archives/enfold-version-2-3-say-hello-to-our-new-iconfont-uploader I tried to upload some more icons. This doesn’t work with the named errorcode. Could you please help me?

    Thanks in advance,
    Chris

    #361927

    Hi adrianwackernah!

    Thank you for using Enfold.

    You can edit config-templatebuilder > avia-shortcodes > masonry_entries.php, find this code on line 797:

    if($product->is_on_sale( )) $this->loop[$key]['text_after'] .= '<span class="onsale">'.__( 'Sale!', 'avia_framework' ).'</span>';
    

    Replace the Sale text. You can also use the codestyling localization plugin to translate the string if you don’t want to edit the file.

    Best regards,
    Ismael

    #361857

    Hi amolson7!

    Open up /enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php and change line 704 from this.

    $this->loop[$key]['url']			= get_permalink($id);
    

    To this.

    $this->loop[$key]['url']			= wp_get_attachment_image_src(get_post_thumbnail_id($id), apply_filters('avf_avia_builder_masonry_lightbox_img_size','large'));
    $this->loop[$key]['url'] = reset($this->loop[$key]['url']);
    

    That will have the masonry element images open in lightbox instead of linking to the post.

    Cheers!
    Elliott

    Hey!

    You can see where we display the excerpt on line 473 in /enfold/config-templatebuilder/avia-shortcodes/portfolio.php.

    $output .= !empty($excerpt) ? "<div class='grid-entry-excerpt entry-content' ".avia_markup_helper(array('context'=>'entry_content','echo'=>false, 'id'=>$the_id, 'custom_markup'=>$custom_markup)).">".$excerpt."</div>" : '';
    

    For the single portfolio view you can find that on line 27 in /enfold/includes/loop-portfolio-single.php.

    the_content(__('Read more','avia_framework').'<span class="more-link-arrow">  &rarr;</span>');
    

    Cheers!
    Elliott

    • This reply was modified 11 years, 4 months ago by Elliott.
    #361241

    Hi!

    please refer to this post: https://kriesi.at/support/topic/how-can-i-show-the-feature-image-on-category-page/#post-340867 and as Ismael wrote add this to functions.php:

    add_filter('avf_blog_style','avia_change_archive_blog_layout', 10, 2); 
    function avia_change_archive_blog_layout($layout, $context){
    if($context == 'archive') $layout = 'multi-big';
    return $layout;
    }
    

    Hope that helps.

    Regards,
    Andy

    #361178
    This reply has been marked as private.
    #361048

    In reply to: SEND GRID integration

    Hi!

    Perhaps your looking for line 710 in /enfold/framework/php/class-form-generator.php.

    $header = 'Content-type: text/html; charset=utf-8' . "\r\n";
    

    Regards,
    Elliott

    #361007

    Hi Annemarie!

    Is Oswald a font your using in Dashboard > Enfold > General Styling? I see Titillium being linked to but not Oswald in your site. If your just using CSS and not using it at all in Dashboard > Enfold > General Styling then you’ll need to link to the font file. Try adding this to the bottom of your functions.php file.

    add_action( 'wp_head', 'enfold_customization_add_font' );
    function enfold_customization_add_font(){
    ?>
    <link href='http://fonts.googleapis.com/css?family=Oswald:400,700,300' rel='stylesheet' type='text/css'>
    <?php
    }

    Best regards,
    Elliott

    • This reply was modified 11 years, 4 months ago by Elliott.
    #360910
    This reply has been marked as private.

    Hey!

    I’m sorry but we only rely on other users to translate the theme. This is why some of the language file (po/mo) are not fully complete. Actually, you can translate the theme options but you need to manually edit the .po file using PO Edit software or any text editor. For example, if you want to edit the Theme Options string, add this on the .po file located on the lang folder of the theme:

    #: includes/admin/register-admin-options.php:7
    #@ avia_framework
    msgid "Theme Options"
    msgstr "YOUR TRANSLATION HERE"

    Go to the Codestyling Localization plugin panel. Rescan the language that you edit. Search for Theme Options, it should be translated. Please refer to this link for more info: https://www.gnu.org/software/gettext/manual/html_node/PO-Files.html

    Cheers!
    Ismael

    #360420

    Topic: Strange errors

    in forum Enfold
    sunworx
    Participant

    Hello!

    I was adding come column shortcodes to format some text and this error message now appears.

    ————————————————
    Warning: session_start(): Cannot send session cache limiter – headers already sent (output started at /home2/sunworx/public_html/puntademita-realestate.com/helpe.php:3) in /home2/sunworx/public_html/puntademita-realestate.com/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 32
    ————————————————

    I wan’t doing any masonry things.

    This is the page I was working on.
    http://www.puntademita-realestate.com/haciendademita701/

    Any ideas? :)

    p.s. I love you Enfold!

    #360175

    Hey Marc!

    Try opening up /enfold/includes/loop-index.php and change line 37 from this.

    $current_post['slider']  	= get_the_post_thumbnail($current_post['the_id'], $size);
    

    To this.

    $current_post['slider']  	= get_the_post_thumbnail($current_post['the_id'], 'full');
    

    Regards,
    Elliott

    #360041
    erhabi
    Participant

    Hi !

    Here’s a link to the project I am working on.

    I have added in a tagline div based on a thread here at the forum using the functions.php in the child theme folder.

    add_action( 'ava_main_header', 'enfold_customization_add_tagline' );
    function enfold_customization_add_tagline() {
    	echo '<div class = "tagline">'.get_bloginfo ( 'description' ).'</div>';
    }

    And the corresponding css style in the quick css box in General Styling is:

    .tagline {
    margin: 10px;
    position: absolute;
    top: 190px; right: 200px;
    z-index: 1000;
    color: #666666; 
    }

    However, when accessed through a mobile the tagline doesnt disappear and it just remains there, eventhough I have added the following code in custom.css (copied from the main theme into the child theme folder):

    @media only screen and (max-width: 767px) {
      /* Add your Mobile Styles here */
      .tagline {
      display: none;
      }
    }

    Ideally I would like to re-adjust the logo and the tagline in a mobile display too, similar to how it appears on a computer screen (since it looks awful on mobile), but no matter what I do it just doesnt display. Tried SHIFT+F5 as well and that also doesn’t seem to work.

    Any help would be appreciated it.

    #359733

    Hi Pearwcz!

    The images that are created are all thumbnails so their filesize will be very small (depending on where your using them, slider images will be larger). In total it should be only about 300 – 500 extra KB per image you upload.

    If you still want to get rid of them though then open up /enfold/functions.php and you can find the sizes starting on line 99.

    $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

    You can change them there or delete them.

    Best regards,
    Elliott

    #359700

    Hi taikuli!

    Yes that is intended. Sticky posts are not compatible with sorting. You can change the query on line 879 in /enfold/config-templatebuilder/avia-shortcodes/masonry-entries.php from this.

    $query = array(	'orderby' 	=> 'date',
    				'order' 	=> 'DESC',
    				'paged' 	=> $page,
    				'post_type' => $params['post_type'],
    				'post_status' => 'publish',
    				'offset'	=> $params['offset'],
    				'posts_per_page' => $params['items'],
    				'tax_query' => array( 	array( 	'taxonomy' 	=> $params['taxonomy'],
    												'field' 	=> 'id',
    												'terms' 	=> $terms,
    												'operator' 	=> 'IN')));
    

    To this.

    $query = array(	
    				'post_type' => $params['post_type'],
    );
    

    But that will disable a lot of Masonry features.

    Best regards,
    Elliott

    • This reply was modified 11 years, 4 months ago by Elliott.
    #359524

    Hello,

    Something seems to be wrong with the WPML in my site, maybe I made a mistake when I updated the new version. Always when I introduce a change at the WPML set up panel appears this kind of messages:
    Fatal error: Call to undefined function mb_strtolower() in /home/souvenir/public_html/nou/wp-content/plugins/sitepress-multilingual-cms/inc/hacks/missing-php-functions.php on line 167

    I reinstalled the plugin but the problem persists, I don’t how to solve it.

    Thank you!!
    David!!

    #359491
    This reply has been marked as private.
    #359472

    In reply to: Custom category image

    This reply has been marked as private.
    #359247
    BeeCee
    Participant

    Hi,

    I found this advice here how to change the excerpt of blog posts:
    https://kriesi.at/support/topic/how-to-increase-lenght-of-excerpt/

    But this has simply no effect in my case (site is under construction!).

    I have created a page using the AviaLayoutArchitect and the “blog posts” element:


    But the excerpt length does not change at all, when I add this to the functions.php; yes, I have added a long enough post text for it and the posts does not have an own custom excerpt defined.

    add_filter('avf_postgrid_excerpt_length','avia_change_postgrid_excerpt_length', 10, 1);
    function avia_change_postgrid_excerpt_length($length)
    {
       $length = 300;
       return $length;
    }

    Any idea please? Thanks!

    #359229

    Hey!

    You can add the read more link manually on the preview content editor or edit config-templatebuilder > avia-shortcodes > portfolio.php. Find this code on line 672:

    $output .= "<div class='entry-content-wrapper entry-content' ".avia_markup_helper(array('context' => 'entry_content','echo'=>false, 'id'=>$id, 'custom_markup'=>$this->atts['custom_markup'])).">";
    						$output .= $content;
    

    Replace it with:

    $output .= "<div class='entry-content-wrapper entry-content' ".avia_markup_helper(array('context' => 'entry_content','echo'=>false, 'id'=>$id, 'custom_markup'=>$this->atts['custom_markup'])).">";
    						$output .= $content;
    						$output .= "<span class='portfolio-read-more'><a href='{$link}'>Read More</a></div>";
    

    Please create a change log of these changes in case you update the theme.

    Regards,
    Ismael

    #359208

    Hey Rhoody!

    Try changing line 72 in sidebar.php:

    if (dynamic_sidebar('Displayed Everywhere')) : $default_sidebar = false; endif;
    

    Regards,
    Josue

    alamedawaterpolo
    Participant

    Hi there,

    I Use WooCommerce and various other associated plugins, however I recent;y have been unable to edit, view, or add categories or tags from the product screen.

    Has anyone else seen this issue?
    //Joel//

    Enfold 3.0.2

    WC Version: 2.2.8
    WC Database Version: 2.2.8
    WP Version: 4.0.1
    WP Multisite Enabled: No
    Web Server Info: Apache
    PHP Version: 5.5.17
    MySQL Version: 5.5.32
    WP Active Plugins: 45
    WP Memory Limit: 128 MB
    WP Max Upload Size: 100 MB
    PHP Post Max Size: 100 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 2000
    SUHOSIN Installed: No
    SOAP Client: Your server has the SOAP Client class enabled.

    Advanced Custom Fields by Elliot Condon version 4.3.9,
    Akismet by Automattic version 3.0.3,
    The Events Calendar PRO by Modern Tribe, Inc. version 3.7,
    Game Locations by Mark O’Donnell version 1.3,
    MailChimp for WordPress Lite by Danny van Kooten version 2.1.6,
    MiwoFTP by Miwisoft LLC version 1.0.3,
    P3 (Plugin Performance Profiler) by GoDaddy.com version 1.5.3.1,
    Simply Instagram by Rolly G. Bueno Jr. version 1.2.6,
    The Events Calendar Category Colors by Andy Fragen, Barry Hughes version 3.9.1,
    The Events Calendar by Modern Tribe, Inc. version 3.8.1,
    Theme My Login by Jeff Farthing version 6.3.10,
    Twitter Widget by Sean Spalding version 1.0.4,
    UpdraftPlus – Backup/Restore by UpdraftPlus.Com, DavidAnderson version 1.9.31.1,
    Visser Labs Updater by Visser Labs version 1.1,
    Woo Deposits Payment Recipes by Webatix version 1.0.1,
    WooCommerce Admin Bar Addition by David Decker – DECKERWEB version 2.7.0,
    WooCommerce Checkout Field Editor by WooThemes / Mike Jolley / Patrick Garman version 1.2.6,
    WooCommerce Custom Price by Azh Setiawan version 0.2.2,
    WooCommerce Customer/Order CSV Export by SkyVerge version 3.7.0,
    WooCommerce Customizer by SkyVerge version 2.0.1,
    WooCommerce Debug Bar by Coen Jacobs version 0.1,
    WooCommerce Direct Checkout by Terry Tsang version 1.0.9,
    WooCommerce – Store Exporter Deluxe by Visser Labs version 1.8.6,
    WooCommerce Google Analytics Integration by WooThemes version 1.3.0,
    WooCommerce MailChimp Subscribe by John Turner version 1.0.5,
    WooCommerce MailChimp by Adam Anderly version 1.3.2,
    Woo Deposits by Webatix version 1.0.4,
    WooCommerce Product Add-ons by WooThemes version 2.6.7,
    WooCommerce Product CSS3 Tags by Terry Tsang version 1.0.4,
    WooCommerce Quick Export Plugin by MB Création version 2.0,
    WooCommerce – Store Toolkit by Visser Labs version 1.4.6,
    WooCommerce Terms & Conditions Popup by Patrick Rauland version 1.0.1,
    WooCommerce by WooThemes version 2.2.8,
    WooThemes Helper by WooThemes version 1.3.0,
    The Events Calendar: WooCommerce Tickets by Modern Tribe, Inc. version 3.7,
    Wordfence Security by Wordfence version 5.3.3,
    WordPress SEO by Team Yoast version 1.7.1,
    WP-Memory-Usage by Alex Rabe version 1.2.2,
    WP-Options by Norman Stanke version 0.7,
    WP Instagram Images Widget by Eduardo Stuart version 2.0.3,
    Yelp Reviews Ticker by Flavio Domeneck Jr version 2.1,
    Yelp Widget Pro by Devin Walker version 1.4.1

    #358855

    In reply to: Font weight

    Hey studiotopo!

    Thank you for using Enfold.

    Which font are you trying to use? You can use this filter on functions.php, below line 16:

    add_filter( 'avf_google_heading_font',  'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['Open Sans 2'] = 'Open Sans:300italic,400italic,600italic,700italic,800italic,700,300,600,800,400'';
    return $fonts;
    }
    
    add_filter( 'avf_google_content_font',  'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    $fonts['Open Sans 2'] = 'Open Sans:300italic,400italic,600italic,700italic,800italic,700,300,600,800,400'';
    return $fonts;
    }

    Select Open Sans 2 on Enfold > General Styling > Fonts panel.

    Cheers!
    Ismael

    #358514

    In reply to: image sizes in enfold

    Hey chryseis!

    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

    If you would like to change sizes, please regenerate thumbnails after that using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/
    Regards,
    Yigit

    #358330
    chymor
    Participant

    Wordpress was updated to 4.0.1 automatically and there were no problems.
    When I updated Enfold to the latest version, any attempt to access my site resulted in:

    Fatal error: Out of memory (allocated 31195136) (tried to allocate 50 bytes) in /homepages/31/d178069260/htdocs/np/wp-content/plugins/all-in-one-event-calendar/vendor/lessphp/lessc.inc.php on line 1386

    I have disabled the plugin and the site is otherwise fine. Can you identify the issue?

    #358200

    In reply to: PNG Upload Issue

    It’s very strange, maybe the server isn’t capable of resizing all the Enfold image sizes at once and it times out, remove this lines from the theme functions.php and try re-uploading it:

    $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
    

    Regards,
    Josue

Viewing 30 results - 14,911 through 14,940 (of 16,896 total)