Title: lukehimselfnet's Replies | WordPress.org

---

# lukehimselfnet

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mobile Theme Ads for Jetpack] Align ads](https://wordpress.org/support/topic/align-ads/)
 *  Thread Starter [lukehimselfnet](https://wordpress.org/support/users/lukehimselfnet/)
 * (@lukehimselfnet)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/align-ads/#post-4162322)
 * Slot IS is 6083790195.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mobile Theme Ads for Jetpack] Align ads](https://wordpress.org/support/topic/align-ads/)
 *  Thread Starter [lukehimselfnet](https://wordpress.org/support/users/lukehimselfnet/)
 * (@lukehimselfnet)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/align-ads/#post-4162320)
 * Did a complete uninstall and reinstall, deleted the folder and reinstalled. Did
   the same thing. It will just keep going back to my old slot ID when I update.
   Is there any cache anywhere I might need to delete/clear?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Mobile Theme Ads for Jetpack] Align ads](https://wordpress.org/support/topic/align-ads/)
 *  Thread Starter [lukehimselfnet](https://wordpress.org/support/users/lukehimselfnet/)
 * (@lukehimselfnet)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/align-ads/#post-4162318)
 * Thanks Jeremy. Although now with the update it put in my old slot ID, and when
   I change it to the new one and press save it just puts the old one back. So I’ve
   rolled back to the previous version for now.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Recent Comments Code](https://wordpress.org/support/topic/recent-comments-code/)
 *  Thread Starter [lukehimselfnet](https://wordpress.org/support/users/lukehimselfnet/)
 * (@lukehimselfnet)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/recent-comments-code/#post-3625877)
 * I worked it out using this code, for anyone who searches the same thing.
 *     ```
       <?php
       $number=5; // number of recent comments desired
       $comments = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_approved = '1' ORDER BY comment_date_gmt DESC LIMIT $number");
       ?>
       <ul id="recentcomments">
       <h2>Recent Comments</h2>
       <?php
       if ( $comments ) : foreach ( (array) $comments as $comment) :
       echo  '<li class="recentcomments">' . sprintf(__('%1$s on %2$s'), get_comment_author_link(), '<a>comment_ID) . '">' . get_the_title($comment->comment_post_ID) . '</a>') . '';
       endforeach; endif;?>
       ```
   
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Archive date code](https://wordpress.org/support/topic/archive-date-code/)
 *  Thread Starter [lukehimselfnet](https://wordpress.org/support/users/lukehimselfnet/)
 * (@lukehimselfnet)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/archive-date-code/#post-3458398)
 * OK that sounds great, I’ll give it a go as I’ve worked out the title code I need.
 * Thank you heaps for your help, it’s the first time I’ve posted here and you’ve
   replied so quickly and given me great info. I appreciate it!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Archive date code](https://wordpress.org/support/topic/archive-date-code/)
 *  Thread Starter [lukehimselfnet](https://wordpress.org/support/users/lukehimselfnet/)
 * (@lukehimselfnet)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/archive-date-code/#post-3458393)
 * Ok thanks. No I’m not using a child theme. I had a read through your link. So
   I would create a child theme and then have it refer to code in that child theme?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Archive date code](https://wordpress.org/support/topic/archive-date-code/)
 *  Thread Starter [lukehimselfnet](https://wordpress.org/support/users/lukehimselfnet/)
 * (@lukehimselfnet)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/archive-date-code/#post-3458388)
 * Thanks for the reply esmi.
 * The thing is I actually made an archive.php myself, and in my header.php I have
   made the <title> tag myself using
 * <title><?php bloginfo( ‘name’ ); wp_title( ‘-‘, true, ‘left’ ); ?></title>
 * So I thought whatever code I could use would not matter on the theme I’m using?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Archive date code](https://wordpress.org/support/topic/archive-date-code/)
 *  Thread Starter [lukehimselfnet](https://wordpress.org/support/users/lukehimselfnet/)
 * (@lukehimselfnet)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/archive-date-code/#post-3458344)
 * I’m using Theron Lite, installed throw the Dashboard. You can see it at [http://www.lukehimself.net](http://www.lukehimself.net)

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