Viewing 30 results - 15,481 through 15,510 (of 16,892 total)
  • Author
    Search Results
  • #295088
    niguli
    Participant

    Hi I’m having problem with the accordion slider in this homepage: http://blog.maxitracce.it. Msg errors are:

    Notice: Undefined property: stdClass::$ID in /home/maxitrac/blog/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_accordion.php on line 564

    Notice: Undefined property: stdClass::$ID in /home/maxitrac/blog/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_accordion.php on line 573

    Notice: Undefined property: stdClass::$ID in /home/maxitrac/blog/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/slideshow_accordion.php on line 574

    can you help me (urgent, because the web site is live…). I provide full admin access….

    #294929
    KarenMarrenDesign
    Participant

    Hi there

    Love your theme but having a little issue with getting a filter to fire. We tested using a WP hook/filter for a plugin called Formidable pro on our site using a different theme successfully before copying it over to our client site that uses ENFOLD. We are finding that the hook we are using to modify default behavior for the plugin is not firing

    We have tested the code added to functions.php along with identical setup with three other themes (Avada and Maximus and 2014) and all works as expected. As far as we can tell this is particular to ENFOLD.

    its a very simple little filter that we have used often in other productions with formidable. Its meant to modify/filter the where clause for results looked up by Formidable Pro:

    add_filter(‘frm_where_filter’, ‘starts_with_filter’, 20, 2);
    function starts_with_filter($where, $args){
    if ($args[‘display’]->ID == 6157 and $args[‘where_opt’] == 551){
    $where = str_replace(” ‘%”, ” ‘”, $where);
    }
    return $where;
    }

    This was a little unexpected for us.. we have used ENFOLD for a while and like the theme, however this little problem has us stumped and has left our client in a predicament.

    Any guidance you can offer to ensure this filter fires would be greatly appreciated.

    #294836

    Hi Josue,

    Now the website doens’t work at all. I get the following error:
    Fatal error: Call to undefined function avia_get_header_scroll_offset() in /home/outlouwd/public_html/krugerparksafari.com/wp-content/themes/enfold/css/dynamic-css.php on line 772

    Regards,

    Johan

    #294786

    In reply to: sidebar on home page

    Hi!

    Thank you for using the theme.


    @Guenni007
    : Thank you so much for helping! :)


    @comecdev
    : I fixed the code and you should place it on header.php file, find this code on line 65:

    <div id='wrap_all'>
    

    Below, add this code:

     <?php
        if( is_front_page())
        {
        
        echo do_shortcode('[layerslider id="3"]');
        
        }
    	?>

    Cheers!
    Ismael

    #294760
    This reply has been marked as private.

    Hey!

    We’ll add a filter for the image sizes with the next update. You can use it like:

    
    function my_image_size($sizes)
    {
    $sizes['entry_with_sidebar'] = array('width'=>710, 'height'=>360); // big images for blog and page entries
    return $sizes;
    }
    add_filter('ava_registered_thumbnail_sizes', 'my_image_size', 10, 1);
    

    I added it to your functions.php file manually but the next update will come with this filter out of the box.

    Regards,
    Peter

    #294452

    In reply to: Fatal error

    Hey uniquelylost!

    Please try replacing class-metabox.php file inside Enfold/framework/php folder with a freshly downloaded one via FTP – http://vimeo.com/67209750
    If that does not work, please try re-updating the theme via FTP

    Cheers!
    Yigit

    #294424

    In reply to: Error on the web

    Hi Carlos!

    Please try re-updating the theme via FTP – http://vimeo.com/67209750
    You can see get_header in index.php file in Appearance > Editor

    Regards,
    Yigit

    Morticka
    Participant

    Hi guys,

    I would like to change both titles and have found the answer here: https://kriesi.at/support/topic/change-text-of-main-title/#post-167849

    But, I am using a child theme and I don’t want to edit the Enfold theme’s files. (I am also not using the option: Where do you want to display the Blog in theme settings for navigational purposes)

    How can I do this in functions.php in my child theme?

    Sincerely,
    Morticka

    • This topic was modified 11 years, 8 months ago by Morticka.
    #294284
    This reply has been marked as private.
    #294235

    In reply to: No main menu

    This reply has been marked as private.

    Hey cindy531!

    Thank you for visiting the support forum.

    1.) Please use this on functions.php:

    function modify_share_title(){
    return "CHANGE THE TITLE HERE"; 
    }
    add_filter('avia_social_share_title', 'modify_share_title', 10, 2);

    2.) Add this on Quick CSS or custom.css:

    #top #wrap_all .av-social-link-rss	   	 a{color:#fff; background-color:#ffa133; }
    #top #wrap_all .av-social-link-facebook  a{color:#fff; background-color:#37589b; }
    #top #wrap_all .av-social-link-twitter   a{color:#fff; background-color:#46d4fe; }
    #top #wrap_all .av-social-link-mail      a{color:#fff; background-color:#9fae37; }
    #top #wrap_all .av-social-link-dribbble  a{color:#fff; background-color:#e44885; }
    #top #wrap_all .av-social-link-linkedin  a{color:#fff; background-color:#419cca; }
    #top #wrap_all .av-social-link-search    a{color:#fff; background-color:#222222; }
    #top #wrap_all .av-social-link-gplus     a{color:#fff; background-color:#de5a49; }
    #top #wrap_all .av-social-link-behance   a{color:#fff; background-color:#008cfa; }
    #top #wrap_all .av-social-link-flickr    a{color:#fff; background-color:#ff0086; }
    #top #wrap_all .av-social-link-forrst    a{color:#fff; background-color:#234317; }
    #top #wrap_all .av-social-link-myspace   a{color:#fff; background-color:#000000; }
    #top #wrap_all .av-social-link-tumblr    a{color:#fff; background-color:#345574; }
    #top #wrap_all .av-social-link-vimeo     a{color:#fff; background-color:#31baff; }
    #top #wrap_all .av-social-link-youtube   a{color:#fff; background-color:#a72b1d; }
    #top #wrap_all .av-social-link-pinterest a{color:#fff; background-color:#cb2027; }
    #top #wrap_all .av-social-link-skype 	   a{color:#fff; background-color:#12a5f4; }
    #top #wrap_all .av-social-link-instagram a{color:#fff; background-color:#a67658; }
    #top #wrap_all .av-social-link-five_100_px a{color:#fff; background-color:#222222; }
    #top #wrap_all .av-social-link-soundcloud  a{color:#fff; background-color:#F76700; }
    #top #wrap_all .av-social-link-xing 	     a{color:#fff; background-color:#006567; }
    #top #wrap_all .av-social-link-vk 	   	 a{color:#fff; background-color:#597BA5; }
    #top #wrap_all .av-social-link-reddit 	 a{color:#fff; background-color:#FF4500; }

    3.) Edit comments.php, find this code on line 172:

    echo "<h3 class='miniheading'>".__('Leave a Reply','avia_framework')."</h3>";
    

    Change the text.

    4.) On the same file, look for this code on line 174:

    comment_form();
    

    Replace it with this:

    $defaults = array(
        'label_submit' => __('Post a Question')
    );
    comment_form($defaults);

    Change the label_submit value.

    Regards,
    Ismael

    #294165
    This reply has been marked as private.

    Thank you Gunter but it is still not working. The following is my Child functions.php

    ———————————————————-

    <?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.
    */

    function my_image_size()
    {
    global $avia_config;

    $avia_config[‘imgSize’][‘entry_with_sidebar’] = array(‘width’=>710, ‘height’=>360); // big images for blog and page entries
    }

    add_action(‘init’, ‘my_image_size’, 1);

    #293934

    Hi!

    The lightbox will only use the “large” thumbnail size by default. I’ll ask Kriesi to add a filter with the next update which enables the user to change the thumbnail size. For now you’ve two options:

    1) Open up wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/generic-helper.class.php and replace:

    
    $link = wp_get_attachment_image_src($post_id, 'large');
    

    with

    
    $link = wp_get_attachment_image_src($post_id, 'full');
    

    or

    2) Use the “Manually” link option and paste the image url into the url field.

    
    [av_image src='http://www.wp-master.org/wp-content/uploads/2014/07/visuels_flous_8.jpg' attachment='3255' attachment_size='full' align='center' animation='no-animation' link='manually,http://www.wp-master.org/wp-content/uploads/2014/07/visuels_flous_8.jpg' target='' styling='' caption='' font_size='' appearance=''][/av_image]
    

    Best regards,
    Peter

    #293767

    Hi Webbee!

    Thank you for using our theme.

    The problem is, that functions.php from the parent themes overwrites your settings of the child them, because it is loaded after your code.

    You have to put your code in the child theme in an action hook:

    
    function my_image_size()
    {
    global $avia_config;
    
    $avia_config['imgSize']['entry_with_sidebar'] = array(‘width’=>710, ‘height’=>270); // big images for blog and page entries
    }
    
    add_action('init', 'my_image_size', 1);
    
    

    Regards,
    Günter

    #293736

    In reply to: Google Fonts Problem

    Hi arthurhpaulino!

    Thank you for using the theme.

    The code looks correct. Please edit functions.php, find this code on line 16:

    if(isset($avia_config['use_child_theme_functions_only'])) return;
    

    Below, add this code:

    add_filter( 'avf_google_heading_font',  'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['Yanone Kaffeesatz'] = 'Yanone Kaffeesatz:400,700,300,200';
    return $fonts;
    }
    
    add_filter( 'avf_google_content_font',  'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    $fonts['Yanone Kaffeesatz'] = 'Yanone Kaffeesatz:400,700,300,200';
    return $fonts;
    }

    Best regards,
    Ismael

    Webbee
    Participant

    Hello, I am trying to edit the Featured Image size by adding the following line to functions.php in my Child Theme. It appears that the Child functions.php is not overriding the Parent functions.php.

    —————————————————————-
    $avia_config[‘imgSize’][‘entry_with_sidebar’] = array(‘width’=>710, ‘height’=>270); // big images for blog and page entries
    —————————————————————-

    I have renamed my Child Theme to something but made sure that the Template is set to “enfold”

    Can someone please help. Thank you.

    #293669

    Topic: Google Fonts Problem

    in forum Enfold
    arthurhpaulino
    Participant

    Hi guys,

    I read this: https://kriesi.at/support/topic/new-custom-font/ and try to do exactly the same but for this google font: https://www.google.com/fonts#QuickUsePlace:quickUse/Family:Yanone+Kaffeesatz , but.. it’s crashes my theme, I put it at the final of the functions.php

    add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
    function avia_add_heading_font($fonts)
    {
    $fonts[‘Yanone Kaffeesatz’] = ‘Yanone Kaffeesatz:200,400,700′;
    return $fonts;
    }

    add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
    function avia_add_content_font($fonts)
    {
    $fonts[‘Yanone Kaffeesatz’] = ‘Yanone Kaffeesatz:200,400,700′;
    return $fonts;
    }

    so, after it, i refresh my theme and appers it: Parse error: syntax error, unexpected T_STRING in /var/www/html/partyaholic.com.br/web/wp-content/themes/enfold/functions.php on line 488

    what i need to do to add this google font? pls, help me!

    ty

    #293376

    Hi Gabster!

    I tried reproducing the issue with no success, i added an image and an audio file to a test page and made some edits afterwards, please see:
    http://mara-events.de/cms/wp-admin/post.php?post=307&action=edit

    Best regards,
    Josue

    #293301

    Yes :)

    Change the date
    In the image below, if I click on ” modifier “, nothing happen, only the URL change to /wp-admin/post.php?post=4732&action=edit#edit_timestamp
    date

    Add/choose a tag
    In the image below, if I click on ” Choisir parmi les… “, nothing happen, (only the URL change to/wp-admin/post.php?post=4732&action=edit#titlediv
    tags

    thank you

    • This reply was modified 11 years, 8 months ago by pako69.
    #293158
    This reply has been marked as private.
    #293090
    FMIS
    Participant

    Hello and thanks in advance.

    I am trying to add a phone number to my main nav bar in Enfold. I know it has been asked before and I have tried to follow the steps, but cannot get it to work – I’m still pretty new to all this!

    I have added the following to my functions.php (at the end if that makes a difference).
    /*
    *Add phone number to menu tab
    */
    add_action(‘ava_after_main_menu’,’ava_phone_after_main_menu’);

    function ava_phone_after_main_menu() {
    echo “<div class=’header-phone-number’>+44 (0) 1227 773003</div>”;
    }

    and then added this to my quick.css…

    /* phone number in header */
    div.header-phone-number {
    display: inline-block;
    position: absolute;
    right: 45px;
    top: 8px;
    color:#ffffff !important;
    }
    /*i-phone*/
    div.header-phone-number a{
    display: block;
    position: absolute;
    width: 125px;
    color:#ffffff !important;
    }

    But not having any luck. Please help!

    Thanks.

    #292581

    I went to this post: https://kriesi.at/support/topic/open-virtual-tours-in-lightbox/#post-291227

    And added this to my functions php:
    function add_custom_script(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery(‘a[href*=”/360tours”]’).magnificPopup({
    type: ‘iframe’
    });
    });
    </script>
    <?php
    }
    add_action(‘wp_footer’, ‘add_custom_script’);

    But nothing is working still..
    http://liquidjunglemedia.com/dont-need-realtor-want-360-degree-virtual-tour/

    When you click the images within the blog, instead of the Virtual tour opening, is says Image cannot be loaded..

    Please can anyone advise me…

    Check line 720 on /enfold/framework/php/class-form-generator.php

    Cheers!
    Josue

    #292303

    In reply to: Contact form Indicator

    Hi Surya,

    Open /framework/php/class-form-generator.php and look for line 713:

    $message = stripslashes($message);
    

    Replace it by this:

    $message = apply_filters("avf_form_message", stripslashes($message), $new_post, $this->form_params);
    

    Then add this to the theme functions.php:

    function change_form_message($message) {
    	$message .= "<br>- This e-mail was sent from a Promo Blast on Villa Bugis (http://villabugis.com)";
    	return $message;
    }
    add_filter('avf_form_message', 'change_form_message');
    

    Change as needed.

    Regards,
    Josue

    lifeboy
    Participant

    Line 789 of framework/php/class-form-generator.php has:

    if(preg_match("!^\w[\w|\.|\-]+@\w[\w|\.|\-]+\.[a-zA-Z]{2,4}$!", urldecode($_POST[$id]))) return "valid";

    However, the new tld’s (like .systems for instance) will fail this test, so I would suggest that the {2,4} length be changed to {2,13} at least, since the longest new gtld I can find is 13 characters long. This may change however as more domains are created.

    • This topic was modified 11 years, 9 months ago by lifeboy.
    #292026

    In reply to: Expand All Accordions

    Hi masuurikas!

    Please add following code to Functions.php file in Appearance > Editor

    function add_custom_script(){
    ?>
    <script>
    jQuery(window).load(function(){
    	   jQuery("p.toggler").addClass("activeTitle");
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_script');

    and make sure that you choose “Multiple toggles open allowed” in Accordion settings – http://i.imgur.com/QVC7NO3.png

    Regards,
    Yigit

    #291772

    Hi Sergio!

    You should put that at the very end of the theme (or child theme) functions.php file.

    Regards,
    Josue

    #291721

    In reply to: Border below blog post

    Hi!

    It depends on the blog layout – if you’re using a sidebar search for this line in enfold/functions.php:

    
    $avia_config['imgSize']['entry_with_sidebar'] 	= array('width'=>710, 'height'=>270);		                 // big images for blog and page entries
    

    and replace 270 with 220. If you’re using a fullwidth layout search for this line:

    
    $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1030, 'height'=>360 );	
    

    and replace 360 with 220. Afterwards regenerate the thumbnails with: http://wordpress.org/plugins/regenerate-thumbnails/

    If you don’t want to edit the theme files you can install a plugin like: http://wordpress.org/plugins/simple-image-sizes/ to change the thumbnail sizes.

    Best regards,
    Peter

Viewing 30 results - 15,481 through 15,510 (of 16,892 total)