lukehimselfnet
Forum Replies Created
-
Forum: Plugins
In reply to: [Mobile Theme Ads for Jetpack] Align adsSlot IS is 6083790195.
Forum: Plugins
In reply to: [Mobile Theme Ads for Jetpack] Align adsDid 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
In reply to: [Mobile Theme Ads for Jetpack] Align adsThanks 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
In reply to: Recent Comments CodeI 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
In reply to: Archive date codeOK 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
In reply to: Archive date codeOk 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
In reply to: Archive date codeThanks 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
In reply to: Archive date codeI’m using Theron Lite, installed throw the Dashboard. You can see it at http://www.lukehimself.net