![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
|
If I wanted to put a featured video at the top (in the place where you would normally place the dynamic featured content gallery at the top of the main page)
What way would I go about this? I want to be able to put a featured video at the top of that page, but on a weekly basis I want to replace it with a fresh video, and have the other videos still in the blog archives, and also to shopw up as a recent post What way would you suggest to do this? Plugin? Or editing home.php If editing home.php what would I need to add in there? Any Comments Appreciated Warmest Regards, Gordon
__________________
<a href="http://whoisgordonmartin.com/">http://whoisgordonmartin.com/</a> |
|
#2
|
||||
|
||||
|
open home.php
find and remove the bold <div id="homepage"> <?php // checks to see if the Featured Content Gallery plguin is enabled - if it isn't, nothing will diplay ?> <?php if (function_exists('gallery_styles')) : ?> <div id="homepagetop"> <div class="featuredtop"> <?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?> </div> </div> <?php endif; ?> <?php // end ?> in it's stead put PHP Code:
Replacing 14 with your category number then you only have to create a post and it will pull automatically. |
|
#3
|
|||
|
|||
|
Thanks for your very comprehensive answer Debra, very much appreciated. At the moment, I have a dynamic featured Content Galley in there, at the moment, it pulls the images from the latest posts. From what I can see though, it is only for static images, would that be right, or could it be used for video also? I am thinking the way that you have described to me would be a better way to go?
Warmest Regards, Gordon
__________________
<a href="http://whoisgordonmartin.com/">http://whoisgordonmartin.com/</a> |
|
#4
|
||||
|
||||
|
I don't believe that DCG pulls video at this time. You could keep a back up of your current page code, try the option I gave you and if dissatisfied return to the old code.
|
|
#5
|
|||
|
|||
|
Raising an old thread from the dead.... :smile:
No, DCG doesn't handle video.
__________________
Ade Themessence - Studiograsshopper WordPress plugins: Dynamic Content Gallery | Reveal Page Templates | Custom Taxonomies Menu Widget Check out the Genesis and Child Theme tutorials before posting your question - and please provide YOUR URL! Make Andrea happy - read her Firebug tutorial and save yourself loads of time and effort. |
| Tags |
| featured video |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need suggestion for video in WP | ghettohacker | General Discussion | 4 | 01-11-2011 08:17 AM |
| gallery and video plugin suggestion help | harris414 | General Discussion | 3 | 12-03-2009 09:22 PM |
| Adding Allure's Featured Video & More Featured Video to Corp | BrianStockwell | General Discussion | 7 | 07-16-2009 10:45 AM |
| Video Page Suggestion | johnny9k | General Discussion | 1 | 07-02-2009 02:25 PM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us