Title: 2tyerd's Replies | WordPress.org

---

# 2tyerd

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

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

 Search replies:

## Forum Replies Created

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

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajax Load More – Infinite Scroll, Load More, & Lazy Load] Lazy loading Embeds](https://wordpress.org/support/topic/lazy-loading-embeds/)
 *  Thread Starter [2tyerd](https://wordpress.org/support/users/2tyerd/)
 * (@2tyerd)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/lazy-loading-embeds/#post-8805712)
 * Okay so I’ve gone with the second template, I’m pretty sure thats the right one.
 * So I replaced the `the_content()` with the shortcode `[ajax_load_more nextpage
   ="true" nextpage_urls="true" nextpage_scroll="350:30" nextpage_post_id="'. get_the_ID().'"
   pause="true" pause_override="true" button_label="Next Page" images_loaded="true"
   transition="fade" container_type="div"]`
 * So it looks like this now:
 *     ```
       <?php
       /**
        * The template used for displaying homepage content.
        *
        * @package Rookie
        */
       ?>
   
       <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
       	<?php if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it. ?>
       		<header class="entry-header">
       			<?php the_post_thumbnail( 'large' ); ?>
       		</header><!-- .entry-header -->
       	<?php } ?>
   
       	<div class="entry-content">
       		<div class="homepage-widgets">
       			<?php dynamic_sidebar( 'homepage-1' ); ?>
       		</div>
   
       		<?php echo do_shortcode('[ajax_load_more nextpage="true" nextpage_urls="true" nextpage_scroll="350:30" nextpage_post_id="'. get_the_ID() .'" pause="true" pause_override="true" button_label="Next Page" images_loaded="true" transition="fade" container_type="div"]'); ?>
   
       </div><!-- .entry-content -->
       </article><!-- #post-## -->
       ```
   
 * Nothing changed though. Where have I messed up?
    -  This reply was modified 9 years, 5 months ago by [2tyerd](https://wordpress.org/support/users/2tyerd/).
    -  This reply was modified 9 years, 5 months ago by [2tyerd](https://wordpress.org/support/users/2tyerd/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajax Load More – Infinite Scroll, Load More, & Lazy Load] Lazy loading Embeds](https://wordpress.org/support/topic/lazy-loading-embeds/)
 *  Thread Starter [2tyerd](https://wordpress.org/support/users/2tyerd/)
 * (@2tyerd)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/lazy-loading-embeds/#post-8805594)
 * ok yeah sweet I’ll open a ticket
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajax Load More – Infinite Scroll, Load More, & Lazy Load] Lazy loading Embeds](https://wordpress.org/support/topic/lazy-loading-embeds/)
 *  Thread Starter [2tyerd](https://wordpress.org/support/users/2tyerd/)
 * (@2tyerd)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/lazy-loading-embeds/#post-8805591)
 * I have another template thats used for displaying content on the homepage
 *     ```
       <?php
       /**
        * The template used for displaying homepage content.
        *
        * @package Rookie
        */
       ?>
   
       <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
       	<?php if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it. ?>
       		<header class="entry-header">
       			<?php the_post_thumbnail( 'large' ); ?>
       		</header><!-- .entry-header -->
       	<?php } ?>
   
       	<div class="entry-content">
       		<div class="homepage-widgets">
       			<?php dynamic_sidebar( 'homepage-1' ); ?>
       		</div>
   
       		<?php the_content(); ?>
       	</div><!-- .entry-content -->
       </article><!-- #post-## -->
       ```
   
 * Not sure which to use
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajax Load More – Infinite Scroll, Load More, & Lazy Load] Lazy loading Embeds](https://wordpress.org/support/topic/lazy-loading-embeds/)
 *  Thread Starter [2tyerd](https://wordpress.org/support/users/2tyerd/)
 * (@2tyerd)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/lazy-loading-embeds/#post-8805562)
 * Thanks for the msg man.
 * Just bought it and trying to figure out where I need to put the shortcode.
 * My homepage template code looks like this:
 *     ```
       get_header(); ?>
   
       	<div id="primary" class="content-area content-area-<?php echo rookie_get_sidebar_setting(); ?>-sidebar">
       		<main id="main" class="site-main" role="main">
   
       			<?php while ( have_posts() ) : the_post(); ?>
   
       				<?php get_template_part( 'content', 'homepage' ); ?>
   
       			<?php endwhile; // end of the loop. ?>
   
       		</main><!-- #main -->
       	</div><!-- #primary -->
   
       <?php get_sidebar(); ?>
       <?php get_footer(); ?>
       <?php wp_link_pages(); ?>
       ```
   
 * Which code should I replace with the shortcode?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajax Load More – Infinite Scroll, Load More, & Lazy Load] Lazy loading Embeds](https://wordpress.org/support/topic/lazy-loading-embeds/)
 *  Thread Starter [2tyerd](https://wordpress.org/support/users/2tyerd/)
 * (@2tyerd)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/lazy-loading-embeds/#post-8795101)
 * That sounds like what I’m looking for…I look forward to checking it out.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ajax Load More – Infinite Scroll, Load More, & Lazy Load] Lazy loading Embeds](https://wordpress.org/support/topic/lazy-loading-embeds/)
 *  Thread Starter [2tyerd](https://wordpress.org/support/users/2tyerd/)
 * (@2tyerd)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/lazy-loading-embeds/#post-8794955)
 * I want to use this code from the demo example but instead of post_per_page=4,
   can I include scroll_distance=”150″?
 *     ```
       <?php 
       $term = $_GET['term'];
       if(empty($term){
          $term = 'WordPress';
       }
       echo do_shortcode('[ajax_load_more post_type="post, page, portfolio" search="'. $term .'" posts_per_page="4" scroll="true" css_classes="plain-text" button_label="Show More Results"]');
       ?>
       ```
   
    -  This reply was modified 9 years, 5 months ago by [2tyerd](https://wordpress.org/support/users/2tyerd/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Code for dropdown menu for buddypress register form](https://wordpress.org/support/topic/code-for-dropdown-menu-for-buddypress-register-form/)
 *  Thread Starter [2tyerd](https://wordpress.org/support/users/2tyerd/)
 * (@2tyerd)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/code-for-dropdown-menu-for-buddypress-register-form/#post-7313199)
 * thanks ill post it there
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Code for dropdown menu for buddypress register form](https://wordpress.org/support/topic/code-for-dropdown-menu-for-buddypress-register-form/)
 *  Thread Starter [2tyerd](https://wordpress.org/support/users/2tyerd/)
 * (@2tyerd)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/code-for-dropdown-menu-for-buddypress-register-form/#post-7313195)
 * Not really. but its because I wasn’t clear enough.
 * This is the a portion of the code right now for my register form. Its for the
   username, email, password and email.
 *     ```
       <div class="six columns">
               <input type="text" id="reg-username" name="signup_username" class="inputbox" required placeholder="<?php _e("Username", 'kleo_framework');?>">
             </div>
             <div class="twelve columns">
               <input type="text" id="reg-email" name="signup_email" class="inputbox" required placeholder="<?php _e("Your email", 'kleo_framework');?>">
             </div>
             <div class="six columns">
               <input type="password" id="reg-password" name="signup_password" class="inputbox" required placeholder="<?php _e("Desired password", 'kleo_framework');?>">
             </div>
             <div class="six columns">
               <input type="password" id="confirm_password" name="signup_password_confirm" class="inputbox" required placeholder="<?php _e("Confirm password", 'kleo_framework');?>">
             </div>
       ```
   
 * In this same form I want to have a dropdown menu where you select your age because
   it didn’t come included in the theme. The age options being from 18-99.
 * I thought a div tag would be enough since all the other fields also use div tags.
   I’m very new to coding.
 * Thanks for your help
 * Regards
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Code for dropdown menu for buddypress register form](https://wordpress.org/support/topic/code-for-dropdown-menu-for-buddypress-register-form/)
 *  Thread Starter [2tyerd](https://wordpress.org/support/users/2tyerd/)
 * (@2tyerd)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/code-for-dropdown-menu-for-buddypress-register-form/#post-7313189)
 *     ```
       <select name="Age">
           <option value="None selected">Please select below</option>
           <option value="18">18</option>
           <option value="19">19</option>
           <option value="20">20</option>
           <option value="21">21</option>
           etc etc
       </select>
       ```
   
 * Something like this?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [remove an element using child theme](https://wordpress.org/support/topic/remove-an-element-using-child-theme/)
 *  Thread Starter [2tyerd](https://wordpress.org/support/users/2tyerd/)
 * (@2tyerd)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/remove-an-element-using-child-theme/#post-7313173)
 * Thanks man worked perfect. I tried it before but it didn’t work because I also
   had to create the folder the file was in called page-parts
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [add function not working in child theme but works fine in parent theme](https://wordpress.org/support/topic/add-function-not-working-in-child-theme-but-works-fine-in-parent-theme/)
 *  Thread Starter [2tyerd](https://wordpress.org/support/users/2tyerd/)
 * (@2tyerd)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/add-function-not-working-in-child-theme-but-works-fine-in-parent-theme/#post-7310729)
 * I just deleted my cache and now its all fixed! haha
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [add function not working in child theme but works fine in parent theme](https://wordpress.org/support/topic/add-function-not-working-in-child-theme-but-works-fine-in-parent-theme/)
 *  Thread Starter [2tyerd](https://wordpress.org/support/users/2tyerd/)
 * (@2tyerd)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/add-function-not-working-in-child-theme-but-works-fine-in-parent-theme/#post-7310723)
 * I’ve been following that codex and understand it for the most part.
 * I don’t quite understand the declaring them conditionally part though, could 
   that cause this kind of issue?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Yoast SEO - Advanced SEO with real-time guidance and built-in AI] xml sitemap problem with php7](https://wordpress.org/support/topic/xml-sitemap-problem-with-php7/)
 *  Thread Starter [2tyerd](https://wordpress.org/support/users/2tyerd/)
 * (@2tyerd)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/xml-sitemap-problem-with-php7/#post-7267403)
 * [https://nootrologist.com.au/sitemap_index.xml](https://nootrologist.com.au/sitemap_index.xml)
 * I’ve tried re-saving permalinks, regenerating xml sitemaps, clearing cache.
 * Only thing that works is reverting to php5.6
 * How can I fix this?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Comments - wpDiscuz] Remove subcription confirmation email?](https://wordpress.org/support/topic/remove-subcription-confirmation-email/)
 *  Thread Starter [2tyerd](https://wordpress.org/support/users/2tyerd/)
 * (@2tyerd)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/remove-subcription-confirmation-email/#post-6983649)
 * when you say yo don’t recommend it, does that mean there is a way to enable it?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Super Cache] is my htaccess normal?](https://wordpress.org/support/topic/is-my-htaccess-normal/)
 *  Thread Starter [2tyerd](https://wordpress.org/support/users/2tyerd/)
 * (@2tyerd)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/is-my-htaccess-normal/#post-6757869)
 * Go to your cPanel –> File Manager –>public_html and then find your .htaccess 
   file.
 * You can edit the code using Code Editor
 * Replace whats in there with the following:
 *     ```
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteRule ^index\.php$ - [L]
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
       # END WordPress
       ```
   

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

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