Remove Title From Top Of Page

Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

  • Author
    Posts
  • #20385
    iancampbell
    Spectator

    Hello, i am new locating coding in templates, i want to remove the title from the heading on this page http://www.caperteevalley.com/rural/ as you can see it is getting the title from the first listing…

    “TAYAR UPPER NILE, CAPERTEE VALLEY“HANNICK”, 176 GENOWLAN ROAD GLEN ALICE, CAPERTEE VALLEYTWIN PINES, CAPERTEE VALLEY599 Genowlan Road Glen Alice NSW 2849”

    What file and what line do i need to edit to remove or change this header ???

    Thanks in advance

    #20386
    iancampbell
    Spectator

    Please note, customer has requested me to change the listing name to Capertee Valley Rural Holdings For Sale, and as you can see its duplicating which is frustrating…any help please

    #20415
    Merv Barrett
    Keymaster

    Follow this guide to configure your archive-listing.php file. Then you can edit the heading information as required.

    This is what the default template looks like.

    The h4 section at the top controls the content of that title.

    #20519
    iancampbell
    Spectator

    Merv, thanks for your reply i removed what i thought was related to the header and after saving it and clearing the cache and checking on another PC the header still exists. Below is whats left of the archive-listings.php file… have i missed something ????

    <?php
    /**
    * Archive Template for Custom Post Types
    */

    // Exit if accessed directly
    if ( ! defined( ‘ABSPATH’ ) ) exit;

    <div class=”entry-content loop-content”>
    <?php do_action( ‘epl_property_loop_start’ ); ?>
    <?php while ( have_posts() ) : // The Loop
    the_post();
    do_action(‘epl_property_blog’);
    endwhile; // end of one post
    ?>
    <?php do_action( ‘epl_property_loop_end’ ); ?>
    </div>

    <div class=”loop-footer”>
    <!– Previous/Next page navigation –>
    <div class=”loop-utility clearfix”>
    <?php do_action(‘epl_pagination’); ?>
    </div>
    </div>
    </div>
    <?php
    else :
    ?><div class=”hentry”>
    <div class=”entry-header clearfix”>
    <h3 class=”entry-title”><?php apply_filters( ‘epl_property_search_not_found_title’ , _e(‘Listing not Found’, ‘epl’) ); ?></h3>
    </div>

    <div class=”entry-content clearfix”>
    <p><?php apply_filters( ‘epl_property_search_not_found_message’ , _e(‘Listing not found, expand your search criteria and try again.’, ‘epl’) ); ?></p>
    </div>
    </div>
    <?php endif; ?>
    </div>
    </section>
    <?php
    get_sidebar();
    get_footer();

    #20971
    Merv Barrett
    Keymaster

    In order to customise the templates you will need to disable theme compatibility mode. When in theme compatibility mode your theme is creating the archive template and ignoring the file you created.

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Basic Support’ is closed to new topics and replies.