Forum Replies Created
-
AuthorPosts
-
January 24, 2014 at 1:22 pm in reply to: How to add social sharing icon to each masonry blog list #214384
Hi!
Great – glad it worked :)
Best regards,
PeterJanuary 24, 2014 at 1:21 pm in reply to: Footer widgets not showing on frontpage/homepage, but showing on all other pages #214380Hi!
Ich konnte keinen Fehler im Code finden. Ich werde daher die Sache an Kriesi weiterleiten – möglicherweise kann er einen Fehler entdecken oder uns Gründe nennen, warum es auf euren Server nicht geht.
Cheers!
PeterHi!
You can try to install a plugin like: http://wordpress.org/plugins/popup-contact-form/ or http://wordpress.org/plugins/simplemodal-contact-form-smcf/ or http://wordpress.org/plugins/ninja-forms-modal/ or http://codecanyon.net/item/modal-contact-form-for-wordpress/302576 – I’m not sure if they’re all compatible with Enfold but it’s worth a try. If you need help with the implementation of a custom script or code please hire a freelancer here: http://www.microlancer.com/ or here: http://kriesi.at/contact/customization but imo it’s better to rely on a third party plugin in this case.
Regards,
PeterHi!
1) Folgender Code in enfold/css/custom.css
.sub_menu ul:first-child > li > a { display: block; padding: 0 0px; font-weight: lighter; font-size: 10px; }
beeinflusst das Menü und verursacht den Fehler. Bitte entferne den Code (bzw. zumindest das padding Attribut) um den Fehler zu beheben.
2) Du könntest dieses Plugin installieren: http://wordpress.org/plugins/user-shortcodes/ und dann zB den [currentuser_username] Shortcode im “Titel” Feld eines Menüpunktes verwenden. Wenn du dieses Link nicht klickbar machen möchtest verwende das “Links” Feld auf der linken Seite und füge in das URL Feld nur “#” (ohne “”) ein und in das Link Text Feld den Shortcode (zB Willkommen [currentuser_username]). Das Menu + Submenü musst dann zweimal angelegt werden – einmal für angemeldete User und einmal für nicht angemeldete User.
2)
Cheers!
PeterHi Imburr!
Please insert this code into your functions.php file
if(!function_exists('avia_modify_blog_breadcrumb')) { add_filter('avia_breadcrumbs_trail','avia_modify_blog_breadcrumb'); function avia_modify_blog_breadcrumb($trail) { if(get_post_type() === "post" && (is_single() || is_category() || is_archive() || is_tag())) { $blogid = 20; if($blogid) { $blog = '<a href="' . get_permalink( $blogid ) . '" title="' . esc_attr( get_the_title( $blogid ) ) . '">' . get_the_title( $blogid ) . '</a>'; array_splice($trail, 1, 0, array($blog)); } } return $trail; } }
and replace 20 with the id of your blog page.
Best regards,
PeterHi susannetessamueller!
1) Yes, please update your theme to Enfold 2.4.5. You can download the update from http://themeforest.net and then use ftp to update the theme: https://vimeo.com/channels/aviathemes/67209750
2) If the update doesn’t help deactivate all third party plugins – maybe one or more plugins are incompatible with wp3.8.
3) If this still doesn’t help try to re-install wp3.8. (with ftp).
Best regards,
PeterHi Corina!
I can’t find the widget on your homepage/website: http://www.essenceofyoga.com.au ?
Cheers!
PeterJanuary 24, 2014 at 10:34 am in reply to: How to add social sharing icon to each masonry blog list #214329Hi apptwork!
Try following code
if(strpos($this->atts['caption_elements'], 'title') !== false){ $markup = avia_markup_helper(array('context' => 'entry_title','echo'=>false)); $items .= "<h3 class='av-masonry-entry-title entry-title' {$markup}>{$the_title}</h3>"; $items .= "<div class='fb-share-button' data-href='".get_permalink($entry['ID'])."' data-width='100px' data-type='icon'></div>"; <-- i need help for data-href link }
Regards,
PeterHey!
For a temporary fix you can try to insert this code at the very bottom of enfold/js/avia.js:
(function($){ $(document).ready(function() { setTimeout(function(){jQuery('body').AviaCcrollCorrection({duration: 1000});}, 1500); }); })( jQuery ); // ------------------------------------------------------------------------------------------- // Scroll correction which removes the height of the menu if necessary // ------------------------------------------------------------------------------------------- (function($) { $.fn.AviaCcrollCorrection = function(options) { var defaults = { duration: 500, easing: 'easeInOutQuint' }; var options = $.extend(defaults, options); var fixedMainPadding = parseInt($('.fixed_header #main').css('padding-top'),10) / 2 || 0; fixedMainPadding += parseInt($('html').css('margin-top'),10); var hash = window.location.hash; if(hash != '' && hash != '#' && hash != '#prev' && hash != '#next') { var container = $(hash); if(container.length) { if(container.offset().top > fixedMainPadding) { var target = container.offset().top - fixedMainPadding; $('html:not(:animated),body:not(:animated)').animate({ scrollTop: target }, options.duration, options.easing); } } } }; })(jQuery);
Cheers!
PeterThis reply has been marked as private.January 24, 2014 at 10:09 am in reply to: Footer widgets not showing on frontpage/homepage, but showing on all other pages #214320Hi!
Please create me an admin account and post the login credentials as private reply – I’ll debug the code and check what causes the issue.
Best regards,
PeterHi!
1) Please update your theme to version 2.4.5
2) Please make the theme folder writable – otherwise I can’t debug the code.
Best regards,
PeterHey!
Did you test the code I posted here: https://kriesi.at/support/topic/post_gallery-filter/#post-213804 ? I tested it again and it works for me. I just added a gallery element, uploaded some pics, set the url: http://www.clipular.com/c/4546260648329216.png?k=Z0vjY5c4YaE0OpYIHM2x__0tv2E , and then saved the element. Make sure you use the “small thumbnail” gallery type because the “big preview” image doesn’t support custom urls. I’ll look into it – maybe we can implement it but I’m not sure…
Cheers!
PeterJanuary 23, 2014 at 5:58 pm in reply to: Portfolio Gallery : Unterdrücken der großen Previewbilder #213999Hi susannetessamueller!
Ihr könnt es einfach mit CSS verstecken – fügt hierzu diesen Code in das Quick CSS Feld ein
#top .portfolio-preview-image .avia-gallery .avia-gallery-big { display: none !important; }
Cheers!
PeterHi!
Ok :)
Regards,
PeterHi!
It’s working on my test server and it must be a configuration issue. Please create me an admin account (post the login credentials as private reply) and post a link to your gallery page.
Cheers!
PeterJanuary 23, 2014 at 5:17 pm in reply to: Problem with Campaign Monitor Ajax Forms – websites show 404 error #213958Hey poppenhaeger!
Go to Settings > Permalinks and hit the “Save” button – this should force WP to flush the permalink rules…
Best regards,
PeterHi!
Enfold selbst rechnet bei den Bildern gar nichts, sondern der Browser skaliert das Bild anhand des CSS Codes. Daher Enfold gibt zB die Weite der Spalte mit 25% der Container Breite vor und der Browser errechnet sich dann anhand der 25% die exakte Pixelbreite + Höhe des Bildes und skaliert dann anschließend das Bild. Wie der Browser das Bild skaliert kann man dann nur sehr wenig beeinflussen. Eine Möglichkeit (und soweit ich weiß die einzige Lösung) wäre das imageRendering css Attribut: https://developer.mozilla.org/en-US/docs/Web/CSS/image-rendering zu verwenden, um den Browser zu zwingen die “beste Qualität” zu rendern. Versuche einmal folgenden Code in das Quick CSS Feld einzufügen:
#top .flex_column img { -ms-interpolation-mode: bicubic !important; image-rendering: optimizeQuality !important; }
Best regards,
PeterJanuary 23, 2014 at 4:10 pm in reply to: serious editor issue and product slider malfunction. #213914Hi!
Please create us an admin account and post the login credentials as private reply. There’s a weird “yit-wcan-container” div in the product slides code which probably breaks the slideshow and which is not part of the standard theme or woocommerce code. I’m pretty sure a plugin or some custom code adds this div to the product slides…
Best regards,
PeterHey modelity!
Our theme removes the entries( pages, etc.) of the other languages by default because many user (who have to maintain many pages) requested this feature. If you want to include all pages (English, Finish, etc. entries) into the select option insert following code at the very bottom of functions.php
add_action( 'init', 'avia_deactivate_wpml_page_filter', 10); function avia_deactivate_wpml_page_filter(){ remove_filter( 'avf_dropdown_post_query', 'avia_wpml_filter_dropdown_post_query', 10, 4); }
Regards,
PeterHi!
I debugged the code on my server and I noticed that the link data requires an array – please try this code
add_filter('avf_avia_builder_gallery_image_link', 'avia_change_gallery_thumbnail_link', 10, 4); function avia_change_gallery_thumbnail_link($link, $attachment, $atts, $meta) { $custom_url = get_post_meta($attachment->ID, '_gallery_link_url', true); if(!empty($custom_url)) $link[0] = $custom_url; return $link; }
Cheers!
PeterHi!
Fortunately the error is more specific in this case. The user posted a screenshot which shows the error “session_start invalid argument (22)” and used google drive for the document.
Cheers!
PeterHey!
Thanks for the comment :)
Best regards,
PeterHey lathomas42!
No, unfortunately the post type is hardcoded into the framework and you can’t replace it. If you want to change the label on the admin page and on the search result list you can modify the label text strings in wp-content/themes/enfold/includes/admin/register-portfolio.php though – search for
$labels = array( 'name' => _x('Portfolio Items', 'post type general name','avia_framework'), 'singular_name' => _x('Portfolio Entry', 'post type singular name','avia_framework'), 'add_new' => _x('Add New', 'portfolio','avia_framework'), 'add_new_item' => __('Add New Portfolio Entry','avia_framework'), 'edit_item' => __('Edit Portfolio Entry','avia_framework'), 'new_item' => __('New Portfolio Entry','avia_framework'), 'view_item' => __('View Portfolio Entry','avia_framework'), 'search_items' => __('Search Portfolio Entries','avia_framework'), 'not_found' => __('No Portfolio Entries found','avia_framework'), 'not_found_in_trash' => __('No Portfolio Entries found in Trash','avia_framework'), 'parent_item_colon' => '' );
and replace Portfolio Items, Portfolio Entry, etc. with your custom text.
Cheers!
PeterHi!
You can overwrite all parent theme shortcodes or elements with the child theme – see: https://kriesi.at/support/topic/have-easyslider-fill-up-entire-column-with-no-padding-or-margins/#post-205281
Best regards,
PeterHi!
Great – we don’t need a medic :)
Best regards,
PeterJanuary 23, 2014 at 10:24 am in reply to: Footer widgets not showing on frontpage/homepage, but showing on all other pages #213758Hi!
Do you use any WooCommerce element (widget, product slider, etc.) on the front page?
Best regards,
PeterHey!
You can use a plugin – I recommend to search the repository here: http://wordpress.org/plugins/search.php?q=login+redirect
Cheers!
PeterHi!
Open up wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/postslider.php and replace
$output .= "<time class='slide-meta-time updated' $markup>" .get_the_time(get_option('date_format'), $the_id)."</time>";
with
$output .= "<time class='slide-meta-time updated' $markup>" .get_the_time(get_option('date_format'), $the_id)."</time>"; $taxonomies = get_object_taxonomies(get_post_type($the_id)); $cats = ''; $excluded_taxonomies = apply_filters('avf_exclude_taxonomies', array('post_tag','post_format'), get_post_type($the_id), $the_id); if(!empty($taxonomies)) { foreach($taxonomies as $taxonomy) { if(!in_array($taxonomy, $excluded_taxonomies)) { $cats .= get_the_term_list($the_id, $taxonomy, '', ', ','').' '; } } } if(!empty($cats)) { $output .= '<div class="slide-meta-cats">'.__('in','avia_framework')." "; $output .= $cats; $output .= '</div><div class="slide-meta-del">/</div>'; } $tags = get_the_tags(); $tag_links = ''; foreach ($tags as $tag) { $tag_links = '<a href="'.get_tag_link($tag->term_id).'">'.$tag->name.'</a>, '; } if(!empty($tag_links)) { $output .= '<div class="slide-meta-tags">'; $output .= $tag_links; $output .= '</div><div class="slide-meta-del">/</div>'; }
Best regards,
PeterHi!
Tbh I’m not sure why some font icons work and some don’t. I can remember Kriesi posted this fix for another user
Seems this is an Apache Server configuration problem with font files. I added the following to the htaccess file and it seems to work for me now:
For everyone else encountering this issue please try to do the same :)
Also for anyone else and my team: this might come in handy when dealing with font problems: http://www.fontsquirrel.com/blog/2010/11/troubleshooting-font-face-problems– maybe it solves the problem for you too. If not try to re-install all theme files with ftp: https://vimeo.com/channels/aviathemes/67209750 . maybe one or more theme or font files are damaged/corrupt and thus they don’t work.
Cheers!
Peter -
AuthorPosts