Title: Scriptrunner (Doug Sparling)'s Replies - page 26 | WordPress.org

---

# Scriptrunner (Doug Sparling)

  [  ](https://wordpress.org/support/users/scriptrunner/)

 *   [Profile](https://wordpress.org/support/users/scriptrunner/)
 *   [Topics Started](https://wordpress.org/support/users/scriptrunner/topics/)
 *   [Replies Created](https://wordpress.org/support/users/scriptrunner/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/scriptrunner/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/scriptrunner/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/scriptrunner/engagements/)
 *   [Favorites](https://wordpress.org/support/users/scriptrunner/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 376 through 390 (of 520 total)

[←](https://wordpress.org/support/users/scriptrunner/replies/page/25/?output_format=md)
[1](https://wordpress.org/support/users/scriptrunner/replies/?output_format=md) 
[2](https://wordpress.org/support/users/scriptrunner/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/scriptrunner/replies/page/3/?output_format=md)…
[25](https://wordpress.org/support/users/scriptrunner/replies/page/25/?output_format=md)
26 [27](https://wordpress.org/support/users/scriptrunner/replies/page/27/?output_format=md)…
[33](https://wordpress.org/support/users/scriptrunner/replies/page/33/?output_format=md)
[34](https://wordpress.org/support/users/scriptrunner/replies/page/34/?output_format=md)
[35](https://wordpress.org/support/users/scriptrunner/replies/page/35/?output_format=md)
[→](https://wordpress.org/support/users/scriptrunner/replies/page/27/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to make page visible in the menu only if staying at that page?](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/#post-4159989)
 * OK, what happens is if you make your blog page private, you can still get to 
   it if not logged in, it just doesn’t appear in the menu. If you set individual
   blog posts to private, then you get the 404 if not logged in.
 * So now I think we can get somewhere… 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to make page visible in the menu only if staying at that page?](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/#post-4159987)
 * Sorry about that, let me try again
 * [Page Visibility](http://en.support.wordpress.com/pages/page-visibility/)
 * [Content Visibility](http://codex.wordpress.org/Content_Visibility)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to make page visible in the menu only if staying at that page?](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/#post-4159984)
 * For hidden pages, the most common way to do that is to use the [Exclude Pages ](http://wordpress.org/plugins/exclude-pages/)
   plugin, which basically just takes the page out of the menu, since all pages 
   are added to the menu by default.
 * A private (visibility set to private) page or post should not be viewable if 
   a user is not logged in. You should get a 404.
 * [Content Visibility](https://wordpress.org/support/users/scriptrunner/replies/page/26/?output_format=md)
 * I’ll get to the rest of your question in a bit, need some coffee. But for starters,
   how do you have your site setup, specifically
 * `Settings->Reading`
 * The first setting:
 * `Front page displays`
 * can be set to `Your latest posts` or `A static page (select below)`
 * I’ve created a blank page titled “blog” and set the above to `A static page` 
   and chose “blog.”
 * Are you doing something similar to that?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Duplicate category pages](https://wordpress.org/support/topic/duplicate-category-pages/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/duplicate-category-pages/#post-4157783)
 * OK, thanks, I thought that might be, just wanted to make sure. If I come up with
   anything, I’ll let you know. I haven’t been able to duplicate it.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Remove hyperlink from the post titles that have no content.](https://wordpress.org/support/topic/remove-hyperlink-from-the-post-titles-that-have-no-content/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/remove-hyperlink-from-the-post-titles-that-have-no-content/#post-4163850)
 * Awesome, you’re quite welcome!
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [RSS error: Extra content at the end of the document](https://wordpress.org/support/topic/rss-error-extra-content-at-the-end-of-the-document/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/rss-error-extra-content-at-the-end-of-the-document/#post-4157782)
 * Strange, I’ll have to think on it. I looked through the `feed.php` in core to
   see what it was doing, but the only possible I think I could think of on first
   glance was something to do with the_content.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to make page visible in the menu only if staying at that page?](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/how-to-make-page-visible-in-the-menu-only-if-staying-at-that-page/#post-4159978)
 * Private is different from hidden. Private posts/pages are only visible to admins
   and editors. The code I posted strictly deals with “hidden” pages (not private
   and not for posts). A normal reader would never see a private page. That said,
   is that still something you need?
 * Yes, I could certainly make a configurable option (basically an arrays of IDs
   to ignore).
 * I took your request literally, and set it up for pages, as you can use the Excluded
   Pages plugin to “hide” a page from the menu. Posts don’t have that option, at
   least not with that plugin. How are you hiding posts? (or are you using private?)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Remove hyperlink from the post titles that have no content.](https://wordpress.org/support/topic/remove-hyperlink-from-the-post-titles-that-have-no-content/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/remove-hyperlink-from-the-post-titles-that-have-no-content/#post-4163789)
 * Sorry about that…try this updated code:
 *     ```
       <?php
           if ( strlen( get_the_content() ) ) {
               echo '<a href="';
               the_permalink();
               echo '">';
           }
   
           the_title();
   
           if ( strlen( get_the_content() ) )
               echo '</a>';
       ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Blog Died After Upgrade!](https://wordpress.org/support/topic/blog-died-after-upgrade/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/blog-died-after-upgrade/#post-4163763)
 * This could be caused by a MySQL binary upgrade on the server (without a dump 
   and reload of the tables) or corrupted tables.
 * Maybe someone who’s had this problem before can chime in, but basically the messages
   are telling you what you need to do. Run:
 * `REPAIR TABLE wp_terms`
 * at a MySQL command line or via phpMyAdmin (or equivalent), obviously for every
   table listed. Be sure and do a database backup first.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Error Message when creating a new post](https://wordpress.org/support/topic/error-message-when-creating-a-new-post/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/error-message-when-creating-a-new-post/#post-4163725)
 * Are you sure you’re using WordPress 3.6.1? WordPress 3.2.1 was the last version
   to have `dashboard.css`.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Remove hyperlink from the post titles that have no content.](https://wordpress.org/support/topic/remove-hyperlink-from-the-post-titles-that-have-no-content/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/remove-hyperlink-from-the-post-titles-that-have-no-content/#post-4163722)
 * Since you’re in The Loop, you could use something like this:
 *     ```
       <?php
           if ( strlen( get_the_content() ) )
               echo '<a href="<?php the_permalink() ?>">';
   
           the_title();
   
           if ( strlen( get_the_content() ) )
               echo '</a>';
       ?>
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Blog has ben disconnected!](https://wordpress.org/support/topic/urgent-help-blog-has-ben-disconnected/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/urgent-help-blog-has-ben-disconnected/#post-4156177)
 * I’m not sure on the Chrome extension thing. But between Wayback Machine and Google
   cache (search for your site), you might be able to get some of it back. Best 
   of luck.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Blog has ben disconnected!](https://wordpress.org/support/topic/urgent-help-blog-has-ben-disconnected/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/urgent-help-blog-has-ben-disconnected/#post-4156172)
 * `http://web.archive.org/web/*/http://www.finskis.com/`
 * (Sorry, I couldn’t seem to make a proper link with the archive.org uri structure)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Blog has ben disconnected!](https://wordpress.org/support/topic/urgent-help-blog-has-ben-disconnected/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/urgent-help-blog-has-ben-disconnected/#post-4156170)
 * Wow, normally I would expect a host to give you a little grace period or maintain
   a backup for a limited time. I’d find a new host. And you definitely need to 
   learn how to do your own backups (or hire someone) regardless.
 * You might be able to find some of it using Google cache, but depending on what
   your content was, that may not be much help.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Blog has ben disconnected!](https://wordpress.org/support/topic/urgent-help-blog-has-ben-disconnected/)
 *  [Scriptrunner (Doug Sparling)](https://wordpress.org/support/users/scriptrunner/)
 * (@scriptrunner)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/urgent-help-blog-has-ben-disconnected/#post-4156168)
 * Did your partner forget to pay the domain name fee or hosting fee? In either 
   case, you should probably contact your host, especially if it was the later.

Viewing 15 replies - 376 through 390 (of 520 total)

[←](https://wordpress.org/support/users/scriptrunner/replies/page/25/?output_format=md)
[1](https://wordpress.org/support/users/scriptrunner/replies/?output_format=md) 
[2](https://wordpress.org/support/users/scriptrunner/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/scriptrunner/replies/page/3/?output_format=md)…
[25](https://wordpress.org/support/users/scriptrunner/replies/page/25/?output_format=md)
26 [27](https://wordpress.org/support/users/scriptrunner/replies/page/27/?output_format=md)…
[33](https://wordpress.org/support/users/scriptrunner/replies/page/33/?output_format=md)
[34](https://wordpress.org/support/users/scriptrunner/replies/page/34/?output_format=md)
[35](https://wordpress.org/support/users/scriptrunner/replies/page/35/?output_format=md)
[→](https://wordpress.org/support/users/scriptrunner/replies/page/27/?output_format=md)