go41

Substitute Headline Section Image with Video

von Joern am 18. Dez. 2010 | Keine Kommentare

Hello,
I came across this topic in your forum "Video in Headline – separate custom field" at:

viewtopic.php?f=1&t=17
It tells how to put a video in the ‚Headline‘ section – which is nice but that is all that’s left there in that big space – a video. I’d like to know how can I just substitute a video for the picture and leave everything else (the post excerpt, the more tag) intact. Can this be done? Thanks…

(von: raf_79)

Hier noch 7 weitere Ergebnisse dieses Threads:

Re: Substitute Headline Section Image with Video :: Reply by raf_79

21. Dez. 2010 (von: raf_79)

Hello. I hope you are well.Is there no answer to whether only the picture in the Arthemia 'Headline' section can be changed to video while leaving the title, meta, excerpt, etc in place? Thank you in advance for your answer.…

Re: Substitute Headline Section Image with Video :: Reply by Joern

22. Dez. 2010 (von: Joern)

in the post you refer to there is also written how to get the_excerpt and the_title displayed (second post in that thread)here is how arthemia free version headline section looks like (unchanged):<div id="headline"> <img src="<?php echo get_option('home'); ?>/wp-content/themes/arthemia/images/headline.png" width="75px" height="21px"…

Re: Substitute Headline Section Image with Video :: Reply by raf_79

22. Dez. 2010 (von: raf_79)

Thanks Joern for your response. Glad you are well! The above coding does work, however the excerpt text is now pushed down below the video as if something invisible is filling the space where it would otherwise be. When I…

Re: Substitute Headline Section Image with Video :: Reply by Joern

22. Dez. 2010 (von: Joern)

sorry, I missed the link around the image. this link brings you to the post if you click on the image. (I did not try this code..)I guess the video should not be linked, so I change the code above…

Re: Substitute Headline Section Image with Video :: Reply by raf_79

23. Dez. 2010 (von: raf_79)

Thank you! Thank you! Thank you! It all seems to be working great now! Just had to tweak the css styling a little to add spacing to keep the text from butting up to the video player. (the video is…

Re: Substitute Headline Section Image with Video :: Reply by Joern

23. Dez. 2010 (von: Joern)

great! about the length of the excerpt:There are quite a few ways to set the length of the_excerpt by coding something in your theme files (see: viewtopic.php?f=1&t=6 )Most easy is in your post editor, there is a field for a…

Re: Substitute Headline Section Image with Video :: Reply by raf_79

23. Dez. 2010 (von: raf_79)

Thanks for the response. I did use the post-excerpt section as that seemed to be the quickest/easiest solution. I also removed the headline more-tag for my needs. Thank you again for your help. Weiterlesen →

Autor:

Du findest mich auch auf Google+, Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


weitere forum Beiträge: