Title: wplearner's Replies | WordPress.org

---

# wplearner

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

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

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/users/wordpresslearner/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/wordpresslearner/replies/page/2/?output_format=md)

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Best way to prevent oversized images in sidebar breaking layout](https://wordpress.org/support/topic/best-way-to-prevent-oversized-images-in-sidebar-breaking-layout/)
 *  Thread Starter [wplearner](https://wordpress.org/support/users/wordpresslearner/)
 * (@wordpresslearner)
 * [14 years ago](https://wordpress.org/support/topic/best-way-to-prevent-oversized-images-in-sidebar-breaking-layout/#post-2753908)
 * hey threesongbirds, yeah that might just do it. good thinking.
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Fatal Error after 3.3 update](https://wordpress.org/support/topic/fatal-error-after-33-update/)
 *  [wplearner](https://wordpress.org/support/users/wordpresslearner/)
 * (@wordpresslearner)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-after-33-update/page/2/#post-2444888)
 * awesome deal, so got it working though unfortunately not sure which step did 
   it. first I tried reinstalling update.php which is where the update data function
   is defined, and that got access to the admin page up, but it looked like someone
   had gone in with a weedwhacker and just destroyed it. what I did that fixed it
   I think, was when doing a manual install, deleting both the wp-admin, and wp-
   includes folders.(not just overriding them, with new files, as I had previously)
   and now it’s back up.
 *   Forum: [Installing WordPress](https://wordpress.org/support/forum/installation/)
   
   In reply to: [Fatal Error after 3.3 update](https://wordpress.org/support/topic/fatal-error-after-33-update/)
 *  [wplearner](https://wordpress.org/support/users/wordpresslearner/)
 * (@wordpresslearner)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/fatal-error-after-33-update/page/2/#post-2444887)
 * hey guys, so I’m having same problem. Just updated to 3.3, and it started showing
   the maintenence file.. I changed the name of plugins and the current theme(a 
   sandbox child theme),-deleted the maintenance file, no luck. then I reinstalled
   all the content except that in wp-content. and my site is back up. but I still
   can’t access the dashboard. Whenever I try I get:
 * Fatal error: Call to undefined function wp_get_update_data() in /…/ wp-admin/
   menu.php on line 34
 * do you think just deleting this function call might solve it, or could that mess
   things up further? any other suggestions appretiated.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [yikes, updated to wp 3.3 and site crasheshed. help?](https://wordpress.org/support/topic/yikes-updated-to-wp-33-and-site-crasheshed-help/)
 *  Thread Starter [wplearner](https://wordpress.org/support/users/wordpresslearner/)
 * (@wordpresslearner)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/yikes-updated-to-wp-33-and-site-crasheshed-help/#post-2455596)
 * thanks, will give that a shot.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [please help-unexpected t string on line 12 error with custom template](https://wordpress.org/support/topic/please-help-unexpected-t-string-on-line-12-error-with-custom-template/)
 *  Thread Starter [wplearner](https://wordpress.org/support/users/wordpresslearner/)
 * (@wordpresslearner)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/please-help-unexpected-t-string-on-line-12-error-with-custom-template/#post-2434271)
 * phew thank god, anybody see it? there are extra spaces in the quary parameters..
   thought I was going crazy..
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [how could I write a conditional tag for if post is displaying on front page?](https://wordpress.org/support/topic/how-could-i-write-a-conditional-tag-for-if-post-is-displaying-on-front-page/)
 *  Thread Starter [wplearner](https://wordpress.org/support/users/wordpresslearner/)
 * (@wordpresslearner)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/how-could-i-write-a-conditional-tag-for-if-post-is-displaying-on-front-page/#post-2430966)
 * but how could I add, if the post id is 47 is on the homepage? something like:
 * if (***post_id(’47’)*** == is_home())
 * {code..}
 * the what to put for the post id part is what I’m wondering about.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [how could I write a conditional tag for if post is displaying on front page?](https://wordpress.org/support/topic/how-could-i-write-a-conditional-tag-for-if-post-is-displaying-on-front-page/)
 *  Thread Starter [wplearner](https://wordpress.org/support/users/wordpresslearner/)
 * (@wordpresslearner)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/how-could-i-write-a-conditional-tag-for-if-post-is-displaying-on-front-page/#post-2430965)
 * thanks guys.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [how to write conditional statement for logged in admin](https://wordpress.org/support/topic/how-to-write-conditional-statement-for-logged-in-admin/)
 *  Thread Starter [wplearner](https://wordpress.org/support/users/wordpresslearner/)
 * (@wordpresslearner)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/how-to-write-conditional-statement-for-logged-in-admin/#post-2427006)
 * hmm thanks, nice work-around.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [annoying flash before jquery loads- pls help](https://wordpress.org/support/topic/annoying-flash-before-jquery-loads-pls-help/)
 *  Thread Starter [wplearner](https://wordpress.org/support/users/wordpresslearner/)
 * (@wordpresslearner)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/annoying-flash-before-jquery-loads-pls-help/#post-2407781)
 * hoping someone out there knows how to fix this.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [are some html tags not allowed in posts?](https://wordpress.org/support/topic/are-some-html-tags-not-allowed-in-posts/)
 *  Thread Starter [wplearner](https://wordpress.org/support/users/wordpresslearner/)
 * (@wordpresslearner)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/are-some-html-tags-not-allowed-in-posts/#post-2407100)
 * thanks.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [annoying flash before jquery loads- pls help](https://wordpress.org/support/topic/annoying-flash-before-jquery-loads-pls-help/)
 *  Thread Starter [wplearner](https://wordpress.org/support/users/wordpresslearner/)
 * (@wordpresslearner)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/annoying-flash-before-jquery-loads-pls-help/#post-2407745)
 * also the p color styling is done via jquery..
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [annoying flash before jquery loads- pls help](https://wordpress.org/support/topic/annoying-flash-before-jquery-loads-pls-help/)
 *  Thread Starter [wplearner](https://wordpress.org/support/users/wordpresslearner/)
 * (@wordpresslearner)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/annoying-flash-before-jquery-loads-pls-help/#post-2407742)
 * sure, keep in mind it’s basically being used as a test site:
 * [http://www.spanishtranslator.me/](http://www.spanishtranslator.me/)
 * I have a small script called jtruncate that cuts the text and puts a “read more”
   link..you can see when you load the page it starts with the whole text and then
   jumps to the trunkated version. same thing happens with any other jquery script..
   also here’s the code in functions php:
 *     ```
       <?php
        function my_init() {
       	if (!is_admin()) {
   
       		wp_enqueue_script('jquery');
       	wp_enqueue_script("easeit",get_bloginfo('stylesheet_directory')."/easen.js", array('jquery'));
   
           wp_enqueue_script('newscript', 'http://kwicks.googlecode.com/svn/branches/v1.5.1/Kwicks/jquery.kwicks-1.5.1.pack.js');
   
       }
       }
       add_action('init', 'my_init'); ?>
   
       <?php
       function quick3() {
   
       wp_enqueue_script("trial",get_bloginfo('stylesheet_directory')."/trial.js", array('jquery','newscript','easeit'));
               wp_enqueue_script("more",get_bloginfo('stylesheet_directory')."/moreit.js", array('jquery',));
           wp_enqueue_script("trunker",get_bloginfo('stylesheet_directory')."/trunkit.js", array('jquery','more'));
       }
       add_action('init','quick3');
   
       ?>
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [multiple loops question](https://wordpress.org/support/topic/multiple-loops-question-2-2/)
 *  Thread Starter [wplearner](https://wordpress.org/support/users/wordpresslearner/)
 * (@wordpresslearner)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/multiple-loops-question-2-2/#post-2395029)
 * hey bagel, thanks man appreciate it.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [multiple loops question](https://wordpress.org/support/topic/multiple-loops-question-2-2/)
 *  Thread Starter [wplearner](https://wordpress.org/support/users/wordpresslearner/)
 * (@wordpresslearner)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/multiple-loops-question-2-2/#post-2394941)
 * yeah I saw that part.. I guess the main reason I was asking is because I read
   something about having multiple queries can be heavy on the server, so I was 
   wondering if there were a better way of calling two loops..
 * I understand there are a couple other methods, (query_posts was one maybe), but
   I read that it has some downsides, so I just wanted to see if calling two loops
   seperately was ok, or if one should be nested, or some such.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [multiple loops question](https://wordpress.org/support/topic/multiple-loops-question-2-2/)
 *  Thread Starter [wplearner](https://wordpress.org/support/users/wordpresslearner/)
 * (@wordpresslearner)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/multiple-loops-question-2-2/#post-2394927)
 * hey thanks for the reply, so you’re suggesting using
 * `$myPosts = $myPosts->query( 'posts_per_page=1&cat=3' );`
 * instead of the second while loop?

Viewing 15 replies - 1 through 15 (of 21 total)

1 [2](https://wordpress.org/support/users/wordpresslearner/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/wordpresslearner/replies/page/2/?output_format=md)