Forum Replies Created

Viewing 30 posts - 8,701 through 8,730 (of 9,352 total)
  • Author
    Posts
  • 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).

    Hey!

    I hope you managed to modify the post meta section?

    Regards,

    Peter

    in reply to: Video position & Blockquote link #123292

    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>";

    in reply to: Custom icon for IconBox #123528

    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

    in reply to: breadcrumbs – change "you are here" #123318

    Hi!

    In functions-enfold.php replace:

    if($breadcrumb) $additions .= avia_breadcrumbs(array('separator' => '/'));

    with

    if($breadcrumb) $additions .= avia_breadcrumbs(array('separator' => '/', 'before' => ''));

    Regards,

    Peter

    in reply to: blogpost don't show excerpt #123304

    Hi!

    Which theme version are you using? I can’t reproduce this issue with Enfold 1.5.1.

    Best regards,

    Peter

    in reply to: Blog Grid excerpt gone after 1.5 update #123310

    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;
    }

    in reply to: Default excerpt length for Grid Layout #122811

    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

    in reply to: Hide Menu Items #123090

    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;
    }

    in reply to: stop videos from overlapping header #122233

    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

    in reply to: Thin dotted line on mega menu #123212

    Hey!

    Try to insert following code into the quick css field

    .main_menu ul:first-child > li {
    border: none !important;
    }

    Best regards,

    Peter

    in reply to: Problem with some fonts and slide #123041

    Hi!

    I guess version 1.6 will be available this week.

    Best regards,

    Peter

    @bakbek – insert following code into the quick css field

    body{
    font-size: 13px;
    line-height: 1.65em;
    }

    and change the font size value & line height value.

    @Ukiain – use following code

    #top .main_menu .menu > li{
    font-size: 13px;
    }

    and change the font size value if necessary.

    in reply to: How to change the Post Title to H1 #123032

    Please 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>";

    in reply to: Disable logo resize #122934

    Hi!

    Try to insert following code into the quick css field:

    .logo img {
    width: 100%;
    }

    Best regards,

    Peter

    in reply to: More "Content Elements" #123052

    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;

    in reply to: Template redirect to template-builder #122789

    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.

    in reply to: WPML only flags inline sorting #123086

    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

    You 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.

    in reply to: More Icons #123049

    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

    in reply to: More "Content Elements" #123050

    Hi!

    You just need to place your element into the wp-contentthemesenfoldconfig-templatebuilderavia-shortcodes folder. The template builder will initialize it automatically.

    Regards,

    Peter

    in reply to: Jumbo menu not aligned #122978

    Hi!

    I marked this thread for Kriesi.

    Regards,

    Peter

    in reply to: Countdown for Coming Soon page #122999

    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

    in reply to: Header Troubles #123000

    Hi!

    Use following code instead

    .fixed_header #header {
    margin-top: 0 !important;
    top: 0px !important;
    }

    Best regards,

    Peter

    Glad 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.

    Hey!

    I can’t reproduce the issue on my test server. Please post a link to your website.

    Regards,

    Peter

    in reply to: How to sort posts chronologically in archive view #123150

    Hi!

    Which blog layout are you using?

    Regards,

    Peter

    in reply to: LAYERSLIDERS DELETED #123153

    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.

    in reply to: Default excerpt length for Grid Layout #122807

    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;
    }

Viewing 30 posts - 8,701 through 8,730 (of 9,352 total)