How to I add Events page and the various Event views to the Sitemap

Home Forums Calendar Products Events Calendar PRO How to I add Events page and the various Event views to the Sitemap

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1157886
    Nicole
    Participant

    hi 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 view

    http://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]

    #1158417
    Cliff
    Member

    Hi 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?

    #1158979
    Nicole
    Participant

    yes, 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();

    #1159587
    Cliff
    Member

    Thanks 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?

    #1168348
    Support Droid
    Keymaster

    Hey 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

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘How to I add Events page and the various Event views to the Sitemap’ is closed to new replies.