STEP 3
Related Posts- this section will be a little more complicated as we include the related videos here ie...the Youtube API.
- first go to your related posts settings in wordpress and change the title to related posts and videos or something simlar
-when there is no related posts leave it to say no related posts or you may have trouble with youtube api
-no related posts titles or texts leave this option blank and set the limit to 3 do not exclude category and do not check any of the boxes below that.and save your preferances.
-ok here it is guys the youtube API ok first go to the youtube api widget page http://www.google.com/uds/solutions/wizards/videobar.html
-ok leave the bar as horizontal and uncheck all the boxes...now remove the channel that is already in there and replace it with channels of your own selection...to choose channels open another window and go into youtube and search for channels relating for your niche. once you have a few place them into the youtube api each one seperated by a comma okay because we are using channels ignore the keywords option underneath.
-click show code you should now see a box with the code in highlight the entire box and copy the whole script.
-go back to your wordpress and go to the theme editor and go to single post (single.php)
-okay search that page for the words "related posts" there should be 2 or 3 there under the last one find the next bit of code that reads <?php endif; ?>
-paste your yourtube api script directly under the <?php endif; ?> and save.
go to your site and with each post you should now have related posts and videos and you should now see your youtube videos. nb you may not see any related posts if you only have one or 2 articles in there at this time.
right guys ill leave it there again for now and ill be back to do the last one soon which will be mainly concentrating on the next gen gallery sidebar widget and how to link it to your article images.