WP Code Question

Discussion in 'PHP' started by SunShyne, Nov 6, 2012.

  1. #1
    I am having issue removing the date time stamp on posts. I am running the Tewnety Ten theme and cant find the date function as its not in the css file as it used to be before the update.

    Anyone know what and where to remove?

    thanks in advance
     
    Solved! View solution.
    SunShyne, Nov 6, 2012 IP
  2. #2
    sorry but it has never been in the css file as the css file is only telling the browser how to display things.

    You need to look in the following files.

    loop-single.php
    loop.php

    and you are looking for this code

    
                            <div class="entry-meta">
    				<?php twentyten_posted_on(); ?>
    			</div><!-- .entry-meta -->
    
    PHP:
     
    stephan2307, Nov 7, 2012 IP
  3. linkodev

    linkodev Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Follow @stephan2307 instruction and comment that out.
     
    linkodev, Nov 8, 2012 IP
  4. SunShyne

    SunShyne Active Member

    Messages:
    975
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    60
    #4
    that fixed the issue, thanks!~
     
    Last edited: Nov 8, 2012
    SunShyne, Nov 8, 2012 IP
  5. linkodev

    linkodev Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You are welcome.
     
    linkodev, Nov 12, 2012 IP
  6. abhirampathak3

    abhirampathak3 Peon

    Messages:
    44
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    hi, every time network.php affected by malware , dont know how to control this even i have changed the permission. pls help me
     
    abhirampathak3, Nov 19, 2012 IP
  7. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #7
    When you first set up your site, keep a copy of every PHP file on your computer. Every time you change a file on the site, copy it down to your computer (overwriting the copy you had).

    When there's a problem, just upload all the files to the site.

    Since you probably never did the first step, just get the files from wherever you first got them and upload them to the site. (You may have to modify one [or more] of them if a file or files get modified during normal installation.)
     
    Rukbat, Nov 22, 2012 IP