![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
First, here's a screen shot to show what it looks like when completed.
![]() First thing to do is go into the home.php page and find the following code: Code:
<div id="contentleft">
<?php if(get_theme_mod('tabber') == 'Yes') { ?>
<div class="hptabber">
<?php include(TEMPLATEPATH."/tabber.php");?>
</div>
<?php } else { ?>
<?php } ?>
<div class="clear"></div>
Code:
<div id="contentleft">
<?php if (function_exists('gallery_styles')) : ?>
<div class="featuredcontentleft">
<div class="fcg">
<?php include (ABSPATH . '/wp-content/plugins/featured-content-gallery/gallery.php'); ?>
</div>
</div>
<?php endif; ?>
<?php if(get_theme_mod('tabber') == 'Yes') { ?>
<div class="tabberright">
<div class="hptabber">
<?php include(TEMPLATEPATH."/tabber.php");?>
</div>
</div>
<?php } else { ?>
<?php } ?>
<div class="clear"></div>
That is all you'll need to do for the home.php page. Then, open up style.css and find the following code (if you have not modified the stylesheet, it should be at about line 539: Code:
.hptabber {
background: #FFFFFF;
margin: 0px 0px 10px 0px;
padding: 15px 10px 0px 10px;
border: 1px solid #C0C0C0;
}
Code:
.featuredcontentleft {
background: #FFFFFF;
border: 1px solid #C0C0C0;
float: left;
width: 299px;
height: 325px;
margin: 0px 0px 10px 0px;
padding: 0px;
}
.tabberright {
background: #FFFFFF;
border: 1px solid #C0C0C0;
float: right;
width: 299px;
height: 325px;
margin: 0px 0px 10px 0px;
padding: 0px;
}
.fcg {
background: #FFFFFF;
margin: 0px 0px 10px 0px;
padding: 10px 10px 10px 10px;
}
.hptabber {
background: #FFFFFF;
margin: 0px 0px 10px 0px;
padding: 10px 10px 10px 10px;
}
Now, you'll need to go into tabber.php and find the following: Code:
<?php
$i = 1;
while($i < 7) {
?>
Code:
<?php
$i = 1;
while($i < 4) {
?>
Go to the featured content gallery options and set the width to 275 and the height to 300. That is all it took and now you'll have both features on the home page! Hope this helps! :D Adam |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Would Like to Replace tabber with featured content gallery | getfoundnow | General Discussion | 4 | 11-14-2009 11:05 AM |
| Home Page Using Featured Content Gallery Change | rimsguy | General Discussion | 2 | 10-28-2009 12:13 AM |
| Featured Content Gallery ABove Tabber | valeryvie | General Discussion | 3 | 09-12-2009 07:30 AM |
| How to: Featured Content Gallery with Static Home Page | tonihamel | General Discussion | 2 | 08-10-2009 07:40 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