Edit Homepage Buttons

Modern, responsive, unique and elegant one-page WordPress theme to showcase your creativity
GK User
Mon Dec 02, 2013 8:07 pm
How do I change the button names What We Do, More Work, and Learn More? I also tried to change the links in the Widget section but it doesn't change the buttom link URL.
User avatar
Expert Boarder

GK User
Tue Dec 03, 2013 8:57 am
Hi,

I just checked Bottom link URL option from GK Portfolio widget and it works fine. Button names you can change using Theme translation, check this article:
http://www.gavick.com/documentation/wor ... -language/

or you can change these text directly in gavern/widgets.imageshow.php and widgets.portfolio.php
Learn More button name you can change in Text widget (About..) from Bottom I widget position.

If you'll still have a problem with Bottom link URL from GK Portfolio send me a PM with backend access to your website, then I'll be able to check it.
User avatar
Moderator

GK User
Tue Dec 03, 2013 8:33 pm
The only thing I still needed to do is to remove MORE WORK button. I need to change the number of portfolios from 6 to 3 only. All I want to see is the 3 portfolios and the SEE MORE button at the bottom. How do I do these?
User avatar
Expert Boarder

GK User
Wed Dec 04, 2013 9:44 am
I think, i found a bug thanks to you, you have to edit Creativity/js/widgets/portfolio.js file and change (around line 24)
Code: Select all
var jsondata = btn.attr('data-toload') !== null
to
Code: Select all
 var jsondata = btn.attr('data-toload') != null


and then in widget GK Portfolio configurations choose 1 page, 3 columns, 1 row.

Let me know if that works.
User avatar
Moderator

GK User
Wed Dec 04, 2013 9:03 pm
It working fine now but I'd still like to change the MORE WORK button to FULL DETAILS. I did what you suggested where to edit it in the widgets.portfolio.php in the Editor but it didn't make the changes. Help!

if($config['bottom_link'] == 'on') {
if(count($jsondata) == 0) {
echo '<a href="'.$config['bottom_link_url'].'" class="gk-load-more border bigbutton" data-text="false">'.__('Full details', GKTPLNAME).'</a>';
} else {
echo '<a href="'.$config['bottom_link_url'].'" class="gk-load-more border bigbutton" data-text="'.__('See more', GKTPLNAME).'" data-toload="'.str_replace('"', '\'', json_encode($jsondata)).'" data-max="'.count($jsondata).'">'.__('Full details', GKTPLNAME).'</a>';
}
User avatar
Expert Boarder

GK User
Wed Dec 04, 2013 9:13 pm
Ignore the last message. I don't why but it somehow corrected it after so many reloads.
User avatar
Expert Boarder


cron