Title: RDStudent's Replies | WordPress.org

---

# RDStudent

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [WP3.8 Custom theme doesn't display admin bar](https://wordpress.org/support/topic/wp38-custom-theme-doesnt-display-admin-bar/)
 *  Thread Starter [RDStudent](https://wordpress.org/support/users/rdstudent/)
 * (@rdstudent)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/wp38-custom-theme-doesnt-display-admin-bar/#post-4447515)
 * Ahh stupid, I needed a footer…
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Page Navigation Next Prev](https://wordpress.org/support/topic/page-navigation-next-prev/)
 *  Thread Starter [RDStudent](https://wordpress.org/support/users/rdstudent/)
 * (@rdstudent)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/page-navigation-next-prev/#post-4427288)
 * OMG … I already found this but I forgot to add the ‘category_name’ => ‘for-sale’
   part to the new query… OMG Im such a donkey!!
 * Thank you so so sooooo much Chris!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Next and Prev page work but content doesn't !](https://wordpress.org/support/topic/next-and-prev-page-work-but-content-doesnt/)
 *  Thread Starter [RDStudent](https://wordpress.org/support/users/rdstudent/)
 * (@rdstudent)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/next-and-prev-page-work-but-content-doesnt/#post-4424917)
 * Please I am still stuck here.. I have tried over 20 combinations for the docs
   here but it seems like I am just banging my head against the wall.. Please help!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Next and Prev page work but content doesn't !](https://wordpress.org/support/topic/next-and-prev-page-work-but-content-doesnt/)
 *  Thread Starter [RDStudent](https://wordpress.org/support/users/rdstudent/)
 * (@rdstudent)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/next-and-prev-page-work-but-content-doesnt/#post-4424879)
 * My query reset is right under controls do i need to move it else where?
 *     ```
       <!-- Start controls div -->
               <div class="row">
                 <?php
                     global $wp_query;
   
                     if($wp_query->max_num_pages > 1) :
   
                 ?>
                 <div class="large-6 columns">
                   <?php previous_posts_link('&larr; Previus Page', $wp_query->max_num_pages);?>
                 </div><!-- Control Left -->
                 <div class="large-6 columns">
                   <?php next_posts_link('Next Page &rarr;', $wp_query->max_num_pages);?>
                 </div><!-- Control Right -->
                 <?php endif;?>
               </div><!-- Controls Div -->
   
               <?php // Reset Query
                     wp_reset_query(); ?>
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [How can find out what category is post from? or better?](https://wordpress.org/support/topic/how-can-find-out-what-category-is-post-from-or-better/)
 *  Thread Starter [RDStudent](https://wordpress.org/support/users/rdstudent/)
 * (@rdstudent)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/how-can-find-out-what-category-is-post-from-or-better/#post-4422074)
 * Thanks this will do….
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Foundation 4 Orbit >> Making it work in WP](https://wordpress.org/support/topic/foundation-4-orbit-making-it-work-in-wp/)
 *  Thread Starter [RDStudent](https://wordpress.org/support/users/rdstudent/)
 * (@rdstudent)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/foundation-4-orbit-making-it-work-in-wp/#post-4408061)
 * I got the solution I needed to init additional script
 * Here is how my functions.php look like
 *     ```
       <?php
       function _sf_scripts() {
       wp_enqueue_script('foundation-js', get_template_directory_uri().'
       /js/foundation.min.js', array( 'jquery' ), false, true);
       wp_enqueue_script('foundation-init', get_template_directory_uri().'/js/foundation-orbit.js', array(), false, true);
       wp_enqueue_script( 'menu-effect', get_template_directory_uri() . '/js/menu.js',
       array(), '1.0.0', true );
       }
       add_action( 'wp_enqueue_scripts', '_sf_scripts' );
   
       add_action( 'wp_footer', 'so20558071_foundation_init', 9999 );
       function so20558071_foundation_init()
       {
           echo '<script>jQuery(document).foundation();</script>';
       }
       ?>
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Foundation 4 Orbit >> Making it work in WP](https://wordpress.org/support/topic/foundation-4-orbit-making-it-work-in-wp/)
 *  Thread Starter [RDStudent](https://wordpress.org/support/users/rdstudent/)
 * (@rdstudent)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/foundation-4-orbit-making-it-work-in-wp/#post-4408032)
 *     ```
       <!--- Current Footer --->
       <!-- Java Scripts -->
        <script>
         document.write('<script src= <?php bloginfo('template_url'); ?>' +
         ('__proto__' in {} ? 'js/vendor/zepto' : 'js/vendor/jquery') +
         '.js><\/script>')
         </script>
   
         <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/foundation.min.js"></script> 
   
         <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/js/foundation/foundation.orbit.js"></script>
   
         <script>
           $(document).foundation();
         </script>
   
         <?php wp_footer(); ?>
       // I have tried few different version of this
   
       <!-- Functions -->
       <!-- Sample 1 -->
       function load_my_java() {
       	wp_enqueue_script( 'script-name', get_template_directory_uri() . '/js/foundation-min.js', array(), '', true );
       }
   
       add_action( 'wp_enqueue_scripts', 'load_my_java' );
   
       <!-- Sample 2 -->
       function load_my_java() {
       wp_register_script( 'foundation', get_template_directory_uri() . '/js/foundation-min.js', array(), '', true );
       wp_enqueue_script('foundation');
       add_action( 'init', 'load_my_java' );
       ```
   
 * So far none of it worked, they did load I could see them in the source but not
   functional.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Foundation 4 Orbit >> Making it work in WP](https://wordpress.org/support/topic/foundation-4-orbit-making-it-work-in-wp/)
 *  Thread Starter [RDStudent](https://wordpress.org/support/users/rdstudent/)
 * (@rdstudent)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/foundation-4-orbit-making-it-work-in-wp/#post-4408021)
 * Anyone ???

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