1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Tribe_events auto add

Discussion in 'Web Design' started by Spot On, Apr 6, 2016.

  1. Spot On

    Spot On Newbie

    Joined:
    Apr 1, 2016
    Messages:
    8
    Likes Received:
    1
    Hello i have a web design question, would be very gratefull for some answer. After making my website and loading it in MOZ, i saw that for every page i have made, same event page has been also made. It is the same url just with "/?post_type=tribe_events" at the end. I checked and i have no plugin event or calendar preinstaled on the wordpress (it was dummy content from the start)
    My question is where to look in the editor to turn this off,as it must be surely generated from there. I am afraid that that pages will be considered duplicate and i would not be able to rank them.
    10x a lot from a newbie with a wish to learn.
     
  2. Spot On

    Spot On Newbie

    Joined:
    Apr 1, 2016
    Messages:
    8
    Likes Received:
    1
    <title><?php
    $title = is_woo() ? woocommerce_page_title(false) : (
    is_post_type_archive('staff') ? post_type_archive_title( '', false ) : (
    is_tax() ? (get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) )->name) : (get_post_type() == 'tribe_events' ? get_post_type_object('tribe_events')->labels->name : get_the_title() ) ) );
    echo $title; ?></title>

    found this in header.php. is the highlighted stuff the auto generate tribe event page thing