How to Hide Post Date in WordPress

The WordPress content management system, or CMS, is used primarily to power blogs and other time-based websites in which posts are displayed in reverse chronological order. But WordPress is such a versatile CMS that it is often used to power non-blog websites that feature unchanging content. By default, posts made through WordPress will include the date and time of publication. This information can be hidden using the appearance editor found in the WordPress administrative panel.

Instructions

    • 1

      Log into your WordPress website.

    • 2

      Expand the "Appearance" sub-menu, then click "Editor."

    • 3

      Click "page.php" to open the code for this element of your website.

    • 4

      Select all of the code and copy it to your clipboard.

    • 5

      Click "Start" and select "Programs," then "Accessories," then "Notepad."

    • 6

      Paste the copied code into Notepad and then save the document to your desktop. This will ensure that changes you make can be reverted in the event of a mistake.

    • 7

      Remove the following block of code from "page.php" in the appearance editor text box and then click "Update File." You can find this section of code by pressing "Ctrl" and "F" together to search the document.

      <td class="clearstyle_calendar">

      <div class="entry-meta">

      <?php clearstyle_posted_on();?>

      </div>

      </td>

    • 8

      Repeat the previous steps for "single.php" and "loop.php," copying and pasting the code into a Notepad document and removing the code blocks from each of the files. Click "Update File" after removing the code blocks from these two files. Once these changes have been made, the date will no longer be displayed on your home page or within individual post pages.

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured