Discussion on Enfold - Responsive Multi-Purpose Theme

Kriesi

Kriesi supports this item

Supported

11594 comments found.

kostertje

kostertje Purchased

WOW! what’s wrong with my website and your forum?! white pages and i cant contact you guys.. help!!!

Hello,

1- How does adding a second horizontal navigation menu for the blog works? I see this example http://prntscr.com/lt8thk

Is it possible to show only some categories on that menu? If I have a dozen blog post categories,can I only show 5 that I choose on there?

2- Is it possible to add a sort of banner that is for the only the blog home page?

I don’t want that banner to show on the blog post page or globally, only on the blog index page.

Please check out this wireframe screenshot where I highlight what I’m trying to accomplish with these two questions.

http://prntscr.com/ls5ji1

3- Is it possible to add posts that show up in the grid but instead of opening a post, it just forwards the user to any link I choose. I know this can be done with a redirect plugin, but is this functionality available out of the box?

3a- Same question, but instead of forwarding the user to a link, when the user clicks the post, it calls open a pop-in like a “subscribe to our blog” form?

4- Is it possible to adjust the grid so that some “posts” show as different shapes like this? http://prntscr.com/ls5lpj

Having issues with the site since Wordpress updated to version 5, also i am not getting an update on Wordpress for the theme to the new version of enfold you guys have. Can someone please contact me for some assistance.

I would like to be able to change the base color for the social icon on the top header to our brand colors. Fb icon #485868 Twitter #f37360 and so on – how can I do that?

rohan_sh

rohan_sh Purchased

hey i have purchased the theme. by putting the licence key its showing certain problem please help me out in knowing the matter.!

Last time we checked the token we were not able to connected to Envato:

Purchases could not be accessed Username could not be accessed (needed for your information only) E-Mail could not be accessed (needed for your information only) Following errors occured:

Purchases: Your private token is invalid. username Your private token is invalid. email Your private token is invalid. Purchases: A problem occured accessing your purchases. Unable to check for updates

Hi, is there a message storage plugin(like flamingo) that integrate with default contact form plugin in Enfold theme?

nadworks

nadworks Purchased

We would love to see the entire palette of google fonts implemented into the default theme (without the need to manually add them) and an ability to preview font intuitively (i.e. via customiser).

The way it’s currently managed is unnecessarily tedious.

dabarian

dabarian Purchased

When I insert an image into the portfolio it loses resolution, how do I solve it?

https://kriesi.at/support/topic/portfolio-images-losing-resolution/

config-templatebuilder/avia-shortcodes/postslider.php

I need to get “in category” to be in the following order i.e. (date-time in category by author) it is currently sitting above the meta info line. Code below from postslider.php—thanks

<?php /* * Post/Page Content * * Element is in Beta and by default disabled. Todo: test with layerslider elements. currently throws error bc layerslider is only included if layerslider element is detected which is not the case with the post/page element */

