StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
  #1  
Old 01-18-2010, 10:45 AM
jrtaylor jrtaylor is offline
Registered User
Genesis Member
Pro Plus Member
 
Join Date: Jun 2009
Posts: 64
Default 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?
  #2  
Old 01-18-2010, 11:37 AM
Jon's Avatar
Jon Jon is offline
Community Moderator
 
Join Date: Oct 2008
Location: New York
Posts: 4,037
Default

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.
__________________
Thanks,
Jon Weisss
Request a quote
Need WordPress Maintenance?
I'm A Recommended Designer
Skype: weiss.jonathan
Please respect my privacy. Do not pm or email me regarding support questions unless otherwise instructed.
  #3  
Old 01-18-2010, 11:46 AM
CharlesClarkson's Avatar
CharlesClarkson CharlesClarkson is offline
Community Moderator
 
Join Date: Feb 2009
Location: Stephenville, TX, USA
Posts: 11,356
Lightbulb

Quote:
Originally Posted by jrtaylor View Post
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,
__________________
Charles "Rubeus Hagrid" Clarkson
StudioPress on Facebook

I'm not really a smart person. I just play one on the Internet.

Please use the HTML or PHP tags for pasting code.
Please make your links click-able: this_is_annoying.com
http://this_is_not_annoying.com.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Replace Featured Content Area with Single Image Keels General Discussion 3 03-14-2010 09:56 AM
Slide show plugin to replace Featured Content Gallery plugin Darlene Darragh General Discussion 5 05-22-2009 01:51 PM
How to wrap text around featured content plugin ebizwildfire General Discussion 2 03-16-2009 12:56 PM
Featured Content Area, Inlude Text? orfyworfy General Discussion 2 03-04-2009 03:40 PM
Can I place Permanent TEXT in the Featured Content Area idtguru General Discussion 2 02-05-2009 05:29 PM


All times are GMT -5. The time now is 08:27 AM.

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