This add-on works on the base of Tevolution plugin, so you should also refer its hooks along with here mentioned hooks. Here is the list of the action hooks that Tevolution Events plugin provides to add your custom code to help you meet your unique requirements. These hooks are divided into 3 main events pages “Category page”, “Detail page” and “Search page”, use them accordingly.
Events Category page hooks
All the category page action hooks will effect only on the events category page.
1)after_event_header
Action
after_event_header
Purpose
Helpful to customize the widget area that appears below the listing header on the events category page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
archive-event.php, taxonomy-ecategory.php, taxonomy-etags.php, event-search.php
Example
<?php
function after_event_header_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘after_event_header’,’after_event_header_ad’ );?>
2)event_before_container_breadcrumb
Action
event_before_container_breadcrumb
Purpose
Helpful to display breadcrumb above main container on the events category page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
archive-event.php, taxonomy-ecategory.php, taxonomy-etags.php, event-search.php, single-event.php
Example
<?php
function event_before_container_breadcrumb_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_before_container_breadcrumb’,’event_before_container_breadcrumb_ad’ );?>
3) event_inside_container_breadcrumb
Action
event_inside_container_breadcrumb
Purpose
Helpful to display breadcrumb inside main container on the events category page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
archive-event.php, taxonomy-ecategory.php, taxonomy-etags.php, event-search.php, single-event.php
Example
<?php
function event_inside_container_breadcrumb_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_inside_container_breadcrumb’,’event_inside_container_breadcrumb_ad’ );?>
4) event_before_categories_title
Action
event_before_categories_title
Purpose
Helpful to add anything above category title on the events category page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
taxonomy-ecategory.php, taxonomy-etags.php
Example
<?php
function event_before_categories_title_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_before_categories_title’,’event_before_categories_title_ad’ );?>
5) event_after_categories_title
Action
event_after_categories_title
Purpose
Helpful to add anything below category title on the events category page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
taxonomy-ecategory.php, taxonomy-etags.php
Example
<?php
function event_after_categories_title_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_after_categories_title’,’event_after_categories_title_ad’ );?>
6) event_before_categories_description
Action
event_before_categories_description
Purpose
Helpful to add anything above category description on the events category page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
taxonomy-ecategory.php, taxonomy-etags.php
Example
<?php
function event_before_categories_description_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_before_categories_description’,’event_before_categories_description_ad’ );?>
7) event_after_categories_description
Action
event_after_categories_description
Purpose
Helpful to add anything below category description on the events category page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
taxonomy-ecategory.php, taxonomy-etags.php
Example
<?php
function event_after_categories_description_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_after_categories_description’,’event_after_categories_description_ad’ );?>
8) event_before_subcategory
Action
event_before_subcategory
Purpose
Helpful to add anything above sub category list on the events category page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
taxonomy-ecategory.php, taxonomy-etags.php
Example
<?php
function event_before_subcategory_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_before_subcategory’,’event_before_subcategory_ad’ );?>
9) event_subcategory
Action
event_subcategory
Purpose
Helpful to display subcategory list on the events category page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
taxonomy-ecategory.php, taxonomy-etags.php
Example
<?php
function event_subcategory_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_subcategory’,’event_subcategory_ad’ );?>
10) event_after_subcategory
Action
event_after_subcategory
Purpose
Helpful to add anything below sub category list on the events category page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
taxonomy-ecategory.php, taxonomy-etags.php
Example
<?php
function event_after_subcategory_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_after_subcategory’,’event_after_subcategory_ad’ );?>
11) event_before_loop_taxonomy
Action
event_before_loop_taxonomy
Purpose
Helpful to add or display advertise or anything else above all the events on the events category page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
taxonomy-ecategory.php, taxonomy-etags.php
Example
<?php
function event_before_loop_taxonomy_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_before_loop_taxonomy’,’event_before_loop_taxonomy_ad’ );?>
12) event_before_post_loop
Action
event_before_post_loop
Purpose
Helpful to add or display anything above each event like an advertisement on the events category page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
taxonomy-ecategory.php, taxonomy-etags.php
Example
<?php
function event_before_post_loop_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_before_post_loop’,’event_before_post_loop_ad’ );?>
13) event_before_category_page_image
Action
event_before_category_page_image
Purpose
Helpful to add or display anything above events image (e.g. advertisement) on the events category page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
taxonomy-ecategory.php, taxonomy-etags.php
Example
<?php
function event_before_category_page_image_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_before_category_page_image’,’event_before_category_page_image_ad’ );?>
14) event_after_category_page_image
Action
event_after_category_page_image
Purpose
Helpful to add or display anything below events image on the events category page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
taxonomy-ecategory.php, taxonomy-etags.php
Example
<?php
function event_after_category_page_image_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_after_category_page_image’,’event_after_category_page_image_ad’ );?>
15) event_before_post_entry
Action
event_before_post_entry
Purpose
Helpful to add or display anything above event entry list on the events category page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
taxonomy-ecategory.php, taxonomy-etags.php
Example
<?php
function event_before_post_entry_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_before_post_entry’,’event_before_post_entry_ad’ );?>
16) event_before_post_title
Action
event_before_post_title
Purpose
Helpful to add or display anything above event title on the events category page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
taxonomy-ecategory.php, taxonomy-etags.php
Example
<?php
function event_before_post_title_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_before_post_title’,’event_before_post_title_ad’ );?>
17) event_after_post_title
Action
event_after_post_title
Purpose
Helpful to add or display anything below event title on the events category page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
taxonomy-ecategory.php, taxonomy-etags.php
Example
<?php
function event_after_post_title_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_after_post_title’,’event_after_post_title_ad’ );?>
18) event_post_info
Action
event_post_info
Purpose
Helpful to ad or display events’ post information after events title like post publish date, publish author, display comment count etc on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
taxonomy-ecategory.php, taxonomy-etags.php
Example
<?php
function event_post_info_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_post_info’,’event_post_info_ad’ );?>
19) event_before_post_content
Action
event_before_post_content
Purpose
Helpful to add or display anything above event content (e.g. advertisement) on the events category page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
taxonomy-ecategory.php, taxonomy-etags.php
Example
<?php
function event_before_post_content_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_before_post_content’,’event_before_post_content_ad’ );?>
20) event_after_post_content
Action
event_after_post_content
Purpose
Helpful to aadd or display anything below event content (e.g. advertisement) on the events category page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
taxonomy-ecategory.php, taxonomy-etags.php
Example
<?php
function event_after_post_content_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_after_post_content’,’event_after_post_content_ad’ );?>
21) event_listing_custom_field
Action
event_listing_custom_field
Purpose
You should use this hook when you want to add or display any event related custom field(s) on the events category page at your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
taxonomy-ecategory.php, taxonomy-etags.php
Example
<?php
function event_listing_custom_field_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_listing_custom_field’,’event_listing_custom_field_ad’ );?>
22) templ_the_taxonomies
Action
templ_the_taxonomies
Purpose
Helpful to display post related taxonomies on the events category page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
taxonomy-ecategory.php, taxonomy-etags.php
Example
<?php
function templ_the_taxonomies_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘templ_the_taxonomies’,’templ_the_taxonomies_ad’ );?>
23) event_after_taxonomies
Action
event_after_taxonomies
Purpose
Helpful to add or display your required things below the list of taxonomies on the events category page on your directory site with your custom function (but for that first you need to create taxonomies list with the help of another hook). You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
taxonomy-ecategory.php, taxonomy-etags.php
Example
<?php
function event_after_taxonomies_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_after_taxonomies’,’event_after_taxonomies’ );?>
24) event_after_post_entry
Action
event_after_post_entry
Purpose
Helpful to add or display anything below events entry list (e.g. advertisement) on the events category page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
taxonomy-ecategory.php, taxonomy-etags.php
Example
<?php
function event_after_post_entry_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_after_post_entry’,’event_after_post_entry_ad’ );?>
25) event_after_post_loop
Action
event_after_post_loop
Purpose
Helpful to add or display anything below each listing (e.g. advertisement) on the events category page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
taxonomy-ecategory.php, taxonomy-etags.php
Example
<?php
function event_after_post_loop_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_after_post_loop’,’event_after_post_loop_ad’ );?>
26) event_after_loop_taxonomy
Action
event_after_loop_taxonomy
Purpose
Helpful to add or display anything below all events (e.g. advertisement) on the events category page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
taxonomy-ecategory.php, taxonomy-etags.php
Example
<?php
function event_after_loop_taxonomy_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_after_loop_taxonomy’,’event_after_loop_taxonomy_ad’ );?>
Display and move existing things on your events directory site using custom code
1) Display or move ratings
Using this hook you can display or move ratings on your event listing page as per your need using your custom code.
Action
templ_post_title
Folder Location
../wp-content/plugins/Tevolution-Events/templates
Used in files
archive-event.php, taxonomy-ecategory.php, taxonomy-etags.php
How to use it?
Use it along with other hooks to change the ratings location on your events listing page. Suppose, to display ratings in the same line with events title use it like this,
add_action('templ_post_title','tevolution_events_after_title',12);
Now, here it has been used with other hook “tevolution_events_after_title” to display the ratings below the listing titles
Example
Suppose you want to move these ratings below custom fields or below excerpt or description then use it with other hooks like event_after_post_title or event_after_post_content with your custom code.
Note: “remove_action” is necessary to write because if you won’t then it will display you ratings twice on your listing page. One that comes from the default plugin function and the other added by you using this hook.
<?php
remove_action(‘templ_post_title’,’tevolution_event_after_title’,12);
add_action(‘event_after_post_title’,’tevolution_event_after_title’,12);
or
add_action(‘event_after_post_content’,’tevolution_event_after_title’,12);
2) Display or move custom fields
Using this hook you can display or move custom fields on your event listing page as per your need using your custom code.
Action
templ_post_title
Folder Location
../wp-content/plugins/Tevolution-Events/templates
Used in files
archive-event.php, taxonomy-ecategory.php, taxonomy-etags.php
How to use it?
Use it along with other hooks to change the comments count location on your events listing page. Suppose, to display your custom fields under post title use it like this,
add_action('templ_post_title','tevolution_events_after_title',12);
Now, here it has been used with other hook “tevolution_events_after_title” to display the ratings below the listing titles
Example
Suppose you want to move these custom fields below listing excerpt or content then use it with other hooks like event_after_post_title or event_after_post_content with your custom code.
Note: “remove_action” is necessary to write because if you won’t then it will display you ratings twice on your listing page. One that comes from the default plugin function and the other added by you using this hook.
<?php
remove_action(‘templ_post_title’, ‘ templ_after_event_content ‘,13);
add_action(‘event_after_post_content’, ‘ templ_after_event_content ‘,13);
3) Display or move “add to favorite, comment count and pinpoint”
If you want to move then you have to move all these 3 options “add to favorite, comment count and pinpoint” together as they are coded that way.
Action
event_after_taxonomies
Folder Location
../wp-content/plugins/Tevolution-Events/templates
Used in files
archive-event.php, taxonomy-ecategory.php, taxonomy-etags.php
How to use it?
Use it along with other hooks to change the ratings location on your events listing page. Suppose, to display ratings in the same line with events title use it like this,
add_action('event_after_taxonomies',' event_after_taxonomies_content');
Now, here it has been used with other hook “tevolution_events_after_title” to display the ratings below the listing titles
Example
Use it along with other hooks to change its location on your listing page. Suppose, to display them below the listing content then use it like as said below with your custom code.
Note: “remove_action” is necessary to write because if you won’t then it will display you ratings twice on your listing page. One that comes from the default plugin function and the other added by you using this hook.
<?php
remove_action(‘ event_after_taxonomies ‘,’ event_after_taxonomies_content’);
add_action(‘ event_after_taxonomies ‘,’ event_after_taxonomies_content’);
?>
Events detail page hooks
All the category page action hooks will effect only on the events detail page.
1) event_before_post_loop
Action
event_before_post_loop
Purpose
Helpful to add or display anything above event listing content on the events detail page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
single-event.php
Example
<?php
function event_before_post_loop_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_before_post_loop’,’event_before_post_loop_ad’ );?>
2) event_before_post_title
Action
event_before_post_title
Purpose
Helpful to add or display anything above post title on the events detail page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
single-event.php
Example
<?php
function event_before_post_title_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_before_post_title’,’event_before_post_title_ad’ );?>
3) event_display_rating
Action
event_display_rating
Purpose
Use this hook to display ratings or if you want to display anything else above or below the ratings then just change the priority of hooks execution on the events detail page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
single-event.php
Example
<?php
function event_display_rating_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_display_rating’,’event_display_rating_ad’ );?>
4) event_after_post_title
Action
event_after_post_title
Purpose
Helpful to display or add anything below event title on the events detail page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
single-event.php
Example
<?php
function event_after_post_title_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_after_post_title’,’event_after_post_title_ad’ );?>
5) event_before_post_content
Action
event_before_post_content
Purpose
Helpful to display or add anything above event content on the events detail page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
single-event.php
Example
<?php
function event_before_post_content_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_before_post_content’,’event_before_post_content_ad’ );?>
6) event_after_post_content
Action
event_after_post_content
Purpose
Helpful to display or add anything below event content on the events detail page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
single-event.php
Example
<?php
function event_after_post_content_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_after_post_content’,’event_after_post_content_ad’ );?>
7) event_custom_fields_collection
Action
event_custom_fields_collection
Purpose
Helpful to display or add extra events related custom field in this action on the events detail page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
single-event.php
Example
<?php
function event_custom_fields_collection_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_custom_fields_collection’,’event_custom_fields_collection_ad’ );?>
8) event_after_post_loop
Action
event_after_post_loop
Purpose
Helpful to add or display anything below event listing content on the events detail page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
single-event.php
Example
<?php
function event_after_post_loop_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_after_post_loop’,’event_after_post_loop_ad’ );?>
9) event_edit_link
Action
event_edit_link
Purpose
Helpful to display events edit link when admin gets log into the site on the events detail page with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
single-event.php
Example
<?php
function event_edit_link_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_edit_link’,’event_edit_link_ad’ );?>
10) tmpl_single_post_pagination
Action
tmpl_single_post_pagination
Purpose
Helpful to display previous and next events link on the events detail page on your directory site. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
single-event.php
Example
<?php
function tmpl_single_post_pagination_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘tmpl_single_post_pagination’,’tmpl_single_post_pagination_ad’ );?>
11) tmpl_before_comments
Action
tmpl_before_comments
Purpose
Helpful to add or display anything above comments on the events detail page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
single-event.php
Example
<?php
function tmpl_before_comments_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘tmpl_before_comments’,’tmpl_before_comments_ad’ );?>
12) tmpl_after_comments
Action
tmpl_after_comments
Purpose
Helpful to add or display anything below comments on your listing detail page with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
single-listing.php
Example
<?php
function tmpl_after_comments_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘tmpl_after_comments’,’tmpl_after_comments_ad’ );?>
13) tmpl_related_post
Action
tmpl_related_post
Purpose
Helpful to display related events listing after the events on the events detail page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
single-event.php
Example
<?php
function tmpl_related_post_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘tmpl_related_post’,’tmpl_related_post_ad’ );?>
Events search page hooks
All the category page action hooks will effect only on the events search page.
1) event_before_search_title
Action
event_before_search_title
Purpose
Helpful to add or display anything above search title (e.g. advertisement) on the events search page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
event-search.php
Example
<?php
function event_before_search_title_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_before_search_title’,’event_before_search_title_ad’ );?>
2) event_after_search_title
Action
event_after_search_title
Purpose
Helpful to add or display anything below search title on the events search page on your directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
event-search.php
Example
<?php
function event_after_search_title_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_after_search_title’,’event_after_search_title_ad’ );?>
3) event_before_loop_search
Action
event_before_loop_search
Purpose
Helpful to add or display anything above all search event (e.g. advertisement) on the events search page on the directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
event-search.php
Example
<?php
function event_before_loop_search_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_before_loop_search’,’event_before_loop_search_ad’ );?>
4) event_before_search_image
Action
event_before_search_image
Purpose
Helpful to add or display anything above search event image (e.g. advertisement) on the events search page on the directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
event-search.php
Example
<?php
function event_before_search_image_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_before_search_image’,’event_before_search_image_ad’ );?>
5) event_after_search_image
Action
event_after_search_image
Purpose
Helpful to add or display anything below search event image (e.g. advertisement) on the events search page on the directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
event-search.php
Example
<?php
function event_after_search_image_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_after_search_image’,’event_after_search_image_ad’ );?>
6) event_before_post_entry
Action
event_before_post_entry
Purpose
Helpful to add or display anything above the post entry of searched events (e.g. advertisement) on the events search page on the directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
event-search.php
Example
<?php
function event_before_post_entry_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_before_post_entry’,’event_before_post_entry_ad’ );?>
7) event_before_post_title
Action
event_before_post_title
Purpose
Helpful to add or display anything above event title (e.g. advertisement) on the events search page on the directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
event-search.php
Example
<?php
function event_before_post_title_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_before_post_title’,’event_before_post_title_ad’ );?>
8) event_after_post_title
Action
event_after_post_title
Purpose
Helpful to add or display anything below event title (e.g. advertisement) on the events search page on the directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
event-search.php
Example
<?php
function event_after_post_title_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_after_post_title’,’event_after_post_title_ad’ );?>
9) event_post_info
Action
event_post_info
Purpose
Helpful to add events related information like publish date, publish author etc on the events search page on the directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
event-search.php
Example
<?php
function event_post_info_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_post_info’,’event_post_info_ad’ );?>
10) event_before_post_content
Action
event_before_post_content
Purpose
Helpful to add or display anything above event description (e.g. advertisement) on the events search page on the directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
event-search.php
Example
<?php
function event_before_loop_search_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_before_post_content’,’event_before_post_content_ad’ );?>
11) event_after_post_content
Action
event_after_post_content
Purpose
Helpful to add or display anything below event description (e.g. advertisement) on the events search page on the directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
event-search.php
Example
<?php
function event_after_post_content_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_after_post_content’,’event_after_post_content_ad’ );?>
12) event_listing_custom_field
Action
event_listing_custom_field
Purpose
Helpful to add or display extra event related custom fields on the events search page on the directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
event-search.php
Example
<?php
function event_listing_custom_field_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_listing_custom_field’,’event_listing_custom_field_ad’ );?>
13) templ_the_taxonomies
Action
event_listing_custom_field
Purpose
Helpful to add or display extra event related custom fields on the events search page on the directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
event-search.php
Example
<?php
function event_listing_custom_field_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_listing_custom_field’,’event_listing_custom_field_ad’ );?>
14) event_after_taxonomies
Action
templ_the_taxonomies
Purpose
Helpful to display post related taxonomies on the events search page on the directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
event-search.php
Example
<?php
function templ_the_taxonomies_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘templ_the_taxonomies’,’templ_the_taxonomies_ad’ );?>
15) event_after_post_entry
Action
event_after_post_entry
Purpose
Helpful to add or display anything below event entry list of searched events (e.g. advertisement) on the events search page on the directory site with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
event-search.php
Example
<?php
function event_after_post_entry_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_after_post_entry’,’event_after_post_entry_ad’ );?>
16) event_after_loop_search
Action
event_after_loop_search
Purpose
Helpful to add or display anything below all search event (e.g. advertisement) on the events search page on your directory site along with your custom function. You can use it by having your function an echo output to the browser or to perform background tasks. Your functions should not return or take any parameters as it provides no parameters.
Folder Location
../wp-content/plugins/Tevolution-Directory/templates/
Used in files
event-search.php
Example
<?php
function event_before_loop_search_ad () {
echo ‘<a href=”https://templatic.com”><img src=” https://templatic.com/demos/directory/wp-content/uploads/2013/08/728×90.jpg”></a>’;
}
add_action(‘event_after_loop_search’,’event_after_loop_search_ad’ );?>
Any Queries? Contact us and we’ll help you out.