Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

Wordpress Automatic Youtube Publishing


  #1  
Old Mar 2, 2012, 10:52 AM
tixcoca
 
43 posts · Oct 2010
Hi,
I installed the plugin called Wordpress Automatic Youtube video posts
(http://www.ternstyle.us/products/plu...osts-functions)

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?

Thanks!
  #2  
Old Mar 2, 2012, 11:18 AM
juggledad's Avatar
juggledad
 
23,765 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
  #3  
Old Mar 2, 2012, 11:33 AM
lmilesw's Avatar
lmilesw
 
10,176 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.

Bookmarks



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 12:19 PM.


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