{"id":1358,"date":"2021-04-28T05:36:00","date_gmt":"2021-04-28T05:36:00","guid":{"rendered":"https:\/\/support.themewinter.com\/docs\/plugins\/?post_type=docs&#038;p=1358"},"modified":"2024-11-01T08:18:56","modified_gmt":"2024-11-01T08:18:56","password":"","slug":"archive-page-override","status":"publish","type":"docs","link":"https:\/\/support.themewinter.com\/docs\/plugins\/plugin-docs\/templates\/archive-page-override\/","title":{"rendered":"How to Override Archive Page"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<p>Here\u2019s a visual&nbsp;<strong>hook guide for the Eventin Event Archive Page. <\/strong>This is the part in<strong> <\/strong>which you can find eventin <strong>Event Archive<\/strong> hooks quickly and easily by seeing their actual locations (and you can copy\/paste). <\/p>\n\n\n\n<p>Now that you know the <strong>Event Archive<\/strong> page hooks, you can override the Eventin <strong>Event Archive<\/strong> Page via your child theme\u2019s functions. You can remove default elements, you can add your custom elements by picking the correct positioned \u201chook\u201d and triggering your function, and you can even \u201cmove\u201d existing elements.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Event Archive Style<\/strong><\/h2>\n\n\n\n<p><\/p>\n\n\n<div id=\"cart-wrapper\">\n<div class=\"product\">\n<div id=\"woocommerce_after_single_product_summary\">\n      <span class=\"hook\">etn_before_event_archive_container<\/span><\/p>\n<p><span class=\"hook\">etn_before_event_archive_item<\/span><\/p>\n<\/p>\n<\/div>\n<div class=\"images\">\n<div class=\"product\"><span class=\"hook\">etn_before_event_archive_content<\/span><\/div>\n<div class=\"product\"><span class=\"hook\">etn_before_event_archive_title<\/span><\/div>\n<div class=\"product\"><span class=\"hook\">etn_after_event_archive_title<\/span><\/div>\n<div class=\"product\"><span class=\"hook\">etn_after_event_archive_content<\/span><\/div>\n<\/p>\n<\/div>\n<div id=\"woocommerce_after_single_product_summary\">\n<p><span class=\"hook\">etn_after_event_archive_item<\/span><\/p>\n<p><span class=\"hook\">etn_after_event_archive_container<\/span><\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\"><strong><strong>Event Archive<\/strong> Default Hooks<\/strong><\/h3>\n\n\n\n<p><\/p>\n\n\n\n<p>This is the list of <strong>Event Archive<\/strong> hooks you can override\/remove by simply changing \u201c<strong>add_action<\/strong>\u201d to \u201c<strong>remove_action<\/strong>\u201d  and &#8220;<strong>add_filter<\/strong>&#8221; in your functions.php. Eventin uses its own hooks to assemble the <strong>Event Archive<\/strong> page together. Because it\u2019s done this way, you can therefore use \u201c<strong>remove_action<\/strong>\u201d to remove one of these elements. <\/p>\n\n\n\n<pre class=\"wp-block-code bg-black\"><code><span class=\"has-inline-color has-luminous-vivid-orange-color\">\/**\n * @snippet       List of Default Archive Hooks @ Eventin Single Event\n * @author        Themewinter\n * @updated       Eventin WP 2.4.0\n **\/<\/span>\n\n\n<span class=\"has-inline-color has-luminous-vivid-orange-color\">\/\/ Before content<\/span>\n<span class=\"has-inline-color has-pale-cyan-blue-color\">add_action(<\/span> <span class=\"has-inline-color has-vivid-red-color\">'etn_before_event_archive_container'<\/span><span class=\"has-inline-color has-pale-cyan-blue-color\"> );<\/span>\na<span class=\"has-inline-color has-pale-cyan-blue-color\">dd_action(<\/span> <span class=\"has-inline-color has-vivid-red-color\">'etn_before_event_archive_item' <\/span><span class=\"has-inline-color has-pale-cyan-blue-color\">);<\/span>\n<span class=\"has-inline-color has-pale-cyan-blue-color\">add_action(<\/span> <span class=\"has-inline-color has-vivid-red-color\">'etn_before_event_archive_content'<\/span><span class=\"has-inline-color has-pale-cyan-blue-color\">, );<\/span>\n<span class=\"has-inline-color has-pale-cyan-blue-color\">add_action(<\/span> <span class=\"has-inline-color has-vivid-red-color\">'etn_before_event_archive_title'<\/span><span class=\"has-inline-color has-pale-cyan-blue-color\">, );<\/span>\n<span class=\"has-inline-color has-pale-cyan-blue-color\">add_action(<\/span><span class=\"has-inline-color has-vivid-red-color\"> 'etn_before_event_archive_thumbnail'<\/span><span class=\"has-inline-color has-pale-cyan-blue-color\"> );<\/span>\n<span class=\"has-inline-color has-pale-cyan-blue-color\">add_action(<\/span> <span class=\"has-inline-color has-vivid-red-color\">'etn_before_event_archive_footer_content'<\/span><span class=\"has-inline-color has-pale-cyan-blue-color\"> );<\/span>\n\n\n<span class=\"has-inline-color has-luminous-vivid-orange-color\">\/\/<\/span> <span class=\"has-inline-color has-luminous-vivid-orange-color\">After content<\/span>\n<span class=\"has-inline-color has-pale-cyan-blue-color\">add_action(<\/span> <span class=\"has-inline-color has-vivid-red-color\">'etn_after_event_archive_footer_content'<\/span> <span class=\"has-inline-color has-pale-cyan-blue-color\">);<\/span>\n<span class=\"has-inline-color has-pale-cyan-blue-color\">add_action(<\/span> <span class=\"has-inline-color has-vivid-red-color\">'etn_after_event_archive_thumbnail'<\/span><span class=\"has-inline-color has-pale-cyan-blue-color\"> );<\/span>\n<span class=\"has-inline-color has-pale-cyan-blue-color\">add_action(<\/span> <span class=\"has-inline-color has-vivid-red-color\">'etn_after_event_archive_title'<\/span><span class=\"has-inline-color has-pale-cyan-blue-color\">,);<\/span>\n<span class=\"has-inline-color has-pale-cyan-blue-color\">add_action(<\/span> <span class=\"has-inline-color has-vivid-red-color\">'etn_after_event_archive_content'<\/span><span class=\"has-inline-color has-pale-cyan-blue-color\">, );<\/span>\n<span class=\"has-inline-color has-pale-cyan-blue-color\">add_action(<\/span> <span class=\"has-inline-color has-vivid-red-color\">'etn_after_event_archive_item'<\/span> <span class=\"has-inline-color has-pale-cyan-blue-color\">);<\/span>\n<span class=\"has-inline-color has-pale-cyan-blue-color\">add_action( <\/span><span class=\"has-inline-color has-vivid-red-color\">'etn_after_event_archive_container'<\/span><span class=\"has-inline-color has-pale-cyan-blue-color\"> ); \n<\/span>\n<span class=\"has-inline-color has-luminous-vivid-orange-color\">\/\/ All Filters<\/span>\n<span class=\"has-inline-color has-pale-cyan-blue-color\">add_filters(<\/span><span class=\"has-inline-color has-vivid-red-color\">'etn_event_archive_content'<\/span><span class=\"has-inline-color has-pale-cyan-blue-color\">, );<\/span>\n<span class=\"has-inline-color has-pale-cyan-blue-color\">add_filters(<\/span> <span class=\"has-inline-color has-vivid-red-color\">'etn_event_archive_column'<\/span><span class=\"has-inline-color has-pale-cyan-blue-color\">, '4' );<\/span>\n\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Speaker Archive Style<\/strong><\/h2>\n\n\n\n<p><\/p>\n\n\n<div id=\"cart-wrapper\">\n<div class=\"product\">\n<div id=\"woocommerce_after_single_product_summary\">\n      <span class=\"hook\">etn_before_speaker_archive_container<\/span><\/p>\n<p><span class=\"hook\">etn_before_speaker_archive_item<\/span><\/p>\n<\/p>\n<\/div>\n<div id=\"woocommerce_after_single_product_summary\">\n      <span class=\"hook\">etn_before_speaker_archive_content<\/span><\/p>\n<p><span class=\"hook\">etn_before_speaker_title<\/span><\/p>\n<p><span class=\"hook\">etn_after_speaker_title<\/span><\/p>\n<p><span class=\"hook\">etn_after_speaker_archive_content<\/span><\/p>\n<\/p>\n<\/div>\n<div id=\"woocommerce_after_single_product_summary\">\n<p><span class=\"hook\">etn_after_speaker_archive_item<\/span><\/p>\n<p><span class=\"hook\">etn_after_speaker_archive_container<\/span><\/p>\n<\/p>\n<\/div>\n<\/div>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\"><strong>Speaker <strong>Archive Style Hooks<\/strong><\/strong><\/h3>\n\n\n\n<p><\/p>\n\n\n\n<p>This is the list of Eventin speaker archive hooks you can override\/remove by simply changing \u201c<strong>add_action<\/strong>\u201d to \u201c<strong>remove_action<\/strong>\u201d and &#8221;<strong>add_filter<\/strong>&#8221;  in your functions.php. Eventin uses its <strong>own hooks<\/strong> to assemble the<strong> speaker archive <\/strong>page together. Because it\u2019s done this way, you can therefore use \u201c<strong>remove_action<\/strong>\u201d to remove one of these elements. <\/p>\n\n\n\n<pre class=\"wp-block-code bg-black\"><code><span class=\"has-inline-color has-luminous-vivid-orange-color\">\/**\n * @snippet       List of speaker archive style hooks @ Eventin Single page\n * @author        Themewinter\n * @updated       Eventin WP 2.4.0\n **\/<\/span>\n\n<span class=\"has-inline-color has-luminous-vivid-orange-color\">\/\/ Before content<\/span>\n<span class=\"has-inline-color has-pale-cyan-blue-color\">add_action( <\/span><span class=\"has-inline-color has-vivid-red-color\">'etn_before_speaker_archive_container' <\/span><span class=\"has-inline-color has-pale-cyan-blue-color\">);<\/span>\n<span class=\"has-inline-color has-pale-cyan-blue-color\">add_action(<\/span><span class=\"has-inline-color has-vivid-red-color\"> 'etn_before_speaker_archive_item'<\/span><span class=\"has-inline-color has-pale-cyan-blue-color\"> );\nadd_action(<\/span> <span class=\"has-inline-color has-vivid-red-color\">'etn_before_speaker_archive_content'<\/span><span class=\"has-inline-color has-pale-cyan-blue-color\">,);<\/span>\n<span class=\"has-inline-color has-pale-cyan-blue-color\">add_action(<\/span> <span class=\"has-inline-color has-vivid-red-color\">\"etn_before_speaker_title\" <\/span><span class=\"has-inline-color has-pale-cyan-blue-color\">);<\/span>\n<span class=\"has-inline-color has-pale-cyan-blue-color\">add_action(<\/span> <span class=\"has-inline-color has-vivid-red-color\">\"etn_before_speaker_archive_thumbnail\"<\/span> <span class=\"has-inline-color has-pale-cyan-blue-color\">);<\/span>\n\n<span class=\"has-inline-color has-luminous-vivid-orange-color\">\/\/ After content<\/span>\n<span class=\"has-inline-color has-pale-cyan-blue-color\">add_action(<\/span><span class=\"has-inline-color has-vivid-red-color\"> \"etn_after_speaker_archive_thumbnail\"<\/span> <span class=\"has-inline-color has-pale-cyan-blue-color\">);<\/span> \n<span class=\"has-inline-color has-pale-cyan-blue-color\">add_action(<\/span> <span class=\"has-inline-color has-vivid-red-color\">\"etn_after_speaker_title\"<\/span> <span class=\"has-inline-color has-pale-cyan-blue-color\">);<\/span>\n<span class=\"has-inline-color has-pale-cyan-blue-color\">add_action(<\/span> <span class=\"has-inline-color has-vivid-red-color\">'etn_after_speaker_archive_content'<\/span><span class=\"has-inline-color has-pale-cyan-blue-color\">,);<\/span>\n<span class=\"has-inline-color has-pale-cyan-blue-color\">add_action(<\/span> <span class=\"has-inline-color has-vivid-red-color\">'etn_after_speaker_archive_item'<\/span><span class=\"has-inline-color has-pale-cyan-blue-color\"> );<\/span>\n<span class=\"has-inline-color has-pale-cyan-blue-color\">add_action(<\/span><span class=\"has-inline-color has-vivid-red-color\"> 'etn_after_speaker_archive_container' <\/span><span class=\"has-inline-color has-pale-cyan-blue-color\">);<\/span>\n\n<span class=\"has-inline-color has-luminous-vivid-orange-color\">\/\/ All Filters<\/span>\n<span class=\"has-inline-color has-pale-cyan-blue-color\">add_filters(<\/span> <span class=\"has-inline-color has-vivid-red-color\">'etn_speaker_archive_column'<\/span><span class=\"has-inline-color has-pale-cyan-blue-color\">, '4' ) );<\/span>\n\n\n<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Archive Page Override by Template<\/h2>\n\n\n\n<div style=\"height:36px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"680\" src=\"https:\/\/support.themewinter.com\/docs\/plugins\/wp-content\/uploads\/sites\/3\/2021\/04\/WPEventin_Template_Override_Documentation.jpg\" alt=\"WPEventin Template Override Documentation\" class=\"wp-image-3289\" srcset=\"https:\/\/support.themewinter.com\/docs\/plugins\/wp-content\/uploads\/sites\/3\/2021\/04\/WPEventin_Template_Override_Documentation.jpg 1024w, https:\/\/support.themewinter.com\/docs\/plugins\/wp-content\/uploads\/sites\/3\/2021\/04\/WPEventin_Template_Override_Documentation-300x199.jpg 300w, https:\/\/support.themewinter.com\/docs\/plugins\/wp-content\/uploads\/sites\/3\/2021\/04\/WPEventin_Template_Override_Documentation-768x510.jpg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Here\u2019s a visual&nbsp;hook guide for the Eventin Event Archive Page. This is the part in which you can find eventin Event Archive hooks quickly and easily by seeing their actual locations (and you can copy\/paste). Now that you know the Event Archive page hooks, you can override the Eventin Event Archive Page via your child [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_eb_attr":"","site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"doc_category":[19],"doc_tag":[],"class_list":["post-1358","docs","type-docs","status-publish","hentry","doc_category-templates"],"year_month":"2026-05","word_count":519,"total_views":"2602","reactions":{"happy":"1","normal":"0","sad":"2"},"author_info":{"name":"teamwinter","author_nicename":"teamwinter","author_url":"https:\/\/support.themewinter.com\/docs\/plugins\/author\/teamwinter\/"},"doc_category_info":[{"term_name":"Templates","term_url":"https:\/\/support.themewinter.com\/docs\/plugins\/docs\/templates\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/support.themewinter.com\/docs\/plugins\/wp-json\/wp\/v2\/docs\/1358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.themewinter.com\/docs\/plugins\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/support.themewinter.com\/docs\/plugins\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/support.themewinter.com\/docs\/plugins\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/support.themewinter.com\/docs\/plugins\/wp-json\/wp\/v2\/comments?post=1358"}],"version-history":[{"count":18,"href":"https:\/\/support.themewinter.com\/docs\/plugins\/wp-json\/wp\/v2\/docs\/1358\/revisions"}],"predecessor-version":[{"id":7936,"href":"https:\/\/support.themewinter.com\/docs\/plugins\/wp-json\/wp\/v2\/docs\/1358\/revisions\/7936"}],"wp:attachment":[{"href":"https:\/\/support.themewinter.com\/docs\/plugins\/wp-json\/wp\/v2\/media?parent=1358"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/support.themewinter.com\/docs\/plugins\/wp-json\/wp\/v2\/doc_category?post=1358"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/support.themewinter.com\/docs\/plugins\/wp-json\/wp\/v2\/doc_tag?post=1358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}