-
Search Results
-
We updated Enfold and WordPress (to 3.9.1) last week, and our wonderful header and menu were ruined, along with other issues.
See before and after images in private content.
Also, when now trying to upload images of any kind or size, we receive the message:
Fatal error: Maximum execution time of 30 seconds exceeded in /home/content/57/10144057/html/wp-includes/class-wp-image-editor-imagick.php on line 355Can you tell me why, and how to fix these situations?
HI!
I have several counter in the footer first four are sitting in one line, the other two yell.ru and yelp.com for some reason are stacked under each other.. Do you know how to make them all in one line?

this is the code for the counters in footer.php
<?php global $avia_config; $blank = isset($avia_config['template']) ? $avia_config['template'] : ""; //reset wordpress query in case we modified it wp_reset_query(); //get footer display settings $the_id = avia_get_the_id(); //use avia get the id instead of default get id. prevents notice on 404 pages $footer = get_post_meta($the_id, 'footer', true); $footer_widget_setting = !empty($footer) ? $footer : avia_get_option('display_widgets_socket'); //check if we should display a footer if(!$blank && $footer_widget_setting != 'nofooterarea' ) { if( $footer_widget_setting != 'nofooterwidgets' ) { //get columns $columns = avia_get_option('footer_columns'); ?> <div class='container_wrap footer_color' id='footer'> <div class='container'> <?php do_action('avia_before_footer_columns'); //create the footer columns by iterating switch($columns) { case 1: $class = ''; break; case 2: $class = 'av_one_half'; break; case 3: $class = 'av_one_third'; break; case 4: $class = 'av_one_fourth'; break; case 5: $class = 'av_one_fifth'; break; case 6: $class = 'av_one_sixth'; break; } $firstCol = "first el_before_{$class}"; //display the footer widget that was defined at appearenace->widgets in the wordpress backend //if no widget is defined display a dummy widget, located at the bottom of includes/register-widget-area.php for ($i = 1; $i <= $columns; $i++) { if($i != 1) $class .= " el_after_{$class} el_before_{$class}"; echo "<div class='flex_column {$class} {$firstCol}'>"; if (function_exists('dynamic_sidebar') && dynamic_sidebar('Footer - column'.$i) ) : else : avia_dummy_widget($i); endif; echo "</div>"; $firstCol = ""; } do_action('avia_after_footer_columns'); ?> </div> <!-- ####### END FOOTER CONTAINER ####### --> </div> <?php } //endif nofooterwidgets ?> <!-- end main --> </div> <?php //copyright $copyright = do_shortcode( avia_get_option('copyright', "© ".__('Copyright','avia_framework')." - <a href='".home_url('/')."'>".get_bloginfo('name')."</a>") ); // you can filter and remove the backlink with an add_filter function // from your themes (or child themes) functions.php file if you dont want to edit this file // you can also just keep that link. I really do appreciate it ;) //you can also remove the kriesi.at backlink by adding [nolink] to your custom copyright field in the admin area if($copyright && strpos($copyright, '[nolink]') !== false) { $kriesi_at_backlink = ""; $copyright = str_replace("[nolink]","",$copyright); } if( $footer_widget_setting != 'nosocket' ) { ?> <footer class='container_wrap socket_color' id='socket' <?php avia_markup_helper(array('context' => 'footer')); ?>> <div class='container'> <span class='copyright'><?php echo $copyright . $kriesi_at_backlink; ?></span> <?php echo "<nav class='sub_menu_socket' ".avia_markup_helper(array('context' => 'nav', 'echo' => false)).">"; $avia_theme_location = 'avia3'; $avia_menu_class = $avia_theme_location . '-menu'; $args = array( 'theme_location'=>$avia_theme_location, 'menu_id' =>$avia_menu_class, 'container_class' =>$avia_menu_class, 'fallback_cb' => '', 'depth'=>1 ); wp_nav_menu($args); echo "</nav>"; ?> </div> <!-- ####### END SOCKET CONTAINER ####### --> </footer> <?php } //end nosocket check } else { echo "<!-- end main --></div>"; } //end blank & nofooterarea check //display link to previeous and next portfolio entry echo avia_post_nav(); echo "<!-- end wrap_all --></div>"; if(isset($avia_config['fullscreen_image'])) { ?> <!--[if lte IE 8]> <style type="text/css"> .bg_container { -ms-filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $avia_config['fullscreen_image']; ?>', sizingMethod='scale')"; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='<?php echo $avia_config['fullscreen_image']; ?>', sizingMethod='scale'); } </style> <![endif]--> <?php echo "<div class='bg_container' style='background-image:url(".$avia_config['fullscreen_image'].");'></div>"; } ?> <?php /* Always have wp_footer() just before the closing </body> * tag of your theme, or you will break many plugins, which * generally use this hook to reference JavaScript files. */ wp_footer(); ?> <a href='#top' title='<?php _e('Scroll to top','avia_framework'); ?>' id='scroll-top-link' <?php echo av_icon_string( 'scrolltop' ); ?>><span class="avia_hidden_link_text"><?php _e('Scroll to top','avia_framework'); ?></span></a> <div id="fb-root"></div> <!-- Yandex.Metrika informer --> <a href="https://metrika.yandex.ru/stat/?id=25691525&from=informer" target="_blank" rel="nofollow"><img src="//bs.yandex.ru/informer/25691525/3_1_FFFFFFFF_EFEFEFFF_0_pageviews" style="width:88px; height:31px; border:0;" alt="Яндекс.Метрика" title="Яндекс.Метрика: данные за сегодня (просмотры, визиты и уникальные посетители)" onclick="try{Ya.Metrika.informer({i:this,id:25691525,lang:'ru'});return false}catch(e){}"/></a> <!-- /Yandex.Metrika informer --> <!-- Yandex.Metrika counter --> <script type="text/javascript"> (function (d, w, c) { (w[c] = w[c] || []).push(function() { try { w.yaCounter25691525 = new Ya.Metrika({id:25691525, webvisor:true, clickmap:true, trackLinks:true, accurateTrackBounce:true}); } catch(e) { } }); var n = d.getElementsByTagName("script")[0], s = d.createElement("script"), f = function () { n.parentNode.insertBefore(s, n); }; s.type = "text/javascript"; s.async = true; s.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//mc.yandex.ru/metrika/watch.js"; if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); } })(document, window, "yandex_metrika_callbacks"); </script> <noscript><div><img src="//mc.yandex.ru/watch/25691525" style="position:absolute; left:-9999px;" alt="" /></div></noscript> <!-- /Yandex.Metrika counter --> <!-- begin of Top100 code --> <script id="top100Counter" type="text/javascript" src="http://counter.rambler.ru/top100.jcn?3038058"></script> <noscript> <a href="http://top100.rambler.ru/navi/3038058/"> <img src="http://counter.rambler.ru/top100.cnt?3038058" alt="Rambler's Top100" border="0" /> </a> </noscript> <!-- end of Top100 code --> <!--LiveInternet counter--><script type="text/javascript"><!-- document.write("<a href='//www.liveinternet.ru/click' "+ "target=_blank><img src='//counter.yadro.ru/hit?t52.6;r"+ escape(document.referrer)+((typeof(screen)=="undefined")?"": ";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth? screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+ ";"+Math.random()+ "' alt='' title='LiveInternet: number of pageviews and visitors"+ " for 24 hours is shown' "+ "border='0' width='88' height='31'><\/a>") //--></script><!--/LiveInternet--> <!--bigmir)net TOP 100--> <script type="text/javascript" language="javascript"><!-- bmN=navigator,bmD=document,bmD.cookie='b=b',i=0,bs=[],bm={v:16935163,s:16935163,t:3,c:bmD.cookie?1:0,n:Math.round((Math.random()* 1000000)),w:0}; for(var f=self;f!=f.parent;f=f.parent)bm.w++; try{if(bmN.plugins&&bmN.mimeTypes.length&&(x=bmN.plugins['Shockwave Flash']))bm.m=parseInt(x.description.replace(/([a-zA-Z]|\s)+/,'')); else for(var f=3;f<20;f++)if(eval('new ActiveXObject("ShockwaveFlash.ShockwaveFlash.'+f+'")'))bm.m=f}catch(e){;} try{bm.y=bmN.javaEnabled()?1:0}catch(e){;} try{bmS=screen;bm.v^=bm.d=bmS.colorDepth||bmS.pixelDepth;bm.v^=bm.r=bmS.width}catch(e){;} r=bmD.referrer.replace(/^w+:\/\//,'');if(r&&r.split('/')[0]!=window.location.host){bm.f=escape(r).slice(0,400);bm.v^=r.length} bm.v^=window.location.href.length;for(var x in bm) if(/^[vstcnwmydrf]$/.test(x)) bs[i++]=x+bm[x]; bmD.write('<a href="http://www.bigmir.net/" target="_blank" onClick="img=new Image();img.src="http://www.bigmir.net/?cl=16935163";"><img src="http://c.bigmir.net/?'+bs.join('&')+'" width="88" height="31" border="0" alt="bigmir)net TOP 100" title="bigmir)net TOP 100"></a>'); //--> </script> <noscript> <a href="http://www.bigmir.net/" target="_blank"><img src="http://c.bigmir.net/?v16935163&s16935163&t3" width="88" height="31" alt="bigmir)net TOP 100" title="bigmir)net TOP 100" border="0" /></a> </noscript> <!--bigmir)net TOP 100--> <div id="yelp-biz-badge-plain-zScAJRejYOlU8GjNG_LrAQ"><a href="http://www.yelp.com/biz/alex-pavlov-real-estate-broker-marina-del-rey-3">Check out Alex Pavlov Real Estate Broker on Yelp</a></div><script type="text/javascript">(function(d, t) {var g = d.createElement(t);var s = d.getElementsByTagName(t)[0];g.id = "yelp-biz-badge-script-plain-zScAJRejYOlU8GjNG_LrAQ";g.src = "//dyn.yelpcdn.com/biz_badge_js/en_US/plain/zScAJRejYOlU8GjNG_LrAQ.js";s.parentNode.insertBefore(g, s);}(document, 'script'));</script> <div id="yellrank"></div> <script src="http://www.yell.ru/yellrank/yellrank.js/?cmp=10980453"></script> </body> </html>Hi, I would like to change the height of the code below using my child’s theme functions.php.
This is line 101 in the parent functions.php
$avia_config['imgSize']['entry_with_sidebar'] = array('width'=>710, 'height'=>270); // big images for blog and page entriesI tried the below but that did not work.
if ( function_exists( 'add_theme_support' ) ) { add_theme_support( 'entry_with_sidebar'' ); set_post_thumbnail_size( 710, 470 ); // New big images for blog and page }Thanks for your help.
VictorWhat is the fix for this please…I did a manual theme update via ftp to this result.
Fatal error: Call to undefined function avia_get_header_scroll_offset() in /home/site/site.site.com/wp-content/themes/enfold/css/dynamic-css.php on line 772
Thanks
Warning: session_start(): open(/tmp/sess_d5bfe2f14b03dd43c12eabcf6b829b7e, O_RDWR) failed: Permission denied (13) in /home/briscs/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 33
The above error message is received when we use http://www.brisbanecomputersolutions.com.au There is no problem when the www. is not used.
Any suggestions
Hey there,
I need to use the size 600×338 for the thumbnails in my portfolio as that keeps the ratio correct for 16:9 videos. I tried to add a video_thumbnail, but then realized that wouldn’t work. Where in the functions.php do I make this edit so the thumbnails in the grid layout will be this correct size?
HERE IS THE CODE I AM WORKING WITH:
##################################################################
# AVIA FRAMEWORK by Kriesi# this include calls a file that automatically includes all
# the files within the folder framework and therefore makes
# all functions and classes available for later userequire_once( ‘framework/avia_framework.php’ );
##################################################################
/*
* Register additional image thumbnail sizes
* Those thumbnails are generated on image upload!
*
* If the size of an array was changed after an image was uploaded you either need to re-upload the image
* or use the thumbnail regeneration plugin: http://wordpress.org/extend/plugins/regenerate-thumbnails/
*/$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’][‘video_thumbnail’] = array(‘width’=>600, ‘height’=>338 ); // images for video on demand thumbnails
$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
}$avia_config[‘selectableImgSize’] = array(
‘square’ => __(‘Square’,’avia_framework’),
‘featured’ => __(‘Featured Thin’,’avia_framework’),
‘featured_large’ => __(‘Featured Large’,’avia_framework’),
‘portfolio’ => __(‘Portfolio’,’avia_framework’),
‘gallery’ => __(‘Gallery’,’avia_framework’),
‘video_thumbnail’ => __(‘Video on Demand’,’avia_framework’),
‘entry_with_sidebar’ => __(‘Entry with Sidebar’,’avia_framework’),
‘entry_without_sidebar’ => __(‘Entry without Sidebar’,’avia_framework’),
‘extra_large’ => __(‘Fullscreen Sections/Sliders’,’avia_framework’),);
avia_backend_add_thumbnail_size($avia_config);
if ( ! isset( $content_width ) ) $content_width = $avia_config[‘imgSize’][‘featured’][‘width’];
HERE IS THE PAGE ON MY SITE:
http://dev.questcommunity.com/watch/
Thanks,
NatePLEASE HELP!
My client just saw this on a site that has been up and running for months. I have not changed the files recently, but last time I looked at the admin and site it was all fine. Now the site cphfilmcompany.dk returns this error:
Fatal error: Out of memory (allocated 27262976) (tried to allocate 428729 bytes) in /home/cphfilm/public_html/wp-includes/functions.php on line 275
and if I try to get into the wp admin the errors come up in any number of files connected to some plugins, especially it seems good old WPML.
I really hoped this is a server problem, but now I see there may be some issue with the plugins? I can’t access the admin so I can’t see what’s going on, although I can access the files on the server. I am not a coder.
Can you help me with this?? I am also tyring to contact our hosting service but maybe you can see where the error is.
thanks so much!
Nancy
