• Resolved Ovidiuxxxc

    (@ovidiuxxxc)


    I want to remove the Date and the Author from the post because it appears on Google. I want to display directly the content of the post on the Google Search Engine.

    Here is my WordPress Theme. (you can get it, it is directly download)

    I am not an WordPress expert, so I can not figure this out with other topics on WordPress Support Forum.

    If someone is able to help me, thank you. Just let me know what I should remove from my /wp-admin/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi, Ovidiux

    Try find put
    function posted_on()

    (or seem like this function) in function.php
    Path: wp-content/themes/<theme-name>/

    Then comment it out.

    Thanks,

    hanafi,
    KL

    Thread Starter Ovidiuxxxc

    (@ovidiuxxxc)

    Hello.
    – I have figure this out;
    – I removed this codes from index.php;
    – I don’t know if I should remove more codes;
    – now, it is working fine.

    <img src="<?php bloginfo('template_url'); ?>/images/PostDateIcon.png" width="18" height="18" alt="PostDateIcon" />
    <?php the_time(__('F jS, Y', 'kubrick')) ?>
    <?php $icons[] = ob_get_clean(); ?>
    <?php ob_start(); ?>
    <img src="<?php bloginfo('template_url'); ?>/images/PostAuthorIcon.png" width="14" height="14" alt="PostAuthorIcon" />
    <?php _e('Author', 'kubrick'); ?>: <a href="#" title="<?php _e('Author', 'kubrick'); ?>"><?php the_author() ?></a>
    <?php $icons[] = ob_get_clean(); ?>

    The Date and the Author, they doesn’t appear anymore.
    I want to mention that is depending on what WordPress theme are you using and where the codes are placed on the respective file.

    With pleasure,
    [sig moderated as per the Forum Rules]

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to remove the Date and the Author from the post?’ is closed to new replies.