StudioPress Community Forums

StudioPress Community Forums (http://www.studiopress.com/support/index.php)
-   General Discussion (http://www.studiopress.com/support/forumdisplay.php?f=7)
-   -   replace featured content plugin with text area (http://www.studiopress.com/support/showthread.php?t=20028)

jrtaylor 01-18-2010 10:45 AM

replace featured content plugin with text area
 
Not sure how I might do this, but I would like to replace the featured content plugin area with text box to add some text and a video. Is there a way to do this?

Jon 01-18-2010 11:37 AM

You would have to go into home.php and find
PHP Code:

<?php include (ABSPATH '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>

and then replace that with what ever you want to display.

CharlesClarkson 01-18-2010 11:46 AM

Quote:

Originally Posted by jrtaylor (Post 100902)
Not sure how I might do this, but I would like to replace the featured content plugin area with text box to add some text and a video. Is there a way to do this?

There's no need to replace it. When the plugin is disabled FCG will not be shown. In the home.php theme file, below the "endif" for that block add your div and the text and video you want in it.
PHP Code:

<?php if (function_exists('gallery_styles')) : ?>
<div id="fcg">
    <?php include (ABSPATH '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
</div>
<?php endif; ?>
<!-- You're markup goes here. -->


HTH,


All times are GMT -5. The time now is 02:33 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.