>
Currently Browsing: Wordpress

ColdStone Theme: Added Hardcoded Video Iframe Just Above Recent Posts

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...
read more

ColdStone Theme: Using Pages Instead of Posts for Featured Image

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(………...
read more

eNews Theme: Replace Post Thumbnail

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'...
read more

Basic Theme: Added Image Behind Menu

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>
read more

Basic Theme: Added Leaderboard Ad

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:...
read more

« Previous Entries