Forum Replies Created

Viewing 30 posts - 31 through 60 (of 92 total)
  • Author
    Posts
  • in reply to: Edit Breadcrumb #1050708

    I have the same issue and can;t figure it out – see breadcrumbs here:

    Two “Blog” links – one to the page, one to the category – I’d like to get rid of the category link.

    Thanks

    • This reply was modified 5 years, 11 months ago by frescova.
    in reply to: Header Color on Scroll #907732

    thanks Nikko; that did it.

    in reply to: Header Color on Scroll #907726

    Perfect!; Thanks Nikko;

    Do you think it’s possible to do it just for the home page?

    Martin

    in reply to: Color Section – content alignment #907661

    Rikard – no worries; It actually looks just fine the way it is. this is the page http://www.frescova.com – at first I wanted to aligne the logo and name to the top, but it looks better just where it is. I’m starting another topic on a different question.

    in reply to: child theme page #887744

    Thanks Nikko; It dd not occur to me to add it to the header; with some conditionals it will do what I need. Thanks for the advice.

    in reply to: Passing the value of a custom field #887686

    I figured – not important enough; I do have an alternative solution in another thread that I hope you guys help me solve; If I can get that to work it will solve my issue:

    Thanks.

    in reply to: child theme page #887462

    Thanks Nikko – my question remains:

    How do I add some static content that displays on top of all of my pages – regardless of whether I use the default or advanced layout editor?

    Editing the template-bulder.php file yields no results…

    in reply to: child theme page #887221

    My file

    <?php
    	if ( !defined('ABSPATH') ){ die(); }
    	
    	global $avia_config;
    
    	/*
    	 * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
    	 */
    	 get_header();
    
     	 if( get_post_meta(get_the_ID(), 'header', true) != 'no') echo avia_title();
     	 
     	 do_action( 'ava_after_main_title' );
    	 ?>
    
    		<div class='container_wrap container_wrap_first main_color <?php avia_layout_class( 'main' ); ?>'>
    
    			<div class='container'>
    						
    			<div>
    			<h2>My content</h2>
    			<p><?php the_field('status'); ?></p>
    			</div>
    								
    				<main class='template-page content  <?php avia_layout_class( 'content' ); ?> units' <?php avia_markup_helper(array('context' => 'content','post_type'=>'page'));?>>
    
    								
                        <?php
                        /* Run the loop to output the posts.
                        * If you want to overload this in a child theme then include a file
                        * called loop-page.php and that will be used instead.
                        */
    
                        $avia_config['size'] = avia_layout_class( 'main' , false) == 'fullsize' ? 'entry_without_sidebar' : 'entry_with_sidebar';
                        get_template_part( 'includes/loop', 'page' );
                        ?>
    			
    				<!--end content-->
    				</main>
    
    				<?php
    
    				//get the sidebar
    				$avia_config['currently_viewing'] = 'page';
    				get_sidebar();
    
    				?>
    
    			</div><!--end container-->
    
    		</div><!-- close default .container_wrap element -->
    
    <?php get_footer(); ?>
    in reply to: Passing the value of a custom field #887220

    Sorry – meant to replay in a different topic…

    • This reply was modified 7 years ago by frescova.
    in reply to: child theme page #887219

    Mike, thanks for the response. The only time any content shows up in that portion of the page is if I use the default editor. As soon as I go into the advanced layout editor any code I add disappears…

    in reply to: anchor not working #727317

    Duh…

    How I missed that is beyond me. Total user error. Thanks for the assistance.

    M

    in reply to: Comments #641748

    Ha! that was a simple fix. Thank you.

    in reply to: Comments #639490

    Thanks Andy, I did as suggested;

    1. Removed the active enfold directory
    2. uploaded a new clean enfold theme folder (just downloaded from TF) and made that the active theme (not my child theme).
    3. Deactivated ALL plug-ins to make sure there were no conflicts.

    Result:
    Posts that do not use the Advanced Layout Editor show the comments form and related posts.
    Posts that have been built using the advanced layout editor do not have the comments form or the related posts.
    I’ve tested this on several posts. same result each time. As soon as I invoke the advanced layout editor the comments form and related posts functionality go away.

    I’ve reverted my install to the child-theme (using the brand new uploaded enfold theme as parent) and re-activated my plugins so my site is restored. Still no comments form…

    Thanks again.

    in reply to: Comments #638105

    Thanks Rikard, see private content

    in reply to: Comments #635993

    Nope. Comments still not showing up after I follow the instructions in the referenced thread. Like I said. If I disable ALE comments form shows up. If I enable the ALE comments and related posts disappear.

    I also deactivated all plugins to make sure there was not a conflict somewhere. Comments form and related posts still do not appear. I am running a “child theme” of enfold – below are the contents of my functions file – just in case…

    Thanks.

    <?php
    
    /*
    enfold child theme functions file
    */
    
    if(!function_exists('avia_custom_query_extension'))
    {
        function avia_custom_query_extension($query, $params)
        {
            global $avia_config;
            if(!empty($avia_config['avia_custom_query_options']['order']))
            {
                $query['order'] = $avia_config['avia_custom_query_options']['order'];
            }
    
            if(!empty($avia_config['avia_custom_query_options']['orderby']))
            {
                $query['orderby'] = $avia_config['avia_custom_query_options']['orderby'];
            }
    
            unset($avia_config['avia_custom_query_options']);
    
            return $query;
        }
    
        add_filter('avia_masonry_entries_query', 'avia_custom_query_extension', 10, 2);
        add_filter('avia_post_grid_query', 'avia_custom_query_extension', 10, 2);
        add_filter('avia_post_slide_query', 'avia_custom_query_extension', 10, 2);
        add_filter('avia_blog_post_query', 'avia_custom_query_extension', 10, 2);
    
        add_filter('avf_template_builder_shortcode_elements','avia_custom_query_options', 10, 1);
        function avia_custom_query_options($elements)
        {
            $allowed_elements = array('av_blog','av_masonry_entries','av_postslider','av_portfolio');
    
            if(isset($_POST['params']['allowed']) && in_array($_POST['params']['allowed'], $allowed_elements))
            {
                $elements[] = array(
                    "name" => __("Custom Query Orderby",'avia_framework' ),
                    "desc" => __("Set a custom query orderby value",'avia_framework' ),
                    "id"   => "orderby",
                    "type" 	=> "select",
                    "std" 	=> "",
                    "subtype" => array(
                        __('Default Order',  'avia_framework' ) =>'',
                        __('Title',  'avia_framework' ) =>'title',
                        __('Random',  'avia_framework' ) =>'rand',
                        __('Date',  'avia_framework' ) =>'date',
                        __('Author',  'avia_framework' ) =>'author',
                        __('Name (Post Slug)',  'avia_framework' ) =>'name',
                        __('Modified',  'avia_framework' ) =>'modified',
                        __('Comment Count',  'avia_framework' ) =>'comment_count',
                        __('Page Order',  'avia_framework' ) =>'menu_order')
                );
    
                $elements[] = array(
                    "name" => __("Custom Query Order",'avia_framework' ),
                    "desc" => __("Set a custom query order",'avia_framework' ),
                    "id"   => "order",
                    "type" 	=> "select",
                    "std" 	=> "",
                    "subtype" => array(
                        __('Default Order',  'avia_framework' ) =>'',
                        __('Ascending Order',  'avia_framework' ) =>'ASC',
                        __('Descending Order',  'avia_framework' ) =>'DESC'));
            }
    
            return $elements;
        }
    
        add_filter('avf_template_builder_shortcode_meta', 'avia_custom_query_add_query_params_to_config', 10, 4);
        function avia_custom_query_add_query_params_to_config($meta, $atts, $content, $shortcodename)
        {
            global $avia_config;
            if(empty($avia_config['avia_custom_query_options'])) $avia_config['avia_custom_query_options'] = array();
    
            if(!empty($atts['order']))
            {
                $avia_config['avia_custom_query_options']['order'] = $atts['order'];
            }
    
            if(!empty($atts['orderby']))
            {
                $avia_config['avia_custom_query_options']['orderby'] = $atts['orderby'];
            }
    
            return $meta;
        }
    }
    
    add_theme_support( 'post-thumbnails' );
    //MAP LIST
    
    add_filter('avf_builder_boxes', 'add_builder_to_posttype');
    
    function add_builder_to_posttype($metabox)
    {
    	foreach($metabox as &$meta)
    	{
    		if($meta['id'] == 'avia_builder' || $meta['id'] == 'layout')
    		{
    			$meta['page'][] = 'tribe_venue'; /*instead add the name of the custom post type here*/
    		}
    	}	
    
    	return $metabox;
    }
    
    //So I can change the layout of an archive page
    add_filter('avf_blog_style','avia_change_category_blog_layout', 10, 2); 
    function avia_change_category_blog_layout($layout, $context){
    if($context == 'archive') $layout = 'single-small';
    return $layout;
    }
    
    ?>
    in reply to: Comments #635607

    I also noticed that related posts also don;t show up on posts with the ALE in use

    in reply to: Enfold Showcase #635449

    Here’s mine:

    http://www.bestridesdc.com

    Use it to promote my cycling guides.

    in reply to: Enfold and the Events Calendar Pro #555683

    Genius! Thank you!

    in reply to: Enfold and the Events Calendar Pro #555680

    Thanks Elliott; Will give that a shot.

    in reply to: New Font #555252

    Thanks Basilis;
    I just created the webkit and downloaded it; It’s a directory with a whole bunch of files, just not entirely sure what specific files to upload. And, if I do upload them to the enfold/css directory, won’t they get overwritten by th next theme upgrade? should they not go in a new directory in my enfold-child theme directory?

    Thanks again…

    M

    in reply to: Padding and no border in portfolio grid #550679

    I figured it out – found another thread. Please disregard.

    in reply to: Portfolio label #550667

    Thank you!

    in reply to: Fullwidth Easy Slider – Random order #469890

    OK; Thanks for the response Elliott; Will post in feature requests as you suggest.

    M

    in reply to: Grid Row in COlor Section #460282

    I resolved this; Sorry for not following through.

    in reply to: Full width sub menu with icons #460279

    Rikard – I go it to work with Ismael’s guidance. Thanks for the help. You can close this ticket.

    in reply to: Full width sub menu with icons #453993

    Thanks Ismael, I’ll give it a shot an report.

    in reply to: Full screen background #426626

    Please disregard – 2 minutes after I hit submit I figured it out :-)

    in reply to: Sliders and goDaddy hosting #399165

    Thanks Ismael; Not sure how I ended up with such an old version; The update fixed the issue. Very much appreciated.
    M

    in reply to: Sliders and goDaddy hosting #398449
    This reply has been marked as private.
    in reply to: Enfold Showcase #396218

    Here’s mine: http://www.more-mtb.org

    • This reply was modified 9 years, 10 months ago by frescova.
Viewing 30 posts - 31 through 60 (of 92 total)