Forum Replies Created

Viewing 3 replies - 16 through 18 (of 18 total)
  • cherry0

    (@cherry0)

    Thanks for the tips guys, I managed to get it working.

    @ Digital Raindrops – I tried removing the last ?> but it didn’t have any effect, so I tried something similar.

    My child functions.php file was like this:

    <php
       // I had custom code here already
    ?>
    <php
       // I had the code here mentioned in my first post
    ?>

    I simply got rid of the two seperate opening and closing php tags, and
    made it as one, e.g.

    <php
       // ccustom code here already
       // code here mentioned in my first post
    ?>
    cherry0

    (@cherry0)

    Hey guys, thanks for your input I’ve been looking for a solution to this for a while. However it seems to break the backend of my site.

    @ alchymyth – When I put the following code into my twenty eleven Child Theme’s functions.php file, it breaks my site.

    After adding the code, the site functions okay from the front end and it does remove the ‘Posted By AuthorName’, BUT when I try to access the back end login area I just see a white screen.

    I put the following code into my child theme’s functions.php file:

    <?php
    if ( ! function_exists( 'twentyeleven_posted_on' ) ) :
    function twentyeleven_posted_on() {
      printf( __( '<span class="sep">Posted on </span><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s" pubdate>%4$s</time></a>', 'twentyeleven' ),
        esc_url( get_permalink() ),
        esc_attr( get_the_time() ),
        esc_attr( get_the_date( 'c' ) ),
        esc_html( get_the_date() )
      );
    }
    endif;
    ?>

    Am I doing something wrong here? I tried removing the ‘If’ statements but I get the same issue of not being able to access the login area.

    Thread Starter cherry0

    (@cherry0)

    Hey thanks for your reply. This doesn’t just happen on my site, I have checked other sites that are using the plugin and the results are the same.

    When I click on the Google or Facebook like icons, the login window pops up, and I then log in, so it all appears to function okay, but when you actually look at the number of likes the number doesn’t change at all. So it looks like it works but actually it doesn’t.

    This only happens while using the Google Chrome browser (I just updated to the latest Chrome but still get the same issue, not sure if it makes any difference but I am also using windows 7).

    When I use Internet Explorer or Firefox I don’t get this problem.

    Please can you check again; make sure you are using the Chrome browser on a PC, and check how many Facebook/Google likes that page has before you click the Facebook/Google like button, then once you click it and log in take another look to see if the number of likes remains the same.

Viewing 3 replies - 16 through 18 (of 18 total)