• WPfirsttime

    (@wpfirsttime)


    I am new to WordPress and I want a static website. I am using the weaver (wheat) template. I was able to remove the comment box by going to single.php and adding // in front of the word comments in the line <?php comments_template( ”, true ); ?>. Therefore, it looks like <?php //comments_template( ”, true ); ?>. This worked to remove the comment box, however, it leaves me with the statements “posted on (date) by (author)” and “Posted in Uncategorized | Leave a comment” on the home page. How do I remove these statements? I tried by removing the post that came with the theme, but when I do that, the Home page reads “Not Found…Apologies, but no results were found for the requested archive. Perhaps searching will help find a related post.” Please help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Pioneer Web Design

    (@swansonphotos)

    How can such an advanced q be by such a newb?

    Thread Starter WPfirsttime

    (@wpfirsttime)

    ??

    Thread Starter WPfirsttime

    (@wpfirsttime)

    I feel like I need to do some more temple editing to resolve this issue but I don’t know which lines to look for or which section the lines are in. I looked in the codex dealing with loops since it deals with tagging the post with time, etc but I’m still lost. Any suggestions?

    Thread Starter WPfirsttime

    (@wpfirsttime)

    I meant template editing. ??

    Michael

    (@alchymyth)

    have a look in content.php and single.php, for some code like ‘weaver_posted_on()’ and ‘weaver_posted_in()’

    – treat it the same as you did with the comments code; or remove it together with the surrounding div.

    Thread Starter WPfirsttime

    (@wpfirsttime)

    Thank you! alchymyth. That took care of it! The lines were in content.php. They were as follows:

    <?php weaver_posted_on(‘blog’); ?>
    <?php weaver_posted_in(‘blog’); ?>

    I changed them to

    <?php //weaver_posted_on(‘blog’); ?>
    <?php //weaver_posted_in(‘blog’); ?>

    It worked! Thanks again! alchymyth.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘remove "post on" and "post in" statements’ is closed to new replies.