Your cart is currently empty!
Homepage › Community Forums › Epik Theme Support › Portfolio Questions
Tagged: portfolio
I am using Epik 1.4.1 with Genesis 2.4.0.
I added posts to appear on a portfolio page as described in your tutorial. And it works pretty well except for a few things I cannot figure out.
I would like my page to display 3 columns like your demo but mine displays 4. How can I change it?
I tried editing this code in the page_portfolio.php from 3 to 2 but it didn’t help
add_action( 'genesis_entry_footer', 'portfolio_after_post' );
function portfolio_after_post() {
global $loop_counter;
if ( $loop_counter == 3 ) {
$loop_counter = -1;
echo '<div class="clear"></div>';
}
}
I looked through my functions.php to see if there was anything there overriding it but cannot find anything.
Portfolio URL: http://nestacert2.wpengine.com/personal-trainer-resources/
——————————————
Second Question: I’m trying to figure out why my portfolio posts don’t display on the page nicely like the demo? I have huge gaps on the page.
Portfolio URL: http://nestacert2.wpengine.com/personal-trainer-resources/
Thanks,
Priscilla
There were updates made that fixed that issue a long time ago in the Portfolio file (a year or 2 ago I think). Although, it’s completely fixed in the new version so it would probably be best to just use that instead. I wonder if you could temporarily swap out the entire Portfolio file with the new one to see if that helps?
You’d also need to add the same CSS that’s used in the new version as well. The new portfolio CSS can be found at line 2930 in the style.css. If I were you, I’d just copy/paste that over the old code to see if that fixes it. Make sure and BACKUP your files first!
This is all assuming you want to continue using the older version of the theme, while adding in the bits and pieces of the new theme without having to fully upgrade. Is that correct? It looks like you’ve made some edits that you’ll want to keep, so that’s why I figured you’d want to keep the version you’re using.
I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com
Thanks Eric,
Yes, I used the older 1.4.1 version of Epik because I needed to use Epik how I modified it for another site and pulled it into a new one and am building from there. I wished I could have started over.
Your suggestion is a great one. I may just pull that newer template into the theme and grab the functions in the functions.php along with the CSS and see how it flies. In staging of course.
Yes, I finally got the if ( $loop_counter == 3 )
to cooperate when I changed it to if ( $loop_counter == 2 )
I tried many times. Maybe there was a caching issue on that account.
Thanks for your quick reply!