-
Search Results
-
I was looking for a different onhover effect for the Enfold portfolio. With the help of some Googling I changed the arrow to a slideover-excerpt-text effect.
To change this you have to know how to code – preferably in a child theme that you can download here:http://bit.ly/enfold-child
Example of onhover effect:
http://i40.tinypic.com/ndvqpz.jpg
What did i change:
PORTFOLIO.PHP (Version: 2.4.5)New code:
somewhere from line 395 (fullwidth portfolio) I changed some settings and added some classes. This is not very clean code but it can help you achieve this very easily.else { $extraClass .= ' default_av_fullwidth '; $output .= "<div data-ajax-id='{$the_id}' class=' rozepitem grid-entry flex_column isotope-item all_sort {$style_class} {$post_class} {$sort_class} {$grid} {$extraClass}'>"; $output .= !empty($excerpt) ? "<a href='{$title_link}' title='".esc_attr(strip_tags($title))."'><div class='rozeptxt grid-entry-excerpt entry-content' ".avia_markup_helper(array('context'=>'entry_content','echo'=>false)).">".$excerpt."</div></a>" : ''; $output .= "<article class='main_color inner-entry' ".avia_markup_helper(array('context' => 'entry','echo'=>false)).">"; $output .= apply_filters('avf_portfolio_extra', "", $entry); $output .= "<".$link_markup[0]." data-rel='grid-".avia_post_grid::$grid."' class='grid-image avia-hover-fx'>".$custom_overlay.get_the_post_thumbnail( $the_id, $image_size )."</".$link_markup[1].">"; $output .= !empty($title) || !empty($excerpt) ? "<div style='z-index:100;box-shadow: 0px -5px 20px #888888;' class='grid-content'><div class='avia-arrow'></div>" : ''; if(!empty($title)) { $markup = avia_markup_helper(array('context' => 'entry_title','echo'=>false)); $output .= '<header style="z-index:100;" class="entry-content-header">'; $output .= "<h3 class='grid-entry-title entry-title' $markup><a href='{$title_link}' title='".esc_attr(strip_tags($title))."'>".$title."</a></h3>"; $output .= '</header>'; } $output .= !empty($title) || !empty($excerpt) ? "</div>" : ''; $output .= '<footer class="entry-footer"></footer>'; $output .= "</article>"; $output .= "</div>"; } $loop_counter ++; $post_loop_count ++; $extraClass = ""; if($loop_counter > $columns) { $loop_counter = 1; $extraClass = 'first'; } }Then i added a jQuery part in a JS file (e.g. shortcodes.js):
$('.rozeptxt').animate({ opacity:'0', top:'300px', }); $('.rozepitem').hover( // Over function(){ $(this).find('.rozeptxt').animate({ opacity:'0.9', top:'0px', }); } , // Out function(){ $(this).find('.rozeptxt').animate({ opacity:'0', top:'300px', }); } );In the custom CSS-field I added this:
.image-overlay { display: none!important; } .entry-title {font-weight:bold;font-size:13pt;} .rozeptxt{color:#7c6853;font-size:13pt;position: absolute;top:0px;left:0px; background: rgba(255,255,255,0.9);width: 100%;height: 100%;z-index:50;padding:20px;} .rozepitem{display: block;float: left; position: relative;overflow:hidden;}I know the code can be a lot cleaner, but i saw other people wanting this – so maybe this helps them create something awesome.
I have been experiencing fatal errors and could not use the admin side of WordPress earlier today. I think I have them fixed now, but I’m not sure. I am sending this along to you as I am seeing others like this and hope it may help in troubleshooting it for everyone.
Earlier today:
When logging into Pages, they responded very randomly. For instance, the Home page does not display or sometimes gives a fatal error and the Rates page comes up with only the default editor and otherwise a blank white screen. Oddly, the user side looks and operates fine. Below are some threads I’ve posted on for this problem and some things I’ve done from your advise that, so far, have not worked.I love this theme -it is one of the nicest themes I’ve ever developed with, BUT I need to get it to launch successfully and be stable.
My site is at: http://bit.ly/1ff9EVF
Thanks -Lynn
Link: https://kriesi.at/support/topic/fatal-error-caused-bij-enfold/
January 23, 2014 at 6:17 pm
I am receiving similiar php warnings and my host said to contact the Theme developers. My site is at: http://bit.ly/1ff9EVF
Should I open a new thread or can you help on this one? The error I am receiving is: Fatal error: Cannot use object of type WP_Error as array in /home/sterling/public_html/new-wordpress/wp-content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php on line 344
I have also been receiving php memory limit errors, but I increased the allotment and that seemed to resolve that.
Thanks -LynnJanuary 23, 2014 at 8:04 pm
For now, I have resolved this by deactivating the Jetpack plugin.
It caused this error when loading, but then loaded the plugin: Fatal error: Out of memory (allocated 67633152) (tried to allocate 122880 bytes) in /home/sterling/public_html/new-wordpress/wp-admin/includes/class-wp-plugin-install-list-table.php on line 269
Then it gave this error when I clicked on Sites Stats (twice): We were unable to get your stats just now. Please reload this page to try again. If this error persists, please contact support. In your report please include the information below.
User Agent: “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.73.11 (KHTML, like Gecko) Version/6.1.1 Safari/537.73.11″ Page URL: “http://sterlingridgeresort.com/new-wordpress/wp-admin/admin.php?page=stats&noheader” API URL: “http://dashboard.wordpress.com/wp-admin/index.php?noheader=true&proxy&page=stats&blog=58935943&charset=UTF-8&color=coffee&j=1:2.7″ http_request_failed: “Couldn’t resolve host ‘dashboard.wordpress.com’”
I disabled Jetpack and some of the errors went away (I thought it was fixed), but when I went into several pages, then I received the random errors described above.Then I did the suggestions at the end for the php.ini file:
link: https://kriesi.at/support/topic/java-script-error/
January 16, 2014 at 9:52 amHey!
This is not an incompatibilty issue but a problem of the envato theme update api. You can try two things:
1) Update the api file to the latest version – the code can be found here: https://github.com/envato/envato-wordpress-toolkit/blob/master/includes/class-envato-api.php – just delete the code in wp-content/themes/enfold/framework/php/auto-updates/class-envato-protected-api.php and insert the updated code. I’m not sure if it will work though (I can’t test it).
2) Deactivate the update api – insert following code into the child or parent theme functions.php file – i.e. insert it at the very bottom of the file
add_theme_support(‘avia_manual_updates_only’);
Cheers! PeterIt still was not fixed.
Then I increased the PHP Configuration to 200M. Still not fixed.
Then I turned off the NextGEN Gallery by Photocrati & NextGEN Gallery Media Library Addon Plugins.
And that! seems to have fixed it.
Cross your fingers -hope this helps you in troubleshooting. It seems like I do not have an immediate problem, but it still doesn’t seem quite ‘right’. When changing text in the avia theme editor, sometimes I am getting the ‘Visual’ display and sometimes I need to go to the “Text” tab to edit the Text Block.I am using Liquid Web as the host.
Hi,
Enfold seems to be causing a fatal error.
May be this part of todays error_log helps you guys in solving this issue..
[Thu Jan 23 09:58:54 2014] [error] [client 66.249.78.201] PHP Fatal error: Call to undefined function add_action() in /usr/home/lmscar124/www/wp-content/themes/enfold/config-layerslider/config.php on line 42
[Thu Jan 23 10:30:53 2014] [error] [client 66.249.78.201] PHP Warning: require_once(ABSPATHwp-admin/includes/import.php): failed to open stream: No such file or directory in /usr/home/lmscar124/www/wp-content/themes/enfold/framework/php/inc-avia-importer.php on line 8
[Thu Jan 23 10:30:53 2014] [error] [client 66.249.78.201] PHP Fatal error: require_once(): Failed opening required ‘ABSPATHwp-admin/includes/import.php’ (include_path=’.:/usr/local/share/pear’) in /usr/home/lmscar124/www/wp-content/themes/enfold/framework/php/inc-avia-importer.php on line 8
[Thu Jan 23 11:44:05 2014] [error] [client 95.96.186.150] PHP Warning: Invalid argument supplied for foreach() in /usr/home/lmscar124/www/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php on line 1987, referer: http://www.logitecqmedical.com/wp-admin/post.php?post=55&action=edit&lang=en&message=1I’m not into coding but I already spent quite some time getting enfold to work with WPML.
Please can someone help me solving this?
At WPML people start pointing at Enfold…
thanx in advance
rgds, erik
Topic: Google crawling theme pages
I am seeing Google crawls of interior theme pages in GWT- should I block these with robots? I don’t necessarily understand why Google is even seeing them…
Priority URL Response Code Detected 1 wp-content/themes/enfold/ 500 1/20/14 2 wp-content/themes/enfold/config-layerslider/LayerSlider/add.php 500 1/19/14 3 wp-content/themes/enfold/framework/avia_framework.php 500 1/20/14 4 wp-content/themes/enfold/framework/php/auto-updates/auto-updates.php 500 1/20/14 5 wp-content/themes/enfold/framework/php/class-tgm-plugin-activation.php 500 1/20/14 6 wp-content/themes/enfold/framework/php/inc-autoconfig.php 500 1/20/14 7 wp-content/themes/enfold/framework/php/inc-avia-importer.php 500 1/20/14 8 wp-content/themes/enfold/framework/php/wordpress-importer/avia-import-class.php 500 1/20/14Topic: Error : undefined index
Hello Enfold Theme,
i get more errors the loger i use Enfold, is there something wrong with my installation.
Today i created a new simple portfolio page http://www.celebrationevents.eu/portfolio-item/bruiloft-kasteel-hooge-vuursche/
Just a few fotos and text , i get the following error. Please adviceNotice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php on line 233
Notice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php on line 234
Notice: Undefined index: index in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php on line 235
Warning: Cannot modify header information – headers already sent by (output started at /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php:233) in /var/www/02/62/71/celebrationevents.eu/www/wp-admin/post.php on line 229
Warning: Cannot modify header information – headers already sent by (output started at /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_gallery.php:233) in /var/www/02/62/71/celebrationevents.eu/www/wp-includes/pluggable.php on line 896
Hello, I have a custom form to allow users to post from the front end to a custom post type (pending).
The form function perfectly well on other themes (I have tested on other themes I have written). The form also works fine if I include the enfold header but comment out the include for the footer. Similarly, the form works if I comment out the header but include the footer. So whats the problem….well, when both header and footer are included the form does not post.
Any ideas as to what in the theme could be prevent normal functionality?
Here is my form:
<div class="entry-content-wrapper clearfix" style="border: solid 0px black"> <form class="avia_ajax_form" method="POST" form id="new_post" name="new_post" method="post" action="" enctype="multipart/form-data"> <fieldset style="border: 0px;"> <p id="IGN" class="form_element_half"> <label for="offender_ign" placeholder="IGN">Offender IGN <abbr title="required" class="required">*</abbr></label> <input id="offender_ign" type="text" value="" tabindex="5" name="offender_ign" class="text_input is_empty"> </p> <p id="type_of_offence" class="form_element_half_2 form_element_half"> <!--<label for="cat">Type:</label> <?php wp_dropdown_categories( 'tab_index=10&taxonomy=portfolio_entries&hide_empty=0' ); ?> --> <label for="type_of_offence">Type of Offence</label> <select id="type_of_offence" class="select " name="category"> <?php // ======= Custom post types category drop down ======== $taxonomy = 'portfolio_entries'; $terms = get_terms($taxonomy); // Get all terms of a taxonomy if ( $terms && !is_wp_error( $terms ) ) : foreach ( $terms as $term ) { echo '<option value="' . get_term_link($term->slug, $taxonomy) . '">' . $term->name . '</option>'; } endif; ?> </select> </p> <p id="element_description"> <label for="description" class="textare_label hidden textare_label_avia_description">Description</label> <textarea id="description" rows="7" cols="40" class="text_area " name="description"></textarea> </p> <p id="element_image_upload"> <label for="image_upload">Image Upload</label> <input id="image_upload" type="file" value="" class="text_input" name="image"> </p> <p id="element_tags"> <label for="post_tags">Tags <small>(Comma Separated List)</small></label> <input id="post_tags" type="text" value="" class="text_input " name="post_tags"> </p> <p id="hidden_submit"> <input type="hidden" name="form" value="1"> <!-- on click, do wordpress action new_post --> <input type="submit" class="button" name="submit" value="Submit"> </p> <!-- ensure post is coming from site and not elsewhere --> <input type="hidden" name="action" value="new_post" /> <?php wp_nonce_field( 'new-post' ); ?> </fieldset> </form> </div>The form functions:
<?php if( 'POST' == $_SERVER['REQUEST_METHOD'] && !empty( $_POST['action'] ) && $_POST['action'] == "new_post") { // Do some minor form validation to make sure there is content if (isset ($_POST['offender_ign'])) { $title = $_POST['offender_ign']; } else { echo 'Please enter the In Game Name (IGN) of the offender'; } if (isset ($_POST['description'])) { $description = $_POST['description']; } else { echo 'Please enter some notes about the hate speech'; } $tags = $_POST['post_tags']; // ADD THE FORM INPUT TO $new_post ARRAY $new_post = array( 'post_title' => $title, 'post_content' => $description, 'post_category' => array($_POST['category']), // Usable for custom taxonomies too 'tags_input' => array($tags), 'post_status' => 'pending', // Choose: publish, preview, future, draft, etc. 'post_type' => 'portfolio' //'post',page' or use a custom post type if you want to ); //SAVE THE POST $pid = wp_insert_post($new_post); //SET OUR TAGS UP PROPERLY wp_set_post_tags($pid, $_POST['post_tags']); // Image handling if ($_FILES) { foreach ($_FILES as $file => $array) { $newupload = insert_attachment($file,$pid); // $newupload returns the attachment id of the file that // was just uploaded. Do whatever you want with that now. } } //REDIRECT ON SAVE $link = "/success"; wp_redirect( $link ); } // END THE IF STATEMENT THAT STARTED THE WHOLE FORM //POST THE POST YO do_action('wp_insert_post', 'wp_insert_post'); ?>Topic: Adding Custom Social Icons
Topic: Error Install
Hi,
I have error when I install Enfold :
Warning: session_start(): open(/tmp/sess_781b389550d0a110632ca2beef0d8dc6, O_RDWR) failed: Permission denied (13) in /home/adgroup/public_html/wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php on line 33
Warning: Unknown: open(/tmp/sess_781b389550d0a110632ca2beef0d8dc6, 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
Help me thanks
Topic: Problem activate the theme
Hi.
After pressing the activation – Admin panel was white page and edit anything. I tried an install theme for WordPress 3.8 and 3.7.
Installation was under the instruction. This new site, the new database, my server: apache 2.2.25; php 5.4.17; mysql 5.5.33
Can I get an older version of Enfold Theme?
Help, please.
My email for reply
(Email address hidden if logged out)Thanks in advance,
Vlad.Hi,
I’m wanting to use Raleway 400,500,600 weights:
paragraph – raleway 500;
h1 {
font-family: ‘Raleway’, san serif;
font-size: 20px;
line-height: 23px;
font-weight: 500;
color: #a37908;
}
h2 {
font-family: ‘Raleway’, san serif;
font-size: 14px;
line-height: 16px;
font-weight: 600;
color: #a37908;
}I’ve added this into functions.php as above but not sure how to set the rest.
add_filter( ‘avf_google_heading_font’, ‘avia_add_heading_font’);
function avia_add_heading_font($fonts)
{
$fonts[‘Raleway’] = ‘Raleway:400,500,600’;
return $fonts;
}add_filter( ‘avf_google_content_font’, ‘avia_add_content_font’);
function avia_add_content_font($fonts)
{
$fonts[‘Raleway’] = ‘Raleway:400,500,600’;
return $fonts;
}Thanks!
Hi – I’ve got enfold on two websites. One with godaddy and one with wp-engine for two different but related companies (two different copies were bought).
I’ve lost control over the header, footer, and color choices and sizing on one copy.
On my machines (two laptops, tablet, phone) on three different networks – we keep seeing tan headers and footers. I’ve adjusted on enfold to be something wild and different to illustrate the point – like pink and red.
But the changes don’t seem to be taking effect.
I can add pages, information, images, but I can’t control the style colors.http://www.seaislandgaexperts.com is the website.
wp-engine has told me they see no issues and can’t help me
they can’t replicate the issuethey seem to be able to see different colors – but I can’t.
ive reset the router, the cable modem, the computer, cleared cache, surfed on private settings
nothing seems to work!Anyone have any ideas? I’m at a total loss
Did find an error code on my hosting, but im a newbie and its greek to me:
[Sat Jan 18 19:07:46 2014] [error] [client 66.249.73.41] PHP Fatal error: Call to undefined function get_header() in /nas/wp/www/cluster-1030/albrowncompany/wp-content/themes/enfold/index.php on line 9

