Link info boxes to a page
This support request was posted in BBQ by lauramanney
- lauramanney February 15, 2013 at 9:15 pm
Can I make these info box graphics link to a page? For design reasons i took off the bar below that says “more info” … If its too complicated i can put it back but i like how clean this is. thanks so much.
Juanfra Aldasoro February 15, 2013 at 9:18 pmHello Laura,
You should put the “Read More URL” and then edit the file template-home.php
Remove these lines: (#78-87)
< ?php if ( $infobox_readmore <> '' ) : ?> " rel="bookmark" class="read-more" title="< ?php printf( __( 'Permanent Link to %s', 'nicethemes' ), get_the_title() ); ?>"> < ?php if ( $infobox_readmore_anchor <> '' ) echo $infobox_readmore_anchor; else _e( 'Read more', 'nicethemes' ); ?> < ?php endif; ?>
Best,
Juan.lauramanney February 15, 2013 at 10:30 pmwhen i removed lines #78-#87 it made my site disappear. my lines of those numbers in my php file arent the ones you have above. mine are below. Are you saying that i need to edit something in the code you have above? or will removing code take care of it? i have added the “read more url” as you suggested. http://www.manneydesign.com/newsitebuild/
<?php if ( $infobox_readmore ” ) : ?>
<a href="” rel=”bookmark” title=””>
<?php
if ( $infobox_readmore_anchor ” )
echo $infobox_readmore_anchor;
elselauramanney February 15, 2013 at 10:32 pmsorry, im incorrect: this is what lines 78-87 are in my template-home.php
<?php if ( $infobox_readmore ” ) : ?>
<a href="” rel=”bookmark” title=””>
<?php
if ( $infobox_readmore_anchor ” )
echo $infobox_readmore_anchor;
elseJuanfra Aldasoro February 15, 2013 at 10:33 pmHi Laura,
Maybe if you’re running a previous version of the theme they’re not lines #78-#87. That’s why I copied the exact lines you should be erasing.
Please get your template back to normal, then look for the exact lines I’ve copied in my previous message and erase them. (Check these lines on the forum, not on the notification email )
Best,
Juan.lauramanney February 15, 2013 at 10:35 pmsorry this is a silly question, im used to using themes that prompt me to update them. where can i download the new version?
Juanfra Aldasoro February 15, 2013 at 10:39 pmHi Laura,
Actually, it’s not 🙂 We’re working to have notifications for theme updates.
With regards to BBQ’s version 1.0.6, you need to download the files from your account dashboard and then replace your old files with the new ones (the bbq/ folder on /wp-content/themes/).
Take into account that if you’d changed anything in your functions.php or custom.css (or any other file) files you don’t have to replace them. I would recommend you to make a backup before updating.
Best,
Juan.lauramanney February 17, 2013 at 3:20 amThanks so much Juan. I updated the template and removed the code. its perfect. Just wondering if there’s a way to decrease the space below the info boxes now. so that the footer area comes up closer.
Juanfra Aldasoro February 17, 2013 at 3:09 pmWonderful!
Yes, you can try the following CSS:
.infobox ul.grid { padding-bottom: 0; } .infobox li { margin-bottom: 0 !important; }
Best,
Juan.
This topic is marked as resolved
Only the topic author can re-open this thread.