WPTI.PS
WordPress Tips
  • Home
  • Functions
  • News
  • Plugins
  • Templates
  • CSS
  • Themes
  • Resources
  • About
Home » News » 25K views on one single post!!!
This post was written more than a year ago and might not be entirely accurate anymore.

← WordPress websites and languages
How to add default custom background image WordPress 3.4? →

25K views on one single post!!!

7
Posted on March 16, 2012 in News
25K views on one single post!!!

A quick hurray overhere as we are starting the weekend: 8 months ago I wrote the post Replace/Remove Default Header Image Twenty Eleven Theme and we have just broke through the 25,000 post views barrier, quite a big feat for WP TIPS!

image by D Sharon Pruitt

  • +1
  • Tweet
  • Like
Shortlink to share or email this WP Tip to your friend(s):

Back to top ↑

← WordPress websites and languages
How to add default custom background image WordPress 3.4? →

  • WordPress
  • Google+

7 Responses to 25K views on one single post!!!

  1. Mia Bos said:
    March 16, 2012
    21:39hr

    WOW!!!!!! Congratulations !!!!! I m so proud of you!!!!!!!!!!

    Kusjesssssss!!!!!

    M

  2. Forest said:
    March 17, 2012
    01:19hr

    Hello,

    I’d like to be happy for you, but it’s hard to be, as the modification you suggested breaks my site.

    I tried carefully following all of the instructions, and everything works just fine when I am simply viewing pages. However, I get the following error whenever I try to edit a post: “Warning: Cannot modify header information – headers already sent by (output started at /home/tyds/public_html/wp-content/themes/tyds/functions.php:23) in /home/tyds/public_html/wp-includes/pluggable.php on line 866″

    Given that the hack attempts to modify header information, this error doesn’t seem that surprising. Any thoughts on how to fix it?

    • WPTIPS said:
      March 17, 2012
      15:22hr

      ok Forest, I am going to really do my best to be nice to you as you obviously spoiled my hurray post with your comment.

      my bad, I closed the comments long time ago… You do realize that your comment here has no relevance whatsoever to the post?! Was it really so difficult to put it under the appropriate post? It probably was and I continue assuming that you actually saw that there is nobody of the 66 commenters that a. cannot get it to work and b. experience the same error as you do.

      So the big question for you is what does it say on line 23 of your functions.php file?

      Apart from that you can try to let me know what exactly is not working as I just visited your site and there seems to be no problem whatsoever.

  3. Forest said:
    March 17, 2012
    23:33hr

    Okay, I’m embarrassed. I apologize for my initial post. Maybe some day I’ll have a single post with 25,000 views and I hope I’ll be as helpful as you if someone posts a negative note on it. Thank you for rising above my snarkiness.

    I was frustrated because I had just broken my site (at least the ability to edit posts), and other people rely on the site. I’m dying to launch the site, and completely overwhelmed by everything I have on my plate. A bad day, I guess.

    I’m a WP newbie, but I couldn’t figure out how to post on the other page. I suspect that comments are turned off, as I couldn’t find a “Leave a Reply” box at the bottom and couldn’t find any reply buttons in the text.

    The error happens whenever I try try to do an administrative action, such as editing or making a post. It’s always the same error: ”
    Warning: Cannot modify header information – headers already sent by (output started at /home/tyds/public_html/wp-content/themes/tyds/functions.php:23) in /home/tyds/public_html/wp-includes/pluggable.php on line 866″

    Line 23 is a blank line at the end of the file. The complete text of functions.php is
    array (
    ‘url’ => “$child2011_dir/images/banner1.jpg”,
    ‘thumbnail_url’ => “$child2011_dir/images/image1-thumb.jpg”, // 230 x 66px
    ‘description’ => __( ‘Image Description’, ‘banner1′ )
    )
    ));
    }
    add_action( ‘after_setup_theme’, ‘wptips_new_default_header_images’ );
    ?>

    [EOF]
    I’m going to feel right stupid if this was an obvious mistake I made following your directions.

    • WPTIPS said:
      March 17, 2012
      23:50hr

      OK my best guess is that either there are spaces in the code or the closing tag is not necessary.

      Anyways, I have made a gist for you, try it and let me know.

      And apologies for my remark on commenting here instead of in the original post, I indeed closed the comments there a while ago…

      • Forest said:
        March 18, 2012
        23:24hr

        Ugh. That worked perfectly.

        Thanks again for your generous help. My apologies for spoiling your post. :embarrassed:

        • WPTIPS said:
          March 19, 2012
          00:34hr

          Yeah, that is sth that you’ll learn over time. With copying and pasting PHP, you’ll always have to make sure that the spaces are actually tabs and not real spaces…

          Actually pasting your code in Gists and then pasting a link to a Gist instead of in comments works the best for this purpose.

          Anyways, glad that you got it working, so now we can focus on the hurray part again of 25,400 views at the time of writing this response :)

 WP TIPS on Google+

 RSS Links

  • Subscribe to WP TIPS by Email
  • All Tips
  • All comments

 WP TIPS Recommends

sponsor

sponsor

sponsor

sponsor

 Popular WP TIPS

  • Replace/Remove Default Header Image Twenty Eleven Theme
  • 4 ways on dealing with vendor prefixes
  • Replace Default Header Image Twenty Ten Theme
  • Make Your Own Latest News Dashboard Widget
  • Creating a Member List
  • Playing with Post Formats of WordPress 3.1
  • How to add default custom background image WordPress 3.4?
  • Extending the WordPress Walker Class
  • Multisite Dashboard Feed Widget plugin
  • WordPress 3.3 Dashboard Tweaks plugin

 Donations are Welcome!

I would like to donate

 Latest WP TIPS

    This post was written more than a year ago and might not be entirely accurate anymore.

  • Plugin Challenge
  • Prefix free by Lea Verou
  • Elegant Themes WPML compatible
  • Beijing WordPress Meetup Widget
  • Tip on how to add plugin directories to mu-plugins folder

WordPress Services

  • WordPress Consulting
  • WPML Assessment
  • Mobile Solutions
  • SEO & Social Media Strategy
  • Website Development
  • Managed WordPress Hosting

Go to top ↑

© Copyright 2013 · WP TIPS · Basejump WordPress Theme developed by Senlin Online · Powered by WordPress