if ( !class_exists( ‘avia_sc_postslider’ )) { class avia_sc_postslider extends aviaShortcodeTemplate { array( “name” => __(“Post Slider Transition”, ‘avia_framework’ ), “desc” => __(“Choose the transition for your Post Slider.”, ‘avia_framework’ ), “id” => “animation”, “type” => “select”, “std” => “fade”, “subtype” => array((‘Slide’,’avia_framework’ ) =>’slide’,(‘Fade’,’avia_framework’ ) =>’fade’), ), */ }

array(
                    "name"     => __("Autorotation active?",'avia_framework' ),
                    "desc"     => __("Check if the slideshow should rotate by default",'avia_framework' ),
                    "id"     => "autoplay",
                    "type"     => "select",
                    "std"     => "no",
                    "subtype" => array(('Yes','avia_framework' ) =>'yes',('No','avia_framework' ) =>'no')),
array(
            "name"     => __("Slideshow autorotation duration",'avia_framework' ),
            "desc"     => __("Slideshow will rotate every X seconds",'avia_framework' ),
            "id"     => "interval",
            "type"     => "select",
            "std"     => "5",
            "required"     => array('autoplay','equals','yes'),
            "subtype" =>
            array('3'=>'3','4'=>'4','5'=>'5','6'=>'6','7'=>'7','8'=>'8','9'=>'9','10'=>'10','15'=>'15','20'=>'20','30'=>'30','40'=>'40','60'=>'60','100'=>'100')),
}
);
if(current_theme_supports('add_avia_builder_post_type_option'))
{
    $element = array(
        "name"     => __("Select Post Type", 'avia_framework' ),
        "desc"     => __("Select which post types should be used. Note that your taxonomy will be ignored if you do not select an assign post type.
                      If yo don't select post type all registered post types will be used", 'avia_framework' ),
        "id"     => "post_type",
        "type"     => "select",
        "multiple"    => 6,
        "std"     => "",
        "subtype" => AviaHtmlHelper::get_registered_post_type_array()
    );
}
array_unshift($this->elements, $element);
/*
 * Editor Element - this function defines the visual appearance of an element on the AviaBuilder Canvas
 * Most common usage is to define some markup in the $params['innerHtml'] which is then inserted into the drag and drop container
 * Less often used: $params['data'] to add data attributes, $params['class'] to modify the className
 *
 *
 * @param array $params this array holds the default values for $content and $args.
 * @return $params the return array usually holds an innerHtml key that holds item specific markup.
 /
function editor_element($params)
{
    $params['innerHtml'] = "";
    $params['innerHtml'].= " ".$this->config['name']." ";
    $params['content']      = NULL; //remove to allow content elements
    return $params;
}
/*
 * Frontend Shortcode Handler
 *
 * @param array $atts array of attributes
 * @param string $content text within enclosing form of shortcode element
 * @param string $shortcodename the shortcode found, when == callback name
 * @return string $output returns the modified html string
 */
function shortcode_handler($atts, $content = "", $shortcodename = "", $meta = "")
{
    if(isset($atts['link']))
    {
        $atts['link'] = explode(',', $atts['link'], 2 );
        $atts['taxonomy'] = $atts'link';
}
if(isset($atts'link'))
    {
        $atts['categories'] = $atts'link';
    }
}
$atts['class'] = $meta['el_class'];
$slider = new avia_post_slider($atts);
$slider->query_entries();
return $slider->html();
}

