Home › Forums › Calendar Products › Events Calendar PRO › How to I add Events page and the various Event views to the Sitemap
- This topic has 5 replies, 4 voices, and was last updated 9 years, 8 months ago by
Nicole.
-
AuthorPosts
-
August 30, 2016 at 5:00 pm #1157886
Nicole
Participanthi there,
my sitemap is at http://healthyandrested.com/sitemap/
I’d like to add the event calendar pro views to the sitemap. They are not showing there.
I would also like to change the name to classes, classes/list view, classes/map view, classes/photo viewhttp://healthyandrested.com/events/
http://healthyandrested.com/events/list/
http://healthyandrested.com/events/map/
http://healthyandrested.com/events/photo/this is a Genesis site using the Archive Template, page_archive.php which i have customized to use 2 columns.
many thanks,
eve Lurie, webmaster
[email protected]August 31, 2016 at 12:09 pm #1158417Cliff
MemberHi Nicole.
I’m guessing you’re talking about an HTML sitemap, not an XML sitemap, based on your link.
How are you generating this page’s content?
September 1, 2016 at 12:31 pm #1158979Nicole
Participantyes, html sitemap, not xml sitemap.
This is a Genesis site using the Archive Template, page_archive.php which I have customized to use 2 columns.
how I generate this is to make a new page called sitemap, and choose the archive template from the template dropdown.Here is the template called page_archive.php
<?php
/**
* Genesis Framework.* @package Genesis\Templates
* @author StudioPress
* @license GPL-2.0+
* @link http://my.studiopress.com/themes/genesis/
*///* Template Name: Archive
//* Remove standard post content output
remove_action( ‘genesis_post_content’, ‘genesis_do_post_content’ );
remove_action( ‘genesis_entry_content’, ‘genesis_do_post_content’ );add_action( ‘genesis_entry_content’, ‘genesis_page_archive_content’ );
add_action( ‘genesis_post_content’, ‘genesis_page_archive_content’ );
/**
* This function outputs sitemap-esque columns displaying all pages,
* categories, authors, monthly archives, and recent posts.
*
* @since 1.6
*/
function genesis_page_archive_content() { ?><div class=”columns-2″>
<?php _e( ‘Pages:’, ‘genesis’ ); ?>
-
<?php wp_list_pages( ‘title_li=’ ); ?>
<?php _e( ‘Categories:’, ‘genesis’ ); ?>
-
<?php wp_list_categories( ‘sort_column=name&title_li=’ ); ?>
<!–
<?php _e( ‘Authors:’, ‘genesis’ ); ?>
-
<?php wp_list_authors( ‘exclude_admin=0&optioncount=1’ ); ?>
–>
</div><div class=”columns-2″>
<?php _e( ‘Monthly:’, ‘genesis’ ); ?>
-
<?php wp_get_archives( ‘type=monthly’ ); ?>
</div>
<?php _e( ‘Posts List:’, ‘genesis’ ); ?>
-
<?php wp_get_archives( ‘type=postbypost&limit=200’ ); ?>
</div>
<?php
}genesis();
September 2, 2016 at 9:24 pm #1159587Cliff
MemberThanks for this information.
Is there a reason you don’t want to manually insert those URLs into your HTML sitemap, since you’re just wanting the views to be included, not individual events, venues, or organizers?
September 24, 2016 at 9:35 am #1168348Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘How to I add Events page and the various Event views to the Sitemap’ is closed to new replies.
