Posted by The TechMentor in Wordpress
on Jun 2nd, 2014
Added the following to includes/default.php: <!-- SUB POST DIVISIONS --> <div class="subpost_wrap2"> <div class="subpost_wrap"> <div class="subpost_left"> <!-- 2014-06-02 Added Video to top of recent posts --> <div align="center"> <iframe style="border-width:5px; border-style:solid; border-color:#615E56;" width="450" height="253" src="//www.youtube.com/embed/4zEi8p1ZwNI" allowfullscreen></iframe> </div> <!-- End of 2014-06-02 video add --> <?php while...
Posted by The TechMentor in Wordpress
on Jun 2nd, 2014
Hi, please go to featured.php save the file just in case; there, find: $coldstone_featured_number= make this equal with the numbers of pages you will use for the slider, like: $coldstone_featured_number=3; find: $my_query = new WP_Query before this add: $args = array( ‘post_type’ => ‘page’, ‘post__in’ => array(2,78,55) ); where 2,78,55 are 3 id’s of the pages you want to show in the slider. You need to insert here the actual id’s of the pages you want to include in the slider; then replace the line: $my_query = new WP_Query(………...
Posted by The TechMentor in Wordpress
on Mar 6th, 2014
In single.php replace: $thumbnail = get_thumbnail($width,$height,$classtext,$titletext,$titletext); $thumb = $thumbnail["thumb"]; if($thumb <> '') { ?> <?php print_thumbnail($thumb, $thumbnail["use_timthumb"], $titletext, $width, $height, $classtext); ?> with <!-- Modification 3/6/14 to display thumbnail from custom field --> $myThumb = get_post_meta($post->ID, 'Thumbnail', true); if($myThumb <> '') { ?> <img src="<?php print($myThumb) ?>" class='thumbnail alignleft' alt='GitHub Developer Program Emphasizes Integrations'...
Posted by The TechMentor in Wordpress
on Mar 3rd, 2014
Added following code to Custom CSS: #pagesback { width:970px; margin: 10px auto 0px auto; height: 39px; } Then, added the following to header.php, just before Navigation Bar code: <div id="pagesback"><img src="https://sysadmin.techmentor.com/wp-content/uploads/2014/03/Banner03.png"> </div>
Posted by The TechMentor in Wordpress
on Mar 3rd, 2014
Added the following code to header.php: <div id="leaderboard"><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- SA-LeaderBoard --> <ins class="adsbygoogle" style="display:inline-block;width:728px;height:90px" data-ad-client="ca-pub-1786161350237793" data-ad-slot="8804002359"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script>></div> Then, added the following code to Custom CSS: #leaderboard { width:728px; margin:...