Forums

[resolved] Removing the "No Comments and date info" from pages (4 posts)

  1. eastbayjosh
    Member
    Posted 2 years ago #

    Hi,

    How do I remove the

    Back to Parent Page | March 7, 2010 | Edit | No Comments ยป
    from the bottom of the pages I create?

    I'm using the Constructor theme and the site is GreenMendo.org.

    Thanks!

  2. Kate
    Member
    Posted 2 years ago #

    You'd have to open your page.php file and remove the PHP code inside of the div with the classes of "links" and "right". The code looks like this:

    <?php if($post->post_parent) : $parent_link = get_permalink($post->post_parent); ?>
                        <a href="<?php echo $parent_link; ?>"><?php _e('Back to Parent Page', 'constructor');?></a> |
                        <?php endif; ?>
                        <?php the_date() ?> |
                        <?php the_tags(__('Tags', 'constructor') . ': ', ', ', ' |'); ?>
                        <?php edit_post_link(__('Edit', 'constructor'), '', ' | '); ?>
                        <?php comments_popup_link(__('No Comments »', 'constructor'), __('1 Comment »', 'constructor'), __('% Comments »', 'constructor'), '', __('Comments Closed', 'constructor') ); ?>

    Hope that helps.

  3. eastbayjosh
    Member
    Posted 2 years ago #

    Thanks Kateendarcy,

    That did the trick!

  4. Kate
    Member
    Posted 2 years ago #

    No problem. Glad it worked! :)

Topic Closed

This topic has been closed to new replies.

About this Topic