if ( !class_exists( ‘avia_post_slider’ ) ) { class avia_post_slider { static $slide = 0; protected $atts; protected $entries;

function __construct($atts = array())
{
    $this->atts = shortcode_atts(array(    'type'        => 'slider', // can also be used as grid
                                        'style'        => '', //no_margin
                                         'columns'     => '4',
                                         'items'     => '16',
                                         'taxonomy'  => 'category',
                                         'post_type'=> get_post_types(),
                                         'contents'     => 'excerpt',
                                         'preview_mode' => 'auto',
                                        'image_size' => 'portfolio',
                                         'autoplay'  => 'no',
                                        'animation' => 'fade',
                                        'paginate'    => 'no',
                                        'use_main_query_pagination' => 'no',
                                        'interval'  => 5,
                                        'class'        => '',
                                         'categories'=> array(),
                                         'custom_query'=> array(),
                                        'offset' => 0,
                                        'custom_markup' => ''
                                         ), $atts, 'av_postslider');
}
public function html()
{
    global $avia_config;
$output = "";
if(empty($this->entries) || empty($this->entries->posts)) return $output;
avia_post_slider::$slide ++;
extract($this->atts);
if($preview_mode == 'auto') $image_size = 'portfolio';
$extraClass         = 'first';
$grid                 = 'one_third';
$post_loop_count     = 1;
$loop_counter        = 1;
$autoplay             = $autoplay == "no" ? false : true;
$total                = $columns % 2 ? "odd" : "even";
$blogstyle             = function_exists('avia_get_option') ? avia_get_option('blog_global_style','') : "";
$excerpt_length     = 60;
if($blogstyle !== "")
{
    $excerpt_length = 240;
}
switch($columns)
{
    case "1": $grid = 'av_fullwidth';  if($preview_mode == 'auto') $image_size = 'large'; break;
    case "2": $grid = 'av_one_half';   break;
    case "3": $grid = 'av_one_third';  break;
    case "4": $grid = 'av_one_fourth'; if($preview_mode == 'auto') $image_size = 'portfolio_small'; break;
    case "5": $grid = 'av_one_fifth';  if($preview_mode == 'auto') $image_size = 'portfolio_small'; break;
}
$data = AviaHelper::create_data_string(array('autoplay'=>$autoplay, 'interval'=>$interval, 'animation' => $animation, 'show_slide_delay'=>90));
$thumb_fallback = "";
$markup = avia_markup_helper(array('context' => 'blog','echo'=>false, 'custom_markup'=>$custom_markup));
$output .= " active avia-content-slider".avia_post_slider::$slide." avia-content-slider{$total} {$class}">";
$output .=         " ";
foreach ($this->entries->posts as $entry)
{
    $the_id     = $entry->ID;
    $parity        = $loop_counter % 2 ? 'odd' : 'even';
    $last       = $this->entries->post_count == $post_loop_count ? " post-entry-last " : "";
    $post_class = "post-entry post-entry-{$the_id} slide-entry-overview slide-loop-{$post_loop_count} slide-parity-{$parity} {$last}";
    $link         = get_permalink($the_id);
    $excerpt    = "";
    $title      = '';
    $show_meta  = !is_post_type_hierarchical($entry->post_type);
    $commentCount = get_comments_number($the_id);
    $thumbnail  = get_the_post_thumbnail( $the_id, $image_size );
    $format     = get_post_format( $the_id );
    if(empty($format)) $format = "standard";
if($thumbnail)
{
    $thumb_fallback = $thumbnail;
    $thumb_class    = "real-thumbnail";
}
else
{
    $thumbnail = "  {{thumbnail}} ";
    $thumb_class    = "fake-thumbnail";
}
$permalink = ' '.__('Read more','avia_framework').'  ';
$prepare_excerpt = !empty($entry->post_excerpt) ? $entry->post_excerpt : avia_backend_truncate($entry->post_content, apply_filters( 'avf_postgrid_excerpt_length' , $excerpt_length) , apply_filters( 'avf_postgrid_excerpt_delimiter' , " "), "…", true, '');
if($format == 'link')
 {
      $current_post = array();
      $current_post['content'] = $entry->post_content;
      $current_post['title'] =  $entry->post_title;
if(function_exists('avia_link_content_filter'))
    {
        $current_post = avia_link_content_filter($current_post);
    }
}
$link = $current_post['url'];
switch($contents)
{
    case "excerpt":
            $excerpt = $prepare_excerpt;
            $title = $entry->post_title;
            break;
    case "excerpt_read_more":
            $excerpt = $prepare_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 = $prepare_excerpt;
            $title = '';
            break;
    case "only_excerpt_read_more":
            $excerpt = $prepare_excerpt;
            $excerpt .= $permalink;
            $title = '';
            break;
    case "no":
            $excerpt = '';
            $title = '';
            break;
}
$title = apply_filters( 'avf_postslider_title', $title, $entry );
if($loop_counter == 1) $output .= " ";
$post_format = get_post_format($the_id) ? get_post_format($the_id) : 'standard';
$markup = avia_markup_helper(array('context' => 'entry','echo'=>false, 'id'=>$the_id, 'custom_markup'=>$custom_markup));
$output .= "<article class='slide-entry flex_column {$style} {$post_class} {$grid} {$extraClass} {$thumb_class}' $markup>";
$output .= $thumbnail ? "{$thumbnail}" : "";
if($post_format == "audio")
{    
    $current_post = array();
    $current_post['content'] = $entry->post_content;
    $current_post['title'] =  $entry->post_title;
}
$current_post = apply_filters( 'post-format-'.$post_format, $current_post );
if(!empty( $current_post['before_content'] )) $output .= ' '.$current_post['before_content'].' ';
$output .= " ";
$markup = avia_markup_helper(array('context' => 'entry_title','echo'=>false, 'id'=>$the_id, 'custom_markup'=>$custom_markup));
$output .= '<header class="entry-content-header">';
$meta_out = "";
if (!empty($title))
{
    if($show_meta)
    {
        $taxonomies  = get_object_taxonomies(get_post_type($the_id));
        $cats = '';
        $excluded_taxonomies = array_merge( get_taxonomies( array( 'public' => false ) ), array('post_tag','post_format') );
        $excluded_taxonomies = apply_filters('avf_exclude_taxonomies', $excluded_taxonomies, 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))
{
    $meta_out .= ' ';
    $meta_out .= $cats;
    $meta_out .= ' ';
}
if( strpos($blogstyle, 'modern-blog') === false && $blogstyle != "") $output .= $meta_out;
$output .=  "

".$title."

";
if( strpos($blogstyle, 'modern-blog') !== false && $blogstyle != "") $output .= $meta_out;
$output .= ' ';
$output .= '</header>';
if($show_meta && !empty($excerpt))
{
    $meta  = " ";
    if ( $commentCount != "0" || comments_open($the_id) && $entry->post_type != 'portfolio')
    {
        $link_add = $commentCount === "0" ? "#respond" : "#comments";
        $text_add = $commentCount === "1" ? _('Comment', 'avia_framework' ) : _('Comments', 'avia_framework' );
$meta .= " {$commentCount} {$text_add}  / ";
}
$markup = avia_markup_helper(array('context' => 'entry_time','echo'=>false, 'id'=>$the_id, 'custom_markup'=>$custom_markup));
$meta .= "<time class='slide-meta-time updated' $markup>" .get_the_time('F j, Y g:i a', $entry->ID)."</time>";

$author = get_the_author_meta( ‘display_name’, $entry->post_author ); $author_link = get_author_posts_url( $entry->post_author ); $cats = ’’; $excluded_taxonomies = apply_filters(‘avf_exclude_taxonomies’, array(‘post_tag’,’post_format’), get_post_type($the_id), $the_id);

if(!empty($author))
 {
         $meta .= ' /  ';
         $meta .= '  by '.$author.'';
         $meta .= ' ';
 }
$taxonomies  = get_object_taxonomies(get_post_type($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.= ‘ ’.__(‘in’,’avia_framework’).” ”; $output.= $cats; $output.= ‘ ’; } }

$meta .= " ";
}
if( strpos($blogstyle, 'elegant-blog') === false )
                {
                    $output .= $meta;
                    $meta = "";
                }
            }
            $markup = avia_markup_helper(array('context' => 'entry_content','echo'=>false, 'id'=>$the_id, 'custom_markup'=>$custom_markup));
            $excerpt = apply_filters( 'avf_post_slider_entry_excerpt', $excerpt, $prepare_excerpt, $permalink, $entry );
            $output .= !empty($excerpt) ? " ".$excerpt." " : "";
}
$output .= " ";
        $output .= '<footer class="entry-footer">';
        if( !empty($meta) ) $output .= $meta;
        $output .= '</footer>';
$output .= av_blog_entry_markup_helper( $the_id );
}
$output .= "</article>";
$loop_counter ++;
$post_loop_count ++;
$extraClass = "";
if($loop_counter > $columns)
{
    $loop_counter = 1;
    $extraClass = 'first';
}
if($loop_counter == 1 || !empty($last))
{
    $output .=" ";
}
$output .=         " ";
if($post_loop_count -1 > $columns && $type == 'slider')
{
    $output .= $this->slide_navigation_arrows();
}
global $wp_query;
if($use_main_query_pagination  'yes' && $paginate  "yes")
{
    $avia_pagination = avia_pagination($wp_query->max_num_pages, 'nav');
}
else if($paginate == "yes")
{
    $avia_pagination = avia_pagination($this->entries, 'nav');
}
if(!empty($avia_pagination)) $output .= " {$avia_pagination} ";
$output .= " ";
$output = str_replace('{{thumbnail}}', $thumb_fallback, $output);
wp_reset_query();
return $output;
protected function slide_navigation_arrows()
{
    $html  = "";
    $html .= " ";
    $html .=     "".__('Previous','avia_framework' )."";
    $html .=     "".__('Next','avia_framework' )."";
    $html .= " ";
}
return $html;
//fetch new entries
public function query_entries($params = array())
{    
    global $avia_config;
if(empty($params)) $params = $this->atts;
if(empty($params['custom_query']))
{
    $query = array();
if(!empty($params['categories']))
{
    //get the portfolio categories
    $terms     = explode(',', $params['categories']);
}
$page = get_query_var( 'paged' ) ? get_query_var( 'paged' ) : get_query_var( 'page' );
if(!$page || $params['paginate'] == 'no') $page = 1;
//if we find no terms for the taxonomy fetch all taxonomy terms
if(empty($terms[0]) || is_null($terms[0]) || $terms[0] === "null")
{
    $terms = array();
    $allTax = get_terms( $params['taxonomy']);
    foreach($allTax as $tax)
    {
        $terms[] = $tax->term_id;
    }
}
if($params['offset'] == 'no_duplicates')
{
    $params['offset'] = false;
    $no_duplicates = true;
}
//wordpress 4.4 offset fix
if( $params['offset'] == 0 )
{
    $params['offset'] = false;
}
else
{    
    //if the offset is set the paged param is ignored. therefore we need to factor in the page number
    $params['offset'] = $params['offset'] + ( ($page -1 ) * $params['items']);
}
if(empty($params['post_type'])) $params['post_type'] = get_post_types();
if(is_string($params['post_type'])) $params['post_type'] = explode(',', $params['post_type']);
$query = array(    'orderby'     => 'date',
                'order'     => 'DESC',
                'paged'     => $page,
                'post_type' => $params['post_type'],
                'posts_per_page' => $params['items'],
                'offset' => $params['offset'],
                'post__not_in' => (!empty($no_duplicates)) ? $avia_config['posts_on_current_page'] : array(),
                'tax_query' => array(     array(     'taxonomy'     => $params['taxonomy'],
                                                'field'     => 'id',
                                                'terms'     => $terms,
                                                'operator'     => 'IN')));
}
else
{
    $query = $params['custom_query'];
}
$query = apply_filters('avia_post_slide_query', $query, $params);
$this->entries = new WP_Query( $query ); // is used to prevent errors caused by wpml
// store the queried post ids in
if( $this->entries->have_posts() )
{
    while( $this->entries->have_posts() )
    {
        $this->entries->the_post();
        $avia_config'posts_on_current_page' = get_the_ID();
    }
}
}
sensoly

sensoly Purchased

Hi,

I’m trying to import the default Enfold demo but the shop products demo are not imported. After trying many times, it just occurred to me the demo product could be not included in the set up. can you verify that?

1. PHP memory is set to 256MB 2. Tried import data via default.xml too 3. Tried install theme via FTP 4. WooCommerce and BBPress are activated before installing theme

Would like the settings of both default shop and mansory shop for enfold default theme.

Thanks.

Mariie

Mariie Purchased

Hi, I would like all Footer texts “text-align: center;” on the mobile (not descktop). But it’s not working. Thanks

@media only screen and (max-width: 480px) { #footer .widget {text-align: center;}

/* Headings/Widget title / #footer .widgettitle { text-align: center; }

/ Footer fonts / #footer .textwidget, #footer p { text-align: center; }

/ Widget links */ #footer .widget a { text-align: center; }

clef {line-height: 0.5; font-size: 6px;}

}

Thanks

Mariie

Mariie Purchased

.

HELP!!! Something is wring with your theme. The changes I make in the General Styling or advanced styling simply doesn’t reflect on the front end!!!!

Great theme! I have problem updating with the following error: An error occurred while updating Enfold: Download failed. Problem downloading theme

Hi there, i can not choose a portfolio categorie if i create a portfolio item. There is no Choice to click on the right site, so what can i do? (WP: 5.0.1 ENFOLD:4.51 ) Thx Frank

by
by
by
by
by
by