How to change "More Work" Button

Modern, responsive, unique and elegant one-page WordPress theme to showcase your creativity
GK User
Wed Aug 20, 2014 4:47 am
How do I simply change the text from "more work" to "All Work". I tried looking at similar posts on the forum and could not figure it out. Thanks
User avatar
Gold Boarder

GK User
Wed Aug 20, 2014 6:29 am
Hello,

This text comes from GK Portfolio widget - you can change it using the language file:
http://www.gavick.com/documentation/wor ... -language/

or directly in Creativity/gavern/widgets.portfolio.php (around line 186)
User avatar
Moderator

GK User
Sat Nov 01, 2014 11:24 pm
Hello Piotr

I have the same probleme, and i have changed the word in

Creativity/gavern/widgets.portfolio.php (around line 186)

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">'.__('More work ', 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).'">'.__('More work', GKTPLNAME).'</a>';
}
}


but the page dont change anything.

so there is any another php file? in the web, i find it use

id="widget_gk_portfolio-2"

thank u very much
User avatar
Fresh Boarder

GK User
Mon Nov 03, 2014 8:31 am
No, this word is only in widgets.porfolio.php but occurs twice, please replece all "More work" words from this file.
User avatar
Moderator

GK User
Mon Nov 03, 2014 12:35 pm
ok, thanks

i think there are some cache in this widget, sometimes when i change the words, but it take effect after sometimes reflesh.

now it marche, but i think it isnt stable....

thank u again.
User avatar
Fresh Boarder


cron