Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #845879

    Hello,
    I inserted

    remove_action('future_post', '_future_post_hook'); 
    
    add_filter('wp_insert_post_data', 'do_not_set_posts_to_future');
    
    function do_not_set_posts_to_future( $post_data ) {
    	if ( $post_data['post_status'] == 'future' ) 	{
    		$post_data['post_status'] = 'publish';
    	}
    	return $post_data;
    }
    

    into functions.php of my Enfold child theme. It should display posts that have a future date ( = are scheduled in the future). But in Enfold this script does not work.

    Could you tell me, what are the names of Enfold tags and hooks that should be used in the script, so that it would work?
    Also, where could I find a full list of Enfold tags and hooks?

    Best regards

    #847427

    Hey med,
    Sorry those are not active Hooks or Filters in Enfold
    But here is the list or them:

    /*Hooks*/
    ava_main_header
    ava_main_header_sidebar
    ava_after_main_title
    ava_after_main_container
    ava_before_bottom_main_menu
    ava_inside_main_menu
    ava_before_bottom_main_menu
    ava_after_main_menu
    ava_after_main_container
    ava_after_content
    ava_before_content
    ava_add_custom_default_sidebars
    ava_frontend_search_form
    ava_search_after_get_header
    ava_before_footer
    ava_mailchimp_contact_form_elements
    
    /*Filters*/
    avf_blog_style
    avf_author_name
    avf_update_theme_tab
    avf_modify_thumb_size
    avf_default_icons
    avf_dynamic_stylesheet_filename
    avf_menu_items
    avf_fallback_menu_items
    avf_ajax_search_query
    avf_ajax_search_function
    avf_ajax_search_messages
    avf_ajax_search_label_names
    avf_ajax_search_excerpt
    avf_ajax_search_no_excerpt
    avf_social_widget
    avf_title_args
    avf_header_setting_filter
    avf_header_classes
    avf_sidebar_menu_filter
    avf_builder_elements
    avf_mega_menu_post_meta_fields
    avf_allow_drag_drop
    avf_frontend_search_form_param
    avf_sidebar_position
    avf_custom_sidebar
    avf_show_default_sidebars
    avf_show_default_sidebar_pages
    avf_show_default_sidebar_categories
    avf_show_default_sidebar_archiv
    avf_template_builder_content
    avf_wp_link_pages_args
    avf_tag_label_names
    avf_related_post_loop
    avf_avia_menu_conditions
    avf_execute_avia_meta_header
    avf_markup_helper_args
    avf_markup_helper_attributes
    avf_markup_helper_output
    avf_logo
    avf_author_email
    avf_author_description
    avf_loop_author_content
    avf_exclude_taxonomies
    avf_loop_index_blog_meta
    avf_google_content_font
    avf_social_icons_options
    avf_google_heading_font
    avf_skin_options
    avf_portfolio_cpt_args
    avf_safe_string_trans
    avf_ajax_form_class
    avf_form_el_name_length
    avf_contact_form_submit_button_attr
    avf_form_el_filter
    avf_datepicker_dateformat
    avf_form_send
    avf_form_sendto
    avf_form_from
    avf_form_subject
    avf_form_mail_field_values
    avf_form_use_wpmail
    avf_form_mail_header
    avf_form_copy
    avf_form_message
    avf_form_custom_autoresponder
    avf_form_autorespondermessage
    avf_form_autoresponder_from
    avf_load_google_map_api
    avf_file_upload_capability
    avf_file_upload_extra
    avf_google_fontlist
    avf_option_page_init
    avf_option_page_data_init
    

    Best regards,
    Mike

    #863619

    Mike, thanks a lot for the list!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.