Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

Wordpress Automatic Youtube Publishing

Old Mar 2, 2012, 10:52 AM
43 posts · Oct 2010
I installed the plugin called Wordpress Automatic Youtube video posts

which will pull my youtube videos from my youtube account and make a post of each one on my site. They have an option to place of thumbnail of the video in the post but it requires to have the following line of code:

<?php tern_wp_youtube_image(); ?>

placed in a file where the posts loops would be done. I'm not sure what file the list of posts are kept. Can you help me get the correct file and to insert this line of code?

Old Mar 2, 2012, 11:18 AM
juggledad's Avatar
23,739 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
seems to me you could put it in the post and then use the 'exec-php' plugin to run it
other than that you could try putting it in index.php in the loop.
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Mar 2, 2012, 11:33 AM
lmilesw's Avatar
10,174 posts · Jul 2009
Central New York State USA
I just tested and the following works without editing theme files.
  • Add a new widget area to the Byline in multipost pages in the Post/Page Info area
  • Install a PHP aware text widget and place in this new widget area
  • Add the PHP code to the text widget
  • Use CSS such as .post-byline {float: left;} to position thumbnail to the left of the excerpt.
Worked pretty neat for me.
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
WordPress.org Automatic Update with Custom Site - Working, needs Testing LANtait New Versions, & Updating 0 Jun 10, 2011 06:46 PM
[SOLVED] Publishing articles in your page or posts with ? jkfly4 Center area post/pages 6 Jan 29, 2011 06:04 PM
[SOLVED] posts not publishing to home page sarange Atahualpa 3 Wordpress theme 3 Jan 19, 2011 04:15 PM
[SOLVED] Categories replaced by default when publishing post adica Page & Category Menu Bars 7 Aug 14, 2010 11:45 AM

All times are GMT -6. The time now is 05:00 AM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.