Forum Replies Created

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • @mensmaximus implementing the woocommerce patch fixed the opacity problem. But I had to increase the thumbnail size in woocommerce Settings > Product > Display from 120×120 to 400×600 so the images would not blow out. Seems like woo also needs to address why single product pages are suddenly displaying the ‘Product thumbnails’ rather than the ‘Single product image’?

    Thanks for linking the patch!

    in reply to: Icons Error on GoDaddy #603487

    Yes.

    in reply to: Icons Error on GoDaddy #603484

    So there have been zero changes to files. all we did was create a child theme and that broke the icons.

    in reply to: Icons Error on GoDaddy #603483

    Yes they do. There must be a problem with Enfold and child themes. We have tried changing files, but the changes don’t take.

    in reply to: Icons Error on GoDaddy #603470

    Anyway, I just copied the js directory to the child theme. It cleared the JS error but did not resolve our problem of the hamburger and other icons not showing. Thanks.

    in reply to: Icons Error on GoDaddy #603467

    Thanks Yigit,

    I’m confused by the error, there should be no avia.js in the child theme. Shouldn’t it be loading themes/enfold/js/avia.js?

    I just did an FTP upload of the newest version of Enfold (parent theme).

    Works great, I am able to create an AVE template that will allow my clients to revert to a similar format for Posts using Advanced Layouts. I made a simple change to display the Post Tags:

    <?php
    /**
     * Meta Element
     * Adds meta info to the page
     */
     
    // Don't load directly
    if ( !defined('ABSPATH') ) { die('-1'); }
     
     
     
    if ( !class_exists( 'avia_post_meta_info' ) )
    {
            class avia_post_meta_info extends aviaShortcodeTemplate{
                           
                            /**
                             * Create the config array for the shortcode button
                             */
                            function shortcode_insert_button()
                            {
                                    $this->config['name']           = __('Post Meta', 'avia_framework' );
                                    $this->config['tab']            = __('Content Elements', 'avia_framework' );
                                    $this->config['icon']           = AviaBuilder::$path['imagesURL']."sc-comments.png";
                                    $this->config['order']          = 28;
                                    $this->config['target']         = 'avia-target-insert';
                                    $this->config['shortcode']      = 'av_post_meta';
                    $this->config['tinyMCE']        = array('disable' => "true");
                                    $this->config['tooltip']        = __('Add the post meta infos', 'avia_framework' );
                    //$this->config['drag-level'] = 1;
                            }
                           
     
                             
                            /**
                             * 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'] = "<img src='".$this->config['icon']."' title='".$this->config['name']."' />";
                    $params['innerHtml'].= "<div class='avia-element-label'>".$this->config['name']."</div>";
                    $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 = "")
                            {
                                    $the_id = get_the_ID();
                                   
                                    $output  = '<header class="entry-content-header">';
    								
                    $output .= "<span class='post-meta-infos'>";
                    $markup  = avia_markup_helper(array('context' => 'entry_time','echo'=>false));
                    $output .= '<time class="date-container minor-meta updated" {$markup}>'.get_the_time(get_option('date_format'))."</time>";
                    $output .= "<span class='text-sep text-sep-date'>/</span>";
     
     
     
                        if ( get_comments_number() != "0" || comments_open() ){
     
                        $output .= "<span class='comment-container minor-meta'>";
                                            ob_start();
                                            comments_popup_link(  "0 ".__('Comments','avia_framework'),
                                              "1 ".__('Comment' ,'avia_framework'),
                                              "% ".__('Comments','avia_framework'),'comments-link',
                                              "".__('Comments Disabled','avia_framework'));
                                                                                      $comment = ob_get_clean();
                                                                                      $output .= $comment;
                        $output .= "</span>";
                        $output .= "<span class='text-sep text-sep-comment'>/</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);
    					$tag_taxonomies =  apply_filters('avf_exclude_taxonomies', array('post_category','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, '', ', ','').' ';
                                }
    							elseif(!in_array($taxonomy, $tag_taxonomies))
                                {
                                    $tags .= get_the_term_list($the_id, $taxonomy, '', ', ','').' ';
                                }
                            }
                        }
     
                        if(!empty($cats))
                        {
                            $output .= '<span class="blog-categories minor-meta">'.__('in','avia_framework')." ";
                            $output .= $cats;
                            $output .= '</span><span class="text-sep text-sep-cat">/</span>';
                        }
     					
    					
     					
                        $output .= '<span class="blog-author minor-meta">'.__('by','avia_framework')." ";
                                            $markup  = avia_markup_helper(array('context' => 'author_name', 'echo'=>false));
                        $output .= '<span class="entry-author-link" $markup>';
                        $output .= '<span class="vcard author"><span class="fn">';
                                            ob_start();
                                            the_author_posts_link();
                                            $author  = ob_get_clean();
                        $output .= $author;
                        $output .= '</span></span>';
                        $output .= '</span>';
                        $output .= '</span>';
                    	$output .= '</span>';
    					
    					
    				
    					
                                    $output .= '</header>';
                    //tags on single post
                	if(has_tag())
                	{
                    	$output .= '<strong>Tags: '.$tags.'</strong>';
    					
                    }           
                            return $output;
                    }              
                           
            }
    }
    in reply to: Using Advanced Editor in Posts Results in Changed Format #509307

    Candeos,

    https://kriesi.at/support/topic/post-meta-information-not-appearing-on-single-post-in-restaurant-theme-in-enfold/

    Check out the link above, they made us a Meta Information shortcode that, coupled with CSS changes to the Header bar, allows me to simulate my regular post format when using the Advanced Editor. It’s good enough for me to create a template so my clients can easily create posts without the bizarre default behavior.

    This is my CSS:

    #top .fullsize .template-blog .post-title, #top #main > .title_container > div > h1.entry-title > a{ 
    	text-transform: uppercase;
    	font-size: 34px;
    	text-align:center;
    	width:100%;
    	display:block;
    	color: rgb(34,34,34);
    	text-align: center;
        font-size: 30px;
        padding: 15px 0;
        max-width: 800px;
        margin: 0 auto;
    }
    #top #main > .title_container{
    	background: #fff;
    }
    #top #main > div.container_wrap{
    	border: none;	
    }

    Thanks Ismael, I’ll give it a try. Kudos to you, you’re the only moderator on this forum who has taken this request seriously. I was so frustrated dealing with this Elliot guy I was ready to dump Enfold for 10+ upcoming projects.

    in reply to: Using Advanced Editor in Posts Results in Changed Format #508949

    Think of the users who want to display a post like a page

    This is not a valid argument. These users could create a new template or use custom post-types. For the rest of us who use WordPress in the way it was intended, there are no options, because Kriesi’s editor makes the unprecedented move of changing the output of the user coded templates.

    What’s more, you’re holding our clients hostage by not offering a workaround. My only option is to dump Enfold completely and have clients pay for a full redesign.

    bump.

    in reply to: Archive page layout changes #508153

    Hi Larry,

    This is an issue for many of us, and frankly, it’s the worst part of using Enfold. Many of my clients are asking me to develop the same feature, but I’ve had no luck with the existing hooks. IMHO Kriesi needs to make a Blog Meta shortcode, or post a workaround using the existing Code Block shortcode. Their standard answer to date has been “just use the default editor” – which obviously is no solution at all. I am getting fed up with Kriesi digging in his heels on this issue. it just needs to be an option before the Advanced Layout Editor is suitable for Blog Posts.

    in reply to: Using Advanced Editor in Posts Results in Changed Format #508150

    Hi Candeos, just wanted you to know you’re not alone, this is a problem for many people and Kriesi always posts the same reply – “use the default editor” – obviously that not a solution for complex, templatable layouts. This is currently the main reason not to use the Enfold theme until this issue is fixed.

    in reply to: Using Advanced Editor in Posts Results in Changed Format #508149

    Elliot, respectfully, your explanation is flawed. There is no shortcode to display the blog posts meta (Author, Tags, Categories, Date Published). Until you add a meta shortcode, the Advanced Layout Editor is worthless for Posts because you cannot make it match the rest of your site’s templates. Please post a solution right away, this is an issue for many developers. It may be that there is a workaround using the Code Block shortcode, but I have wasted many hours trying everything I can think of to no avail…

    Hi,

    “Use the standard editor” is not really an acceptable answer, because Enfold’s main strength is the Advanced Layout Editor. What if I need to template the settings of a complex shortcode element, like a content slider, in a Post? Are you saying you will not support this option? That I have to use the awkward magic wand tool every time? My clients won’t accept this.

    This is the biggest headache I have with Enfold and it could be solved if you would simply tell us how to add Meta information (Author, Category Date Published, and Tags) to an Advanced Layout Editor Post.

    • This reply was modified 9 years, 1 month ago by kdagnall.
    in reply to: Featured Image Not Displaying on Post Page #507720

    Bump.

    This is an ongoing problem for several of my clients and your explanation to “just use the default editor” is flawed for the following reasons. Please add it as a feature request.

    • In WordPress, all posts of the same post-type should have a template-able formatting, independent of which editor you choose
    • There is no shortcode to add posts tags or meta to advanced layout editor posts.
    • Using a complex content slider within a post is very tricky using the ‘magic wand’ in default editor. Especially if you want to template the settings for reuse.
    • This reply was modified 9 years, 1 month ago by kdagnall.
Viewing 16 posts - 1 through 16 (of 16 total)