Forum Replies Created
-
AuthorPosts
-
June 7, 2013 at 5:52 am in reply to: Arrows for portfolio images not working in internet explorer? #120203
I couldn’t reproduce the thumbnail issue on IE10 and 9: http://www.screenr.com/uCBH
IE8 displayed slightly smaller thumbnails but they’re still squared and not distorted, etc.
You can try to add a min-width to the thumbnails though – add following code to the quick css field:
#top div .avia-gallery img {
min-width: 120px;
min-height: 120px;
}This should force IE8 to display the images with at least 120px width/height or more (depends on the thumbnail size).
June 7, 2013 at 5:42 am in reply to: Enfold – Modifying the Information displayed below post title #122921Hey!
I hope you managed to modify the post meta section?
Regards,
Peter
1) In wp-contentthemesenfoldincludeshelper-post-format.php delete following line:
add_filter( 'post-format-video', 'avia_video_slideshow_filter', 10, 1 );
2) Replace
$current_post['title'] = "<blockquote class='first-quote'>".$current_post['title']."</blockquote>";
with
$current_post['title'] = "<a href='".get_permalink()."' rel='bookmark' title='". __('Permanent Link:','avia_framework')." ".$current_post['title']."'><blockquote class='first-quote'>".$current_post['title']."</blockquote></a>";
Hi!
No, it’s not possible at the moment. We’ll maybe add such a feature to the theme framework in the future but for now only the bundled icons can be used.
Best regards,
Peter
Hi!
In functions-enfold.php replace:
if($breadcrumb) $additions .= avia_breadcrumbs(array('separator' => '/'));
with
if($breadcrumb) $additions .= avia_breadcrumbs(array('separator' => '/', 'before' => ''));
Regards,
Peter
Hi!
Which theme version are you using? I can’t reproduce this issue with Enfold 1.5.1.
Best regards,
Peter
We’ll fix this in the next version (will be released this week). For now open up wp-contentthemesenfoldconfig-templatebuilderavia-shortcodespostslider.php and replace
switch($contents)
{
case "excerpt":
$excerpt = $entry->post_excerpt;
$title = $entry->post_title;
break;
case "excerpt_read_more":
$excerpt = $entry->post_excerpt;
$excerpt .= $permalink;
$title = $entry->post_title;
break;
case "title":
$excerpt = '';
$title = $entry->post_title;
break;
case "title_read_more":
$excerpt = $permalink;
$title = $entry->post_title;
break;
case "only_excerpt":
$excerpt = $entry->post_excerpt;
$title = '';
break;
case "only_excerpt_read_more":
$excerpt = $entry->post_excerpt;
$excerpt .= $permalink;
$title = '';
break;
case "no":
$excerpt = '';
$title = '';
break;
}with
$post_excerpt = $entry->post_excerpt;
if(empty($post_excerpt)) $post_excerpt = avia_backend_truncate($entry->post_content, apply_filters( 'custom_excerpt_length' , 45) , ".", "…", true);
switch($contents)
{
case "excerpt":
$excerpt = $post_excerpt;
$title = $entry->post_title;
break;
case "excerpt_read_more":
$excerpt = $post_excerpt;
$excerpt .= $permalink;
$title = $entry->post_title;
break;
case "title":
$excerpt = '';
$title = $entry->post_title;
break;
case "title_read_more":
$excerpt = $permalink;
$title = $entry->post_title;
break;
case "only_excerpt":
$excerpt = $post_excerpt;
$title = '';
break;
case "only_excerpt_read_more":
$excerpt = $post_excerpt;
$excerpt .= $permalink;
$title = '';
break;
case "no":
$excerpt = '';
$title = '';
break;
}Hey!
Yes, my mistake. get_the_excerpt() doesn’t accept an id. I rewrote the code a bit and it should work now.
Best regards,
Peter
I’m not sure if there’s a working plugin out there but you can try to hide items with a custom class. Insert the class into the css class field (eg use “hide-item-not-login” (without “”))
and insert following code into the quick css field
.hide-item-not-login{
display: none !important;
}
.logged-in .hide-item-not-login{
display: block !important;
}Hi!
If you’re using wordpress embeds you can try this fix: http://www.wpbeginner.com/wp-tutorials/how-to-prevent-youtube-oembed-from-overriding-your-wordpress-content/ – add it to the bottom of functions.php.
Regards,
Peter
Hey!
Try to insert following code into the quick css field
.main_menu ul:first-child > li {
border: none !important;
}Best regards,
Peter
Hi!
I guess version 1.6 will be available this week.
Best regards,
Peter
June 6, 2013 at 11:43 am in reply to: How to Increase Font Size and Special Heading Isn't Responsive #122841Please replace
$output .= "<h2 class='post-title'>";
$output .= " <a href='".get_permalink()."' rel='bookmark' title='". __('Permanent Link:','avia_framework')." ".$current_post['title']."'>".$current_post['title'];
$output .= " <span class='post-format-icon minor-meta'></span>";
$output .= " </a>";
$output .= "</h2>";with
$output .= "<h1 class='post-title'>";
$output .= " <a href='".get_permalink()."' rel='bookmark' title='". __('Permanent Link:','avia_framework')." ".$current_post['title']."'>".$current_post['title'];
$output .= " <span class='post-format-icon minor-meta'></span>";
$output .= " </a>";
$output .= "</h1>";or (if you don’t want to use h1 headlines on blog & archive pages) use
$headlinetype = is_single() ? 'h1' : 'h2';
$output .= "<$headlinetype class='post-title'>";
$output .= " <a href='".get_permalink()."' rel='bookmark' title='". __('Permanent Link:','avia_framework')." ".$current_post['title']."'>".$current_post['title'];
$output .= " <span class='post-format-icon minor-meta'></span>";
$output .= " </a>";
$output .= "</headlinetype>";Hi!
Try to insert following code into the quick css field:
.logo img {
width: 100%;
}Best regards,
Peter
It depends on how you update the theme. If you just overwrite the old files with the new, update files (eg by using ftp) the custom elements won’t be affected (or only if we add a file with the same file name – however the risk is not very high :) ). However if you delete the entire theme folder first you need to make a backup of the elements.
You can also try to place the element code/class into a child theme but I’m not sure if this works out because all elements extend the “aviaShortcodeTemplate” class and if the template builder plugin is not loaded (which can happen because the child theme functions.php will load first) then you’ll probably get an error. In this case I’d recommend to copy the content of functions.php to your child theme and to set the “use_child_theme_functions_only” to “true” (see comment at the top of functions.php).
$avia_config['use_child_theme_functions_only'] = true;
If you want to view your shortcodes you can also activate the debug mode: https://kriesi.at/support/topic/export-theme-settings-and-templates
You can i.e. copy/paste the output of the debug field into the standard editor and modify it there.
Hey!
Yes, actually http://wpml.org/documentation/getting-started-guide/language-setup/custom-language-switcher/ mentions another sort parameter and a function rewrite is not required.
You can try to replace following code in wp-contentthemesenfoldconfig-wpmlconfig.php:
$languages = icl_get_languages('skip_missing=0&orderby=id');
with
$languages = icl_get_languages('skip_missing=0&orderby=custom');
Best regards,
Peter
June 5, 2013 at 7:36 am in reply to: Enfold – Modifying the Information displayed below post title #122919You can edit the meta information in wp-contentthemesenfoldincludesloop-index.php – search for:
echo "<span class='post-meta-infos'>";
echo "<span class='date-container minor-meta'>".get_the_time('d M Y')."</span>";
echo "<span class='text-sep'>/</span>";
if ( get_comments_number() != "0" || comments_open() ){
echo "<span class='comment-container minor-meta'>";
comments_popup_link( "0 ".__('Comments','avia_framework'),
"1 ".__('Comment' ,'avia_framework'),
"% ".__('Comments','avia_framework'),'comments-link',
"".__('Comments Disabled','avia_framework'));
echo "</span>";
echo "<span class='text-sep'>/</span>";
}
$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))
{
echo '<span class="blog-categories minor-meta">'.__('in','avia_framework')." ";
echo $cats;
echo '</span><span class="text-sep">/</span>';
}
echo '<span class="blog-author minor-meta">'.__('by','avia_framework')." ";
the_author_posts_link();
echo '</span>';
echo '</span>';Open up wp-contentthemesenfoldframeworkphpclass-breadcrumb.php and delete following line:
$textdomain = 'avia_framework';
Then replace all occurences of
$textdomain
with
'avia_framework'
We’ll fix this in the next version. The problem is that WPML doesn’t “read” variables – thus it will only translate text strings if the textdomain is hardcoded.
Hey!
No, at the moment it’s not easily possible. We’ll maybe add some sort of “font file builder” to the theme framework but we’ve other priorities at the moment.
Regards,
Peter
Hi!
You just need to place your element into the wp-contentthemesenfoldconfig-templatebuilderavia-shortcodes folder. The template builder will initialize it automatically.
Regards,
Peter
Hi!
I marked this thread for Kriesi.
Regards,
Peter
Hi!
No, unfortunately the coming soon page does not support a countdown. You can try a plugin like: http://shailan.com/2276/how-to-add-a-countdown-to-your-post-using-shortcode/ but I didn’t test it with Enfold.
Regards,
Peter
Hi!
Use following code instead
.fixed_header #header {
margin-top: 0 !important;
top: 0px !important;
}Best regards,
Peter
June 5, 2013 at 6:46 am in reply to: Dummy Data causing Problems (This site is under development) #123111Glad it works now. If you don’t want the duplicate content I’d start from scratch – just delete the database, create a new one and import the dummy data one time. Another solution would be to delete the entries manually – afaik the dummy import doesn’t add more than 20 pages and this can be done in seconds.
June 5, 2013 at 6:42 am in reply to: Problem: 1/2 COLUMN + ACCORDION + SHORTCODE CONTACT FORM #123138Hey!
I can’t reproduce the issue on my test server. Please post a link to your website.
Regards,
Peter
Hi!
Which blog layout are you using?
Regards,
Peter
Add following code to the bottom of function.php:
$themeNice = avia_backend_safe_string(THEMENAME);
update_option("{$themeNice}_layerslider_activated", '0');Then save the file, reload the option page and delete the code. This should force enfold to reimport the sliders.
We’ll fix this in the next version. For now open up wp-contentthemesenfoldconfig-templatebuilderavia-shortcodespostslider.php and replace
switch($contents)
{
case "excerpt":
$excerpt = $entry->post_excerpt;
$title = $entry->post_title;
break;
case "excerpt_read_more":
$excerpt = $entry->post_excerpt;
$excerpt .= $permalink;
$title = $entry->post_title;
break;
case "title":
$excerpt = '';
$title = $entry->post_title;
break;
case "title_read_more":
$excerpt = $permalink;
$title = $entry->post_title;
break;
case "only_excerpt":
$excerpt = $entry->post_excerpt;
$title = '';
break;
case "only_excerpt_read_more":
$excerpt = $entry->post_excerpt;
$excerpt .= $permalink;
$title = '';
break;
case "no":
$excerpt = '';
$title = '';
break;
}with
$post_excerpt = $entry->post_excerpt;
if(empty($post_excerpt)) $post_excerpt = avia_backend_truncate($entry->post_content, apply_filters( 'custom_excerpt_length' , 45) , ".", "…", true);
switch($contents)
{
case "excerpt":
$excerpt = $post_excerpt;
$title = $entry->post_title;
break;
case "excerpt_read_more":
$excerpt = $post_excerpt;
$excerpt .= $permalink;
$title = $entry->post_title;
break;
case "title":
$excerpt = '';
$title = $entry->post_title;
break;
case "title_read_more":
$excerpt = $permalink;
$title = $entry->post_title;
break;
case "only_excerpt":
$excerpt = $post_excerpt;
$title = '';
break;
case "only_excerpt_read_more":
$excerpt = $post_excerpt;
$excerpt .= $permalink;
$title = '';
break;
case "no":
$excerpt = '';
$title = '';
break;
} -
AuthorPosts