-
AuthorPosts
-
April 17, 2016 at 8:27 pm #615886
Hi,
I need to add something after a logo (right after av-logo-container).So I tried to use ava_main_header or ava_after_main_menu hooks but it displays what I need somewhere else.
Which hook should I use then?
Is there a list of all Enfold hooks?
thanks
MApril 19, 2016 at 2:41 am #617009Hey Mariusz!
You can search “avf” for filters and “ava” for actions in theme files. Also please see – http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/
You can use custom CSS to adjust the position.Best regards,
YigitApril 19, 2016 at 5:50 pm #617579Hi Yigit I use the following code to insert a block:
function add_logo_text() { ?> <div class="ad980x240"><?php echo do_shortcode("[pro_ad_display_adzone id=9105]"); ?></div> <?php } add_action('ava_main_header', 'add_logo_text', 10, 0);
How to move this ad module below logo?
Thanks.
M
April 20, 2016 at 2:44 am #617885April 20, 2016 at 8:54 am #618071Hi Yigit :) You are quite good at Polish.
Unfortunately I changed \includes\helper-main-menu.php to add that module. But this issue remained unfixed.Is there any other way to add anything after logo in functions.php?
Thanks.
MApril 20, 2016 at 9:11 pm #618701Hi!
Please remove the code in helper-main-menu.php file and then let us know so we can add it for you.
Cheers!
YigitSeptember 28, 2017 at 9:17 pm #858210If sombody is looking for the hooks enfold provides, here is an unfiltered list of all ive found:
do_action(‘ava_after_main_title’ );
do_action (‘ava_add_custom_default_sidebars’);
do_action(‘ava_after_content’, ”, ‘error404’);
do_action(‘ava_after_content’, $the_id, ‘loop-author’);
do_action(‘ava_after_content’, $the_id, ‘loop-search’);
do_action(‘ava_after_content’, $the_id, ‘post’);
do_action(‘ava_after_content’, get_the_ID(), ‘page’);
do_action(‘ava_after_content’, get_the_ID(), ‘single-portfolio’);
do_action(‘ava_after_import_demo_settings’ );
do_action(‘ava_after_main_container’);
do_action(‘ava_after_main_menu’);
do_action(‘ava_after_main_title’ );
do_action(‘ava_after_theme_update’ );
do_action(‘ava_before_bottom_main_menu’);
do_action(‘ava_before_footer’ );
do_action(‘ava_frontend_search_form’);
do_action(‘ava_generate_styles’, $options, $color_set, $styles);
do_action(‘ava_inside_main_menu’);
do_action(‘ava_main_header_sidebar’);
do_action(‘ava_main_header’);
do_action(‘ava_search_after_get_header’ );
do_action(‘ava_trigger_updates’, $this->db_version, $this->theme_version);
do_action(‘avia_404_extra’);
do_action(‘avia_action_before_framework_init’ );
do_action(‘avia_add_to_cart’, $post, $product );
do_action(‘avia_after_custom_import_hook’);
do_action(‘avia_after_footer_columns’);
do_action(‘avia_after_import_hook’);
do_action(‘avia_ajax_after_save_options_page’, $current_options );
do_action(‘avia_ajax_reset_options_page’);
do_action(‘avia_ajax_save_options_page’, $current_options );
do_action(‘avia_backend_theme_activation’);
do_action(‘avia_before_footer_columns’);
do_action(‘avia_import_hook’);
do_action(‘avia_mega_menu_option_fields’, $output, $item, $depth, $args);
do_action(‘avia_meta_box_save_post’, $post_id, $result);
do_action(‘avia_meta_header’);
do_action(‘avia_save_post_meta_box’);
do_action(‘avia_shortcode_dialog’);
do_action(‘avia_shortcode_prev’);
do_action(‘avia_wpml_backend_language_switch’);
do_action(‘aviw_after_widget’, $instance );
do_action(‘aviw_before_widget’, $instance );
do_action(‘import_end’ );
do_action(‘import_post_meta’, $post_id, $key, $value );
do_action(‘import_start’ );
do_action(‘layerslider_activated’);
do_action(‘layerslider_after_slider_content’);
do_action(‘layerslider_before_slider_content’);
do_action(‘layerslider_deactivated’);
do_action(‘layerslider_installed’);
do_action(‘layerslider_ready’);
do_action(‘layerslider_uninstalled’);
do_action(‘layerslider_updated’);
do_action(‘tgmpa_register’ );
do_action(‘tribe_events_after_template’ )
do_action(‘tribe_events_before_template’ );
do_action(‘tribe_events_single_event_after_the_content’ )
do_action(‘tribe_events_single_event_after_the_meta’ )
do_action(‘tribe_events_single_event_before_the_content’ )
do_action(‘tribe_events_single_event_before_the_meta’ )
do_action(‘wp_import_insert_comment’, $inserted_comments[$key], $comment, $comment_post_ID, $post );
do_action(‘wp_import_insert_post’, $post_id, $original_post_ID, $postdata, $post );
do_action(‘wp_import_insert_term_failed’, $t, $term, $post_id, $post );
do_action(‘wp_import_insert_term’, $t, $term, $post_id, $post );
do_action(‘wp_import_post_exists’, $post );
do_action(‘wp_import_set_post_terms’, $tt_ids, $ids, $tax, $post_id, $post );
do_action(‘wp_nav_menu_item_custom_fields’, $item_id, $item, $depth, $args );September 28, 2017 at 9:18 pm #858211@ithagen you just won a Gold Medal! Thanks!
September 29, 2017 at 12:21 pm #858451 -
AuthorPosts
- You must be logged in to reply to this topic.