Forum Replies Created

Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • in reply to: Add sub-menu to Event Calendar posts and pages #736656

    @thatcommsguy Happy to hear you got it all working after our last conversation. Glad I could provide a little bit of help.

    in reply to: Add sub-menu to Event Calendar posts and pages #736530

    Ok, since I cannot get to the default-template.php from the editor, please replace it with the code below and you should be all set:

    
    <?php
    
    global $avia_config;
    
    	/*
    	 * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
    	 */
    	 get_header();
    		
    	 $title = tribe_is_month() ? __('Calendar of Events', 'avia_framework') : tribe_get_events_title(false);
     	 $args = array('title'=> $title, 'link'=>'');
    
     	 if( !is_singular() || get_post_meta(get_the_ID(), 'header', true) != 'no') echo avia_title($args);
     	 
     	 do_action( 'ava_after_main_title' );
     	 
    	 ?>
    <!-- Add subnav -->
    <?php 
    echo do_shortcode("[av_submenu which_menu='' menu='96' position='center' color='main_color' sticky='aviaTBsticky' mobile='disabled']
    [av_submenu_item title='Menu Item 1' link='' linktarget='no' button_style='']
    [av_submenu_item title='Menu Item 2' link='' linktarget='no' button_style='']
    [/av_submenu]");
    ?>
    
    		<div class='container_wrap container_wrap_first main_color fullsize'>
    
    			<div class='container'>
    
    				<main class='template-page template-event-page content av-content-full units' <?php avia_markup_helper(array('context' => 'content','post_type'=>'page'));?>>
    					
    					 <div id="tribe-events-pg-template">
    
               
                     	<?php
                     	
    					tribe_events_before_html();
    					tribe_get_view();
    					tribe_events_after_html(); 
    					
    					?>
    					
    					</div> <!-- #tribe-events-pg-template -->
    					
    				<!--end content-->
    				</main>
    
    			</div><!--end container-->
    
    		</div><!-- close default .container_wrap element -->
    
    <?php get_footer(); ?>
    

    I also turned on the Avia Layout Builder debug mode, which you can turn off by removing the code from the functions.php if you do not need to have it on for anything.

    in reply to: Add sub-menu to Event Calendar posts and pages #736511

    @thatcommsguy Would you be willing to give me temporary access to your site? If so please send login info to (Email address hidden if logged out) . I think I know what the problem is and it will be easier and faster if you allow me access. Up to you though.

    in reply to: Add sub-menu to Event Calendar posts and pages #736130

    @thatcommsguy, it looks like you are using the default.template.php from The Events Calendar plugin folder instead of from the Enfold theme folder >config-events-calendar. Make sure you copy the folder structure the same to the enfold-child theme folder, which should be:

    enfold-child
    -config-events-calendar
    –views
    —default-template.php

    Yes you need to wrap the shortcode in <?php [INSERT SHORTCODE] ?>. Sorry I forgot that in the code I provided. It should be as follows.

    
    <?php 
    echo do_shortcode("[av_submenu which_menu='center' menu='' position='center' color='main_color' sticky='true' mobile='disabled' mobile_submenu=''][av_submenu_item title='Menu Item 1'][av_submenu_item title='Menu Item 2']
    [/av_submenu]");
    ?>
    
    <div class='container_wrap container_wrap_first main_color fullsize'>
    

    Also be sure to add the code I provided into the functions.php in the enfold-child folder.

    in reply to: Add sub-menu to Event Calendar posts and pages #735988

    I was faced with this same problem and have figured it out after piecing 2 solutions together from different threads.

    1. First add the following to the functions.php in the child theme, this is to get it to use the files within the child theme instead of the main theme.

    
    
    add_action('tribe_events_template', 'avia_events_template_paths_mod', 10, 2);
    function avia_events_template_paths_mod($file, $template)
    {
        $redirect = array('default-template.php', 'single-event.php');
        if(in_array($template, $redirect))
        {
            $file = get_stylesheet_directory() . "/config-events-calendar/views/".$template;
        }
    
        return $file;
    }
    
    

    2. I added the subnav shortcode into the default-template.php only as also adding it to the single-event.php produced 2 subnavs on the single event page.

    Add it above this line: <div class=’container_wrap container_wrap_first main_color fullsize’> which it should look like below

    
    
    echo do_shortcode("[av_submenu which_menu='center' menu='' position='center' color='main_color' sticky='true' mobile='disabled' mobile_submenu=''][av_submenu_item title='Menu Item 1'][av_submenu_item title='Menu Item 2']
    [/av_submenu]");
    
    <div class='container_wrap container_wrap_first main_color fullsize'>
    
    

    Hope this helps.

    in reply to: Contact form keeps resetting itself #696032

    Figured it out. I utilize CloudFlare for this domain and I noticed in the shortcode that CloudFlare was protecting the email address in the form with some javascript. Once I turned off Email Address Obfuscation on CloudFlare the form works correctly and does not reset itself.

    Thanks for the help.

    in reply to: Contact form keeps resetting itself #695475

    I just opened it and these fields are not as they should be:

    Your email address
    Form Title
    E-Mail Subject
    Contact Form Captcha

    The fields I create like Name, Phone, Time Requested, etc. are fine and do not reset. It’s the other fields mentioned above that keep resetting.

    I tried saving and testing that form on another Draft page before and it worked as it should without resetting, but on this particular page it does not.

    Any other ideas?

    in reply to: Contact form keeps resetting itself #695098

    I have tried your suggestion and it is still resetting itself like before. I have also tried disabling all plugins as well but still not working correctly.

    in reply to: Contact form keeps resetting itself #694820

    I have noticed that I am having the same issue on one of my forms. Every time I edit it, then Update the page, then select the form to edit again and everything is back to the default settings (email, subject, captcha) except for the form fields I have created they seem to be staying.

    I have also noticed over time (it may be after the theme update) that it seems to be resetting itself as well and I don’t notice it until I receive the emails that should be going to the client.

    Not sure if there was ever a solution found for this or not.

    Some information about the site:
    Hosting: GoDaddy (don’t laugh, it was the clients choice)
    Enfold: 3.8 (using the child theme)
    Wordpress: 4.6.1

    Any help would be appreciated.
    Thanks

    in reply to: Vertical Align Sidebar Menu #653881

    Sure can. The link provided is a screenshot from a plugin on CodeCanyon that prompted me to this idea. Although it’s a nice plugin, I would much rather keep things to the native code for Enfold and not install a ton of plugins. I also included the url to the plugin if you need to see it in action.

    in reply to: Vertical Align Sidebar Menu #652615

    It is just a testing site with Gym Demo data imported that I have setup and use for things like this before I incorporate them into client sites.

    in reply to: Post Slider Titles #597918

    I tried your suggestion, it does not work for the tile. I need to shorten the title not the excerpt.

    in reply to: Different colored Promo Boxes? #309920

    This is exactly what i was looking for. This would be nice if it was enabled by default.

    in reply to: Enfold Feature Requests #220043

    Another Header Option:

    When using the Header with bottom menu option and choosing not to display the Search function, expand the menu the full width of the container so it is not floated to the left but evenly spaced across. An example: http://sebnitu.github.io/HorizontalNav/

    Or if this can be easily done without adding this feature in via CSS could you please advise the best way to accomplish this.

    Thanks

    in reply to: Enfold Feature Requests #201186

    As much as I love this theme I keep finding myself needs a few more options. These may have already been suggested.

    The biggest that I think would be a few more Header Options. Mainly, one with the logo centered and the navigation below the logo. I have seen some “hacks” to accomplish this, but they don’t seem to produce clean results.

    Also, maybe the ability to change the background on a per page basis or keep a default background.

    These are just a few things I have run into while developing sites for clients. Unfortunately, sometimes I am forced to use another theme because of these type of things, which I would rather not but sometimes I have no choice.

    Thanks

    in reply to: Portfolio Entry leads to 404 page #140947

    Got it! It was the Simple Multisite Sitemaps plugins that seemed to be preventing it from the Rewrite Rules Inspector from correcting the issues.

    Deactivated that plugin in everything worked again. Out of curiosity, i reactivated the Simple Multisite Sitemaps plugin and it messed everything up again.

    Thanks for the suggestions.

    in reply to: Portfolio Entry leads to 404 page #140946

    I have tried the Permalinks flush, tried the Rewrite Rules Inspector flush (which shows rules that are missing) but still shows they are missing even after “Flush Rules”.

    Not sure about the manual .htaccess, I have a Multi Site install setup with 3 sites using the Enfold theme.

    Any other suggestions?

    in reply to: Portfolio Entry leads to 404 page #140944

    I seem to be experiencing a similar problem. I do not use any type of multi-language plugins. When i click through from a portfolio grid to the portfolio page, nothing there. Says can’t find the post.

    i am using a custom permalinks plugin, but did not seem to have any problems before i ran the Theme Update to version 2.1 from within WordPress. Which by the way resulted in a lot of going back and fixing things. This way of updating the theme is not recommended in my opinion.

    Any suggestions?

Viewing 18 posts - 1 through 18 (of 18 total)