Title: jansmith's Replies | WordPress.org

---

# jansmith

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

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

 Search replies:

## Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [fatal error during upgrad to WP 3.7](https://wordpress.org/support/topic/fatal-error-during-upgrad-to-wp-37/)
 *  Thread Starter [jansmith](https://wordpress.org/support/users/jansmith/)
 * (@jansmith)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-during-upgrad-to-wp-37/#post-4259648)
 * I began adding my plugins back in, one at a time.
 * When I got to “nextgen-gallery”, as soon as I activated it, my site blew up again.
 * I’m not sure if it’s their plugin, or perhaps I have deuling javascripts in my
   site.<s>
 * At least the site is back up.
 * Any ideas on how to resolve this issue?
 * Thanks again for your help.
 * Jan
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [fatal error during upgrad to WP 3.7](https://wordpress.org/support/topic/fatal-error-during-upgrad-to-wp-37/)
 *  Thread Starter [jansmith](https://wordpress.org/support/users/jansmith/)
 * (@jansmith)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/fatal-error-during-upgrad-to-wp-37/#post-4259618)
 * Thanks for your reply, Tara.
 * I can’t find a folder named mu-plugins.
 * I have a folder named “plugins” under the wp-content folder. I renamed that folder
   to “plugins-old”, and now my site is back up.
 * Now I’m going to try to figure out how to get the plugins back without breaking
   my site again.
 * I just made a new empty “plugins” folder. I will try adding back in the active
   plugins I was using one-by-one and see what happens.
 * Thanks for your help. I would never have thought of the plugins as being a factor
   in this problem.
 * jan
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Jetpack - WP Security, Backup, Speed, & Growth] sharedaddy doesn't use my css; prints entire page?](https://wordpress.org/support/topic/sharedaddy-doesnt-use-my-css-prints-entire-page/)
 *  Thread Starter [jansmith](https://wordpress.org/support/users/jansmith/)
 * (@jansmith)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/sharedaddy-doesnt-use-my-css-prints-entire-page/#post-3903534)
 * Jeremy,
 * Thanks for your prompt reply!
 * I have put the following at the bottom of my css:
 * [@media](https://wordpress.org/support/users/media/) print {
    /* All your print
   styles go here */ #header, #footer, #comments, #sidebar, #nav { display: none!
   important; } #content { display:block ; margin-left:0; float:none; width:auto;}}
 * Still, when I use the sharedaddy print button, I get the entire page.
 * How does the plugin know to find/use my css?
 * Thanks,
 * jan
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [CleanPrint plugin doesn't use my CSS](https://wordpress.org/support/topic/cleanprint-plugin-doesnt-use-my-css/)
 *  Thread Starter [jansmith](https://wordpress.org/support/users/jansmith/)
 * (@jansmith)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/cleanprint-plugin-doesnt-use-my-css/#post-3209695)
 * Hmmm… actually, the problem is not just that CleanPrint ignores CSS; it also 
   ignores styles embedded in the text.
 * I have tags such as:
 * ‘<h2>’ – should use a heading font, but doesn’t.
    “strong” – should make text
   bold, but doesn’t. (using < > causes error; sorry) ‘<span style=”color: #ff0000;”
   >’ – should cause text to be red, but doesn’t.
 * Is there a setting somewhere that I’m missing??
 * Otherwise, what’s the point? Before I tried CleanPrint, I copied a post from 
   my blog, pasted it into MS Word, and all the formatting arrived intact!
 * [http://www.wordblessings.com](http://www.wordblessings.com)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [how to removing CleanPrint plugin from one page](https://wordpress.org/support/topic/how-to-removing-cleanprint-plugin-from-one-page/)
 *  [jansmith](https://wordpress.org/support/users/jansmith/)
 * (@jansmith)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/how-to-removing-cleanprint-plugin-from-one-page/#post-3030083)
 * I’m not sure if this is a WordPress feature or a feature of the theme I’m using(
   Thesis).
 * When editing a page, there is a section headed “SEO details and additional style.
   Within that section is a place to enter a class name. I created a class in my
   CSS named no_print.
 * In my CSS, I have the following:
 * .no_print .cleanprint-exclude { display:none; }
 * Hope this helps!
    ~jan
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [What file is function get_post() in?](https://wordpress.org/support/topic/what-file-is-function-get_post-in/)
 *  Thread Starter [jansmith](https://wordpress.org/support/users/jansmith/)
 * (@jansmith)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/what-file-is-function-get_post-in/#post-3149637)
 * alieneila,
    Thanks for your reply. I am using WordPress 3.4.2., and I have searched
   all PHP files for the Get_post function, including wp-includes/post.php. It isn’t
   in my version.
 * Setting that to one side, perhaps if I gave more details, you could suggest a
   solution.
 * I am using a theme called “Thesis”, which provides numerous “hooks” in which 
   one may insert custom code. One of these hooks is labeled “these_hook_before_sidebar_1”.
   It contains the following code:]
 *     ```
       <?php
       if (is_single())  {
       ?>
       <div class="columntext" id="c4">
       	<ul class="columnlinks">
   
       <li><a>')">Printer-friendly page</a></li>
       </div>
       <?php } ?>
       ```
   
 * _[please mark all posted codes using the ‘code’ button – [http://pastebin.com/](http://pastebin.com/)–
   the above section is already corrupted by the forum parser]_
 * (Elesewhere, there is logic that determines when this particular code runs. I
   use a plugin called “widget logic” for that.)
 * This runs fine. A window appears, and it runs a file named “2printer.php, which
   is in a separate “include” directory (not in the WP directories.)
 * Here is the contents of that PHP file. I have hard-coded an ID number, trying
   to get it to load the contents.
 * But all I get is an error saying that the function “Get_post” cannot be found.
   I was hoping that if I “included” the PHP file containing that function, it would“
   find” the function and run it. Here’s my code:
 *     ```
       **********************************************************************
       <link rel="stylesheet" href="<?php echo $_SERVER['DOCUMENT_ROOT']?>/wordpress/wp-content/themes/thesis_18/custom/custom.css" type="text/css">
       <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
       </head>
       <body bgcolor="#FFFFFF" text="#000000">
   
       <?php
       	$my_id = 1689;
       	$post_id_1689 = get_post($my_id);
       	$contents = $post_id_1689->post_content;
       	echo $contents;exit;
   
       </div>";
       ?>
       </body>
       </html>
       *********************************************************************
       ```
   
 * As I say, when I run this, I get a window with an error message.
 * All I want is a window with the contents of whatever post is being displayed 
   in the “parent” window.
 * I’m open to suggestions.
 * Thanks ~ jan
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Category & Tag pages show horizontal lines; no articles](https://wordpress.org/support/topic/category-tag-pages-show-horizontal-lines-no-articles/)
 *  Thread Starter [jansmith](https://wordpress.org/support/users/jansmith/)
 * (@jansmith)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/category-tag-pages-show-horizontal-lines-no-articles/#post-3002651)
 * Ah, I see… kind of shot myself in the foot, didn’t I…
 * So I removed that styling for the .headline_area, and the titles came back… everywhere…
   <s>
 * I’d still like to suppress the title on some static pages. For example, my “Welcome”
   page and my “Store” page and associated child pages. I added a CSS class name“
   no_title” to some of the pages.
 * Then, in my Custom.css, I added the following:
 * .no_title .headline_area { display:none; }
 * That works; it suppresses the title on pages where I added the class name, but
   yet displays the titles for blog-related pages.
 * Looks like I’ll have to add that class to all “pages”, unless there is a more
   efficient way.
 * Thanks so much for pointing me to the solution. I wouldn’t have thought of something
   in the CSS as the culprit.
 * jan
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Widget logic ignores blog page](https://wordpress.org/support/topic/widget-logic-ignores-blog-page/)
 *  Thread Starter [jansmith](https://wordpress.org/support/users/jansmith/)
 * (@jansmith)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/widget-logic-ignores-blog-page/#post-2988023)
 * Further testing revealed that it’s not just a Widget Logic issue.
 * The theme I’m using (Thesis) provides “hooks” for custom code to be run at various
   points. One such hook is before the sidebar.
 * When I insert just my html code in there, it executes and puts adds the desired
   item at the top of the sidebar — for every page.
 * But then, if I wrap it in the appropriate PHP tags and run it… nothing happens.
   Once again, I have nothing but the default widget on my blog page.
 * For some reason, I cannot seem to add a widget to the sidebar of a page designated
   as the post (blog) page.
 * Has anyone else experienced this? Got any ideas how to make it work properly?
 * jan
 * My blog page is: wordblessings.com/blog

Viewing 8 replies - 1 through 8 (of 8 total)