Viewing 30 results - 15,391 through 15,420 (of 16,892 total)
  • Author
    Search Results
  • #304135

    Hi Josue

    I added

    
    function avia_add_custom_icon($icons) {
    	$icons['cart']	 = array( 'font' =>'entypo-fontello', 'icon' => 'ue859');
    	return $icons;
    }
    add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
    
    function avia_add_custom_social_icon($icons) {
    	$icons['Cart'] = 'cart';
    	return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
    
    

    but received the following error:

    Parse error: syntax error, unexpected ‘&’, expecting ‘]’ in /home/content/p3nexnas06_data02/13/2173913/html/wp-content/themes/enfold/functions.php on line 506

    According to Coda, line 506 is:
    `
    $icons[‘cart’] = array( ‘font’ =>’entypo-fontello’, ‘icon’ => ‘ue859’);

    Thoughts?

    • This reply was modified 11 years, 8 months ago by moprosk. Reason: syntax
    #304134

    Hey!

    Try adding this at the very end of your theme functions.php file:

    function avia_add_custom_icon($icons) {
    	$icons['cart']	 = array( 'font' =>'entypo-fontello', 'icon' => 'ue859');
    	return $icons;
    }
    add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
    
    function avia_add_custom_social_icon($icons) {
    	$icons['Cart'] = 'cart';
    	return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);

    Then, you’ll have this option available here:

    Cheers!
    Josue

    #303911
    This reply has been marked as private.
    #303839

    In reply to: Team Member Icons

    Hey blankonblank!

    Thank you for using our theme.

    There is no way to do this by CSS.

    You will have to change the php code. You find it in:

    enfold\config-templatebuilder\avia-shortcodes\team.php
    line 227ff.

    You also will have to do CSS styling.

    But this customization and is beyond the scope of support.

    Regards,
    Günter

    #303748
    Diomaiuta
    Participant

    Hello
    Yesterday is WP automatically updated. After, this message is diplayed on top from Header:

    Warning: session_start() [function.session-start]: open(/tmp/sess_fd42e0c653660759bfbef7164d5a84b7, O_RDWR) failed: Permission denied (13) in /home/httpd/vhosts/caffechiriatti.ch/httpdocs/wordpress/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 33

    under the Footer this Message is displayed:

    Warning: Unknown: open(/tmp/sess_fd42e0c653660759bfbef7164d5a84b7, O_RDWR) failed: Permission denied (13) in Unknown on line 0

    Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

    Since 1 hour the Admin interface is NOT displayed! i have a blank screen…

    here the Link to Homepage: http://www.caffechiriatti.ch

    Any suggestions oder ideas?

    Than you for your Help
    Diomaiuta

    #303702
    Diomaiuta
    Participant

    Guten Tag
    Gestern wurde WP automatisch updatet. Seither ist im Menu “Shop” nicht mehr erreichbar und ich habe ganz oben diese Fehlermeldung:

    Warning: session_start() [function.session-start]: open(/tmp/sess_fd42e0c653660759bfbef7164d5a84b7, O_RDWR) failed: Permission denied (13) in /home/httpd/vhosts/caffechiriatti.ch/httpdocs/wordpress/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 33

    unter nach dem Footer erscheiont diese Fehlermeldung:

    Warning: Unknown: open(/tmp/sess_fd42e0c653660759bfbef7164d5a84b7, O_RDWR) failed: Permission denied (13) in Unknown on line 0

    Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0

    Hat jemand eine Idee was das sein könnte?
    Vielen Dank für die Hilfe!

    #303659

    In reply to: snippet code

    Hi!

    I’m not sure what you mean by “safe place” but you should probably ask your host where to properly put this code. Do you want this code inside the <head> tag, <body> etc? If you want to place it under the opening body tag, use this on functions.php:

    function place_random_code() { ?>
    
    <div id="hide-div" itemscope="itemscope" itemtype="http://schema.org/LocalBusiness">
        <span itemprop="name">Sabrostar Fruit Company</span>
        <div itemprop="address" itemscope="itemscope" itemtype="http://schema.org/PostalAddress">
            <span itemprop="streetAddress">Avenida Francisco de Orellana #234, Edificio Blue Towers Piso 15</span>
            <span itemprop="addressLocality">Guayaquil</span>,
            <span itemprop="addressRegion">Guayas</span>
            <span itemprop="addressCountry">Ecuador</span>
            <span itemprop=“email”> (Email address hidden if logged out) </span>
        </div>
        Phone: <span itemprop="telephone">593-4-3709600</span>
        Website: <a itemprop="URL">http://www.sabrostarfruitcompany.com/</a>
     </div>
     
    <?php }
    
    add_action('wp_head', 'place_random_code');

    Use this on Quick CSS to hide it:

    #hide-div {
    display: none;
    }

    Cheers!
    Ismael

    #303637

    Hi!

    Not sure where the “[shortcode goes here]” part comes from. Did you add any code on functions.php? Add this on Quick CSS or custom.css to move the title container on mobile device:

    @media only screen and (max-width: 767px) {
    .responsive #main {
    padding-top: 0 !important;
    margin-top: -21px;
    }
    }

    Regards,
    Ismael

    #303528

    http://support.girlmeetslake.com/newest-obsession-white-light-fixtures/

    <?php
    global $avia_config;

    get_header();

    if( get_post_meta(get_the_ID(), ‘header’, true) != ‘no’) echo avia_title();
    ?>

    <div id=”av_section_1″ class=”avia-section main_color avia-section-default avia-no-border-styling avia-bg-style-fixed avia-full-stretch avia-builder-el-0 avia-builder-el-no-sibling av-minimum-height av-minimum-height-100 container_wrap fullsize” style=”background-repeat: no-repeat; background-image: url(http://i0.wp.com/support.girlmeetslake.com/wp-content/uploads/2014/08/background.jpg?resize=2500%2C1563); background-attachment: fixed; background-position: top center; ” data-section-bg-repeat=”stretch”>
    <div class=”container”>
    <main role=”main” itemprop=”mainContentOfPage” class=”template-page content twelve alpha units”>
    <div class=”post-entry post-entry-type-page post-entry-25″>
    <div class=”entry-content-wrapper clearfix”>
    <div class=”flex_column av_one_fifth first avia-builder-el-1 el_before_av_three_fifth avia-builder-el-first ” style=”position: absolute; left: 0px; top: 0px;”>
    <div class=”avia-builder-widget-area clearfix avia-builder-el-2 avia-builder-el-no-sibling “>
    <section id=”nav_menu-2″ class=”widget clearfix widget_nav_menu” style=”position: relative;”>
    <div class=”menu-menu-container”>
    <ul id=”menu-menu” class=”menu”>
    <li id=”menu-item-37″ class=”menu-item menu-item-type-post_type menu-item-object-page menu-item-37″>home
    <li id=”menu-item-38″ class=”menu-item menu-item-type-post_type menu-item-object-page menu-item-38″>about
    <li id=”menu-item-39″ class=”menu-item menu-item-type-post_type menu-item-object-page menu-item-39″>portfolio
    <li id=”menu-item-40″ class=”menu-item menu-item-type-post_type menu-item-object-page menu-item-40″>mantra
    <li id=”menu-item-41″ class=”menu-item menu-item-type-post_type menu-item-object-page menu-item-41″>how it works
    <li id=”menu-item-42″ class=”menu-item menu-item-type-post_type menu-item-object-page menu-item-42″>contact

    </div>
    <span class=”seperator extralight-border”></span>
    </section>
    </div>
    </div>

    <div class=”flex_column av_three_fifth avia-builder-el-3 el_after_av_one_fifth avia-builder-el-last “>
    <div style=”height:5px” class=”hr hr-invisible avia-builder-el-4 el_before_av_heading avia-builder-el-first “><span class=”hr-inner”><span class=”hr-inner-style”></span></span></div>
    <div style=”padding-bottom:10px;” class=”av-special-heading av-special-heading-h1 blockquote modern-quote modern-centered avia-builder-el-5 el_after_av_hr el_before_av_textblock “><h1 class=”av-special-heading-tag” itemprop=”headline” style=”padding-bottom:10px;”>MELINDA FARANETTA</h1><div class=”av-subheading av-subheading_below” style=”font-size:29px;”><p>Homes that love the people inside.</p></div><div class=”special-heading-border”><div class=”special-heading-inner-border”></div></div></div>
    <section class=”av_textblock_section” itemscope=”itemscope” itemtype=”https://schema.org/CreativeWork”><div class=”avia_textblock ” itemprop=”text”><p></p></div></section>
    <?php
    get_template_part( ‘includes/loop’, ‘custom-single’);
    get_template_part( ‘includes/related-posts’);
    comments_template( ‘/includes/comments.php’);
    ?>
    </div>

    </div>
    </div>
    </main>
    </div><!–end builder template–>
    </div>

    <?php get_footer(); ?>

    #303316

    Hey nicdivi2014!

    1) Did you try to install the smtp plugin: https://wordpress.org/plugins/webriti-smtp-mail/ – if even contact form 7 doesn’t work properly your server probably can’t use the php mail() function to send the emails. The smtp plugin will use your mail/smtp server for the sending process and the php mail() function is not required in this case.

    2) You can change the color with css code – for the first column (silver) use this code:

    
    .alternate_color .pricing-table li.avia-pricing-row:nth-child(0), .alternate_color .pricing-table li.avia-heading-row:nth-child(0){
    background-color: #C0C0C0;
    }
    

    For the second column:

    
    .alternate_color .pricing-table li.avia-pricing-row:nth-child(1), .alternate_color .pricing-table li.avia-heading-row:nth-child(1){
    background-color: #ffee38;
    }
    

    and the third column:

    
    .alternate_color .pricing-table li.avia-pricing-row:nth-child(2), .alternate_color .pricing-table li.avia-heading-row:nth-child(2){
    background-color: #8C7853;
    }
    

    Obviously you can use different color values if you don’t like the colors I used for the sample code :)

    Regards,
    Peter

    #303230

    Hi Munford!

    You have following code in Quick CSS field, please remove it

    img:hover {
    opacity: 0.5 !important;
    }

    Please firstly link your slider images and then add following code to Functions.php file in Appearance > Editor

    function add_custom_slider_link(){
    ?>
    <script>
    jQuery(window).load(function(){
      if (jQuery(window).width() >= 768){	
    	   jQuery("ul.avia-slideshow-inner li a").removeAttr("href");
      }
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_slider_link');

    Regards,
    Yigit

    #303097
    Jamie A
    Participant

    http://shutterliving.com/bookshelf/

    I have installed a new light box plugin called Social Gallery, However it is conflicting with the navigation tabs on the left and right side of the posts,

    Is there a way to remove them temporally until I can work out how do remove them form being picked up by the light box plugin.

    Here is a link to how to remove the light box but i don’t really understand it:
    http://forum.socialgalleryplugin.com/showthread.php/378-Could-you-help-me-disclude-specific-images?highlight=logo

    #302915
    websiteworkers
    Participant

    Hi there,

    I updated to the latest version of Enfold today vis the instructions given and now I can’t log into my admin dashboard. When I go to the dashboard URL, I get this message:

    Parse error: syntax error, unexpected $end, expecting ‘]’ in /home/content/16/6730216/html/wp-content/themes/enfold/framework/php/function-set-avia-backend.php on line 475

    Also, the enfold/includes/admin/dummy.xml file is refusing to upload via FTP and is just sitting in FileZilla, constantly trying to upload.

    Additionally, the navigation bar on my website now is all screwed up and runs vertical instead of horizontal.

    Please help!

    #302867

    In reply to: Disable Enfold menu

    Hey!

    I tested that fix (functions.php:54) on my local install and it worked:
    http://screencast.com/t/vp7LnkQv1

    Regards,
    Josue

    #302697

    I tried that and it gave me an error page with this message ( ! ) Warning: fopen(C:\wamp\www\wordpress/wp-content/themes/enfold/style.css): failed to open stream: Permission denied in C:\wamp\www\wordpress\wp-includes\functions.php on line 3879

    #302581

    Hi ShortieD!

    It would be easier if you add a new link to your footer menu in Appearance > Menus and adjust its styling using menu item ID in Quick CSS field.
    You can also add it manually in Footer.php file in Appearance > Editor. Please find

    </div>
    
    	            <!-- ####### END SOCKET CONTAINER ####### -->

    and add your text right above it as following

    <div class="my-custom-number">+1 234 567</div>

    Regards,
    Yigit

    #302427
    This reply has been marked as private.
    #302398

    In reply to: Blog Posts Overlay

    Hey blankonblank!

    Thank you for using Enfold.

    You can change the icons for hover effects on functions.php. Look for this code on line 216:

    //image hover overlays		
        'ov_external'	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue832'),
        'ov_image'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue869'),
        'ov_video'		=> array( 'font' =>'entypo-fontello', 'icon' => 'ue897'),

    Change the icon character code. For example, we’ll change the ov_external icon to something else. Find this code:

    'ov_external'	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue832'),
    

    Replace the icon character code ue832:

    'ov_external'	=> array( 'font' =>'entypo-fontello', 'icon' => 'ue803'),
    

    You can find the character codes by hovering over the icon list. Find the character codes by hovering over the icons when editing any elements with icons on posts or pages:

    Cheers!
    Ismael

    #302357
    ShortieD
    Participant

    Hey guys – I’d like to add a phone number after the socket/footer menu on the right – see this screenshot.

    http://awesomescreenshot.com/0433afqfab

    This is the site I’m working on http://27.131.66.7/~lmecentr/

    I’ve got the footer.php file in my child theme – not sure where I need to add this? Or should I register another widget area? not sure what is best.
    Thanks

    #302265
    rubendeveloper
    Participant

    Hi,
    I would like to have a blog post grid with social buttons (the “share this entry” functionality) in each element of the grid (every element of the grid would be: thumbnail, then below, title, and then below, the social buttons).

    I’ve managed to actually set the “Share this” toolbar on its desired place, but it does not work properly, because no matter which element of the grid you choose, the URL “to be shared” remains always the same.

    What I’ve done is, in postslider.php, after the “header” closing tag, line 375

                      $output .= '</header>';
    		    $output .= avia_social_share_links(array(), false); // I added this
    	            $output .= '<div style="height:1px; margin-top:50px;" class="hr"></div>'; // I added this

    Is there any way to pass the post’s correct URL as an argument to avia_social_share_links?
    Or a better way to achieve what I want?

    Any help would be really appreciated, thank you very much :-)

    #302239

    Hey!

    Eine Promobox ist als shortcode implementiert. Eine Antwort finden Sie hier:

    http://stackoverflow.com/questions/4773186/shortcodes-inside-a-shortcode-wordpress

    Möglicherweise erfordert dies aber auch eine Änderung im php code von

    enfold\config-templatebuilder\avia-shortcodes\promobox.php

    Regards,
    Günter

    #301995
    rubendeveloper
    Participant

    Hi,
    In addition to title being shown in the hover caption in masonry for entries, I’d like to display a little custom text like “click here” and a link to, let’s say, “mylink.com”.

    I’ve added this code to masonry_entries.php line 794 (using the “text_after”) as follows:

    $this->loop[$key]['text_after'] .= "<a href='http://mylink.com'>click here</a>";

    But the page appears all messed up, it’s like it disrupted the way javascript builds up the masonry.

    However, when I add text without links, it displays perfectly (except for the fact I’d need the link).

    $this->loop[$key]['text_after'] .= "click here";

    Is there anything I could do to make it work with a link or am I hopeless?

    Thank you very much in advance.

    #301980
    chrlen
    Participant

    I can’t use the visualizer plugin. Here what I get from the console in Goolge Chrome.

    Uncaught ReferenceError: wp is not defined avia-media.js?ver=0.7:26
    $.AviaElementBehavior.wp_media_advanced avia-media.js?ver=0.7:26
    (anonymous function) avia-element-behavior.js?ver=0.7:34
    j load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate&ver=3.9.2:2
    k.fireWith load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate&ver=3.9.2:2
    n.extend.ready load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate&ver=3.9.2:2
    K load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate&ver=3.9.2:2

    I have tested with another theme “Divi” and the Visualizer works.
    Can you please fix this problem?

    • This topic was modified 11 years, 8 months ago by chrlen.
    #301942

    In reply to: Several issues

    Hey!

    1) The session_start() warning tells you that the server can’t write or create a session file because the permission of the tmp folder doesn’t allow it. You must contact the server administrator and ask him to fix the folder permissions. Alternatively you can deactivate all theme sessions with this code (add it to the theme functions.php):

    
    add_theme_support('avia_no_session_support');
    

    but this may break the portfolio breadcrumbs which sometimes use sessions to store data. In addition it doesn’t solve the issue that your server can’t write/use php sessions at the moment.

    2) Please elaborate – the gallery and the lightbox of the gallery seems to work for me: http://www.clipular.com/c/6723826687672320.png?k=1O9pRoZNwv4Bp_Qj2kiR4NMEv1I

    Best regards,
    Peter

    #301892

    In reply to: About Excerpt

    Hi Tommy,

    Open /config-templatebuilder/avia-shortcodes/portfolio.php and look for line 471:

    $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>" : '';
    

    Replace it by this:

    $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))."><a href='".$title_link."'>".$excerpt."</a></div>" : '';
    

    Regards,
    Josue

    #301880

    In reply to: Masonry for entries

    Hi,

    Open /config-templatebuilder/avia-shortcodes/masonry_entries.php and look for line 793:

    $this->loop[$key]['html_tags'] = array('a href="'.$this->loop[$key]['url'].'"','a'); //opening and closing tag for the masonry container
    

    Replace it by this:

    $this->loop[$key]['html_tags'] = array('a href="'.wp_get_attachment_url($this->loop[$key]['thumb_ID']).'"','a'); //opening and closing tag for the masonry container
    

    Regards,
    Josue

    #301862

    Topic: Layerslider Went White

    in forum Enfold
    studiobabz
    Participant

    Since the beginning I have had issues with getting Layerslider to work in the header. I added the <?php echo do_shortcode(‘[av_layerslider id=”7″]’);?> to the header.php, but it would only show up if I added a 1×1 layerslider in the content. Suddenly this week it is only showing in Firefox, and now with a spinning wheel on most pages.
    Layerslider no longer shows up in Safari – it is just white. No plugins are activated.

    Any idea why Layerslider does not work and why the spinning wheel?
    Is there an alternative to using Layerslider to achieve a custom header image?

    Thank you.

    xma001
    Participant

    Hi, i make a child template, i activate the advanced editor in post according to this video http://vimeo.com/64996057. On localhost advanced editor work, but with strange behavior, when make a page with advanced editor and next return in editor mode don’t see anything only blank page, also in text tab.
    When install online the theme and child theme the button for advanced editor don’t work, when click button nothing happen.
    In the debug.log i get the error :
    Invalid argument supplied for foreach() in /home/XXXX/public_html/tmp/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/template-builder.class.php on line 133

    i get this error only on remote server not localy.

    thanks in advance.
    max

    #301692

    In reply to: Image sizes

    Thanks Yigit.
    I have an image on my frontpage which resides in a 1/2 section. It is approx. 970 x 780 (from screendump). I can’t find what size that is in the Functions.php – neither from size or from text.
    Can you help?
    /Anders

    #301640

    In reply to: Image sizes

    Hi!

    You can find image sizes defined in Functions.php file below

    $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'=>710, 'height'=>575 );						// 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'=>710, 'height'=>270);		                 // big images for blog and page entries
    $avia_config['imgSize']['entry_without_sidebar']= array('width'=>1030, 'height'=>360 );						// images for fullsize pages and fullsize slider
    
    //overwrite blog and fullwidth image on extra large layouts
    if(avia_get_option('responsive_layout') == "responsive responsive_large")
    {
    	$avia_config['imgSize']['gallery'] 		 		= array('width'=>845, 'height'=>684 );					// images for portfolio entries (2,3 column)
    	$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
    }

    Best regards,
    Yigit

Viewing 30 results - 15,391 through 15,420 (of 16,892 total)