Viewing 30 results - 14,791 through 14,820 (of 16,896 total)
  • Author
    Search Results
  • #377507

    Hey simonefiorucci!

    Open up /enfold/functions-enfold.php and find lines 357 – 366.

    if(version_compare($settings['wpversion'], '3.8', '>=' ))
    {
    	$entries['prev'] = get_previous_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
    	$entries['next'] = get_next_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
    }
    else
    {
    	$entries['prev'] = get_previous_post($settings['same_category']);
    	$entries['next'] = get_next_post($settings['same_category']);
    }
    

    And change it to this.

    if(version_compare($settings['wpversion'], '3.8', '>=' ))
    {
    	$entries['next'] = get_previous_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
    	$entries['prev'] = get_next_post($settings['same_category'], $settings['excluded_terms'], $settings['taxonomy']);
    }
    else
    {
    	$entries['next'] = get_previous_post($settings['same_category']);
    	$entries['prev'] = get_next_post($settings['same_category']);
    }
    

    Regards,
    Elliott

    saremcdee
    Participant

    Hi there,

    I was following the instructions as per this thread:https://kriesi.at/support/topic/new-custom-font/ to add a custom font. I followed the final action as the Oswald google font I was after didn’t show up in the drop down and this has now happened to my website, I can’t access it at all.

    I would give you my login for wordpress but I can’t access the dashboard anymore :( Please help

    #377291

    Fatal error: Call to undefined function dd_action() in /home/.sites/498/site1487/web/aj/wp-content/themes/enfold-child/functions.php on line 8

    Diese Meldung errscheint wenn ich den Blog aufrifen will. Ich lösche die Daten wieder per FTP Client aus der funtions.php

    So hat der Code ausgesehen (hat eben nicht funktiniert!):

    <?php

    /*

    * Add your own functions here. You can also copy some of the theme functions into this file.

    * WordPress will use those functions instead of the original functions then.

    */

    dd_action(‘ava_after_content’, ‘avia_add_social_toolbar’, 10, 2);

    function avia_add_social_toolbar($id = “”, $context = “”)

    {

    if($context == “single-portfolio”)

    avia_social_share_links();

    }

    #376958

    1. I first tried adding only the line above “max_input_vars = 3000” to an otherwise empty file called php.ini in the wp-admin folder. Stopped and restarted MAMP. Tried to add additional menu item. FAIL

    2. Then I added the PHP brackets around the max var statement. Stopped and restarted MAMP. Tried to add additional menu item. FAIL

    3. Then I added [PHP] before the max var statement. Stopped and restarted MAMP. Tried to add additional menu item. FAIL

    I have 70 menu items and cannot add more. If I drag a new item up under another main button, then the bottom menu item dissappears.

    As soon as I have it online I will give you the URL,

    #376598

    Hi Yigit,

    Little confused if I have done this correct as I see no change ? Should I have to do anything additionally to see the fonts within the slideshow the bolder weight ?

    I added the code to the bottom of the page within the editor:
    Theme Functions
    (functions.php)
    ———————————
    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Raleway’] = ‘Raleway:300,400,700,,800,300italic,400italic’;
    return $fonts;
    }

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {

    $fonts[‘Raleway’] = ‘Raleway:300,400,700,800,300italic,400italic’;
    return $fonts;
    }
    ———————————————–
    I don’t see Raleway in the fonts dropdown within the list of Google fonts

    Thanks for your help

    #376546

    Hey jhop75!

    You can find the ending body tag on line 184 in the footer.php file.

    </body>
    

    You can use the codeblock element to add code to single pages.

    Best regards,
    Elliott

    Hi!

    To make images perfect circle, they should be perfect square before applying custom CSS code. You can go to Appearance > Editor and open Functions.php file and find image sizes and adjust them as needed

    
    $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

    After changing size, please do not forget to regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/
    Cheers!
    Yigit

    #376329

    Hey alanboyle5355!

    This would take a lot of time and code and would have to be considered custom work. It would be best to hire a freelancer to help you out with this customization.

    Or if you wish to try and work it out on your own then you can see where we submit the email on line 721 in /enfold/framework/php/class-form-generator.php.

    wp_mail($send_to_mail, $subject, $message, $header);
    

    Regards,
    Elliott

    #376072

    Hi Ismael,

    we try it…. but the custom.css was still in the head area.
    But we include this function:
    add_action( ‘wp_print_styles’, ‘child_overwrite_styles’, 10 );
    function child_overwrite_styles() {
    wp_deregister_style( ‘avia-custom’ );
    }
    And now custom.css is not more in the head area!

    And own files from the parent theme in folders inside the child folder are not active!
    For example …. framework/php/auto-updates/auto-updates.php …. In this file we comment out line 117.
    This is the navigation in the backend theme options.
    In the wp codex http://codex.wordpress.org/Child_Themes#Template_Files you can read the rules.
    But we have no chance to change anything.

    May be …. Are we have to change the Template Hirarchy?
    I think it is only possible to change the frontend files … and not more?

    Regards
    Biggy

    • This reply was modified 11 years, 3 months ago by Biggy.
    #376032
    sharonAlR
    Participant

    Hi

    I want to add my own icons to use in icon lists, boxes, menu items and more.
    Searching the documentation and forum, I understand this is only possible by creating and uploading a new icon-font.

    When searching how to do this, I found either
    1) This video (http://vimeo.com/channels/aviathemes/75743285) in which an iconfont manager is used – but I can’t find the manager in my theme settings (using ENFOLD 3.0.4)
    OR
    2) This code snippet to place in functions.php (I’m working with a child theme): https://kriesi.at/support/topic/change-standard-icon-doesnt-work-child-theme/ but it seems to replace specific icons while what I want is to add more icons, not replace existing ones.

    Please advise. If I’m working with a child theme under ENFLOD 3.0.4 how can I import additional icons to be used in theme elements.

    Thanks,
    Sharon

    #375889

    Hey youtea!

    You should have the comments and the date displayed there. Are you disabling them in Dashboard > Enfold > Blog Layout?

    The categories customization is kind of bordering on custom work but I looked into it anyway. Try opening up /enfold/includes/loop-index.php and find line 177.

    if(!empty($cats))
    

    Add this above it.

    $post_categories = wp_get_post_categories( $the_id );
    $cats = '';
    	
    foreach($post_categories as $c){
    	$cat = get_category( $c );
    	$cat = get_categories( 'child_of='.$c );
    	foreach ( $cat as $ca ) {
    		$cats .= '<a href = "'.get_category_link($ca->ID).'">'.$ca->name.'</a>'; 
    	}
    }

    Best regards,
    Elliott

    #375876
    This reply has been marked as private.
    #375857

    Hi!

    Try opening up /enfold/single.php and find line 47.

    <!--end content-->
    

    Add this above it.

    <?php avia_social_share_links(); ?>
    

    Regards,
    Elliott

    #375845

    Hey!

    Open up /enfold/config-templatebuilder/avia-shortcodes/postslider.php and find line 372.

    $output .= !empty($title) ? "<h3 class='slide-entry-title entry-title' $markup><a href='{$link}' title='".esc_attr(strip_tags($title))."'>".$title."</a></h3>" : '';
    

    Add this beneath it.

    $output .= $permalink;
    

    Best regards,
    Elliott

    #375821

    In reply to: Enfold video problem

    Hey!

    Try commenting out line 273 in /enfold/functions.php.

    //wp_enqueue_script( 'wp-mediaelement' );
    

    Cheers!
    Elliott

    #375798

    Hi!

    Try commenting out line 1047 in /enfold/framework/php/function-set-avia-frontend.php.

    $excerpt = preg_replace("!\s\[...\]$!", '...', $excerpt);
    

    If that does not work then try changing line 561 in /enfold/framework/php/function-set-avia-backend.php from this.

    function avia_backend_truncate($string, $limit, $break=".", $pad="...", $stripClean = false, $excludetags = '<strong><em><span>', $safe_truncate = false)
    

    To this.

    function avia_backend_truncate($string, $limit, $break=".", $pad="[...]", $stripClean = false, $excludetags = '<strong><em><span>', $safe_truncate = false)
    

    Regards,
    Elliott

    #375790

    Hi enricospada!

    Your probably looking for line 772 in the slideshow.php file.

    if(trim($title) != "")   $title 	= "<h2 {$title_styling} class='avia-caption-title' $markup_name>".trim(apply_filters('avf_slideshow_title', $title))."</h2>";
    

    Best regards,
    Elliott

    This reply has been marked as private.
    #375445

    Thanks Yigit,

    I added that code to my child themes function.php…

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

    Then I had to add some CSS to put it in the proper place.

    .subtext {
    	float:left; 
    	position: relative;
    }
    
    .logo img {
    	float:left;
    }
    
    .logo, .logo a {
    	overflow: visible;
    }
    
    .logo-title{  
    	font-size: 20px; 
    	color: #000; 
    	position: absolute; 
    	left:7px; 
    	top:5px; 
    	white-space: nowrap;	 
    } 

    Thanks for your help.

    #375341

    Hi!

    Try opening up /enfold/config-templatebuilder/avia-shortcodes/image.php and change line 287 from this.

    $output.= "<a href='{$link}' class='avia_image'  {$blank}>{$overlay}<img class='avia_image ' src='{$src}' alt='{$alt}' title='{$title}' $markup_url /></a>";
    

    To this.

    $output.= "<a href='{$link}' class='avia_image'  {$blank}><img class='avia_image ' src='{$src}' alt='{$alt}' title='{$title}' $markup_url />{$overlay}</a>";
    

    Best regards,
    Elliott

    #375284
    sunshineh
    Participant

    Hi,
    I have tested the accordion-slider on my webside and get the folllowing error message
    Notice: Undefined property: stdClass::$ID in /mnt/.../wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_accordion.php on line 575 Notice: Undefined property: stdClass::$ID in /.../wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_accordion.php on line 576 Notice: Undefined property: stdClass::$ID in /.../wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_accordion.php on line 575 Notice: Undefined property: stdClass::$ID in /.../wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_accordion.php on line 576 Notice: Undefined property: stdClass::$ID in /..../wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_accordion.php on line 575 Notice: Undefined property: stdClass::$ID in /.../wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_accordion.php on line 576

    What can I do?

    #375279

    Hi!

    You can copy the 404.php file to your child theme folder and then replace lines 27 – 31.

    <?php
    
    get_template_part('includes/error404');
    
    ?>
    

    With the code in the error404.php file.

    Best regards,
    Elliott

    #375181

    In reply to: Problems with WP 4.1

    Hi!

    I tried both sets of login information but it’s not letting me in.

    I downloaded your video from your page but it’s happening on my XAMPP setup as well. What happens when you comment out line 273 in /enfold/functions.php ?

    //wp_enqueue_script( 'wp-mediaelement' );
    

    EDIT: Hmm, perhaps the version of mediaelementjs that ships with WordPress was recently updated and the skin we are using in /js/mediaelement/skin-1/ is outdated. When I updated the CSS and images from the mediaelement.js version 2.16.3 folder, http://mediaelementjs.com/, it seemed to work fine. I’ll flag this for the rest of our team to take a look.

    Best regards,
    Elliott

    • This reply was modified 11 years, 3 months ago by Elliott.
    #375092

    Hi!

    – Please download fresh copy of WordPress here – https://wordpress.org/
    – Open it and go to wp-includes folder and copy functions.php file
    – Using goDaddy cPanel, go to /home/totalgolftravel/public_html/wp-includes folder and upload functions.php file you copied on the previous step and overwrite existing one.

    That should fix the issue. If it does not, please try updating the theme via FTP and make sure to overwrite all files – http://vimeo.com/67209750

    Cheers!
    Yigit

    Hi!

    Use this to move the navigation:

    .woo-product-previous {
    position: absolute;
    top: 150px;
    right: 0;
    z-index: 1000;
    }

    Regarding the title, add this on functions.php:

    add_filter('wp_footer', 'avf_product_title', 10);
    function avf_product_title() { ?>
    <script>
    (function($){
        $(window).load(function(){
    		if ($(window).width() <= 768){
    		var title = $('div.product .product_title');
    		$('.single-product-main-image.alpha').prepend(title);
    		}
    	});
    	
    })(jQuery);
    </script>
    <?php
    }

    Remove browser cache then reload the page.

    Best regards,
    Ismael

    #374894

    Hi eNVyDesigns!

    1. Try putting in this in your .htaccess file:

    # WordPress SEO - XML Sitemap Rewrite Fix
    2
    <IfModule mod_rewrite.c>
    3
    RewriteEngine On
    4
    RewriteBase /
    5
    RewriteRule ^sitemap_index.xml$ /index.php?sitemap=1 [L]
    6
    RewriteRule ^([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 [L]
    7
    </IfModule>
    8
    # END WordPress SEO - XML Sitemap Rewrite Fix
    

    For more information: http://www.wpbeginner.com/wp-tutorials/how-to-fix-yoasts-wordpress-seo-sitemap-404-error/

    2.) I think this is caused my a missing sitemap.

    Best regards,
    Andy

    #374817

    Hola,

    La verdad que aun no logro dar con porque no esta enviando, para no dar mucha vuelta te recomendaria transicionar a CF7 donde si funciona enviar los dos mensajes al mismo tiempo, ya hice varias pruebas yo, ademas aplique unos CSS para que el estilo sea el mismo que el de Enfold, el form también esta duplicado ya, solo tienes que poner este shortcode en un Bloque de Texto en la pagina de contacto:

    [contact-form-7 id=”3887″ title=”Formulario de contacto 1″]

    Saludos,
    Josue

    #374810
    alanboyle5355
    Participant

    Hi,

    Firstly, awesome theme – really, really great.

    There are three things I am trying to do but I’ll split them into 3 posts so they can be found more easily if they are solved.

    I found a post with the following code to change where the featured image is cropped from, but I can’t find it in the functions.php file. Is there a way to do this in a child theme functions.php?

    $avia_config['imgSize']['entry_with_sidebar'] 	= array('width'=>710, 'height'=>270, array(top, center));		                 // big images for blog and page entries
    $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1030, 'height'=>360, array(top, center));						// images for fullsize pages and fullsize slider
    #374749

    Hi stepanjan808!

    please refer to this post: https://kriesi.at/support/topic/overriding-page-php-in-child-theme/#post-226474

    Best regards,
    Andy

    #374398

    Cancel my question. I found it in config/templatebuilder/shortcose/masonry-entries.php

    Just change this line to whatever ratio works:

    ‘auto_ratio’ => 1.7, //equals a 16:9 ratio

Viewing 30 results - 14,791 through 14,820 (of 16,896 total)