-
Author
-
November 16, 2014 at 23:19 #35698poetryjamParticipant
I am using the Portfolio template but I am not using it for a traditional portfolio. What I want to do use change the “Back to Portfolio” link at the b bottom to say “Back to (whatever I choose).” So how do I do that?
November 18, 2014 at 19:11 #35890KamalModeratorHi,
You can change the “Back to Portfolio” to whatever you like. To change it please follow the following steps.
1. Please copy the “single-portfolio.php” file from the KLEO parent theme’s home folder to KLEO Child theme’s home folder.
2. Edit the file using wordpress editor or you can use ftp to edit the file.
3. If you go to the line 149 , then you should see the following code:COPY CODE<section class="footer-color text-center portfolio-back"><a>" href="<?php echo get_archive_link( 'portfolio' );?>"><i class="icon-th icon-2x"></i></a></section>
4. Then you can change the value of title and href of “a” tag to whatever you would like to.
5. Save the file and refresh the page. You should see the link and title changed according to your given value. Please see the screenshots to see which line or portion should be edited.
If you do not understand anything clearly, please feel free to ask me.
Thanks,
KamalHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAttachments:
You must be logged in to view attached files.November 18, 2014 at 19:46 #35896sharmstrModerator@kamal – going to add a few more options here. hope you dont mind.
Option 1
If you want the ability to add a back to whatever, but its always going to be different:– Within VC, add new row
– Add an icon (the back to portfolio uses the TH icon x2).
– Add a link to the page you want it to go to– Turn off Back to Portfolio button in Theme Options – Portfolio (cant remember if this is available in Kleo 2.1. If not you can hide vis css)
Option 2
I have a beta version of Kleo 2.2, so I cant remember if this is available in Kleo 2.1, but you’ll be able to set a custom page for your portfolio. You can call it whatever you want and give it whatever slug you want. So if you call it Projects, it will use that name instead of “Portfolio” then all the “Back to Portfolio” buttons will automatically be turned into “Back to *whateveryourslugis*”Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
November 19, 2014 at 00:00 #35920KamalModerator@sharmstr: Thank you so much. I never mind. Thank you again. I really forgot that option and went to direct hard solution. My bad. Thanks.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 19, 2014 at 00:07 #35921poetryjamParticipantThe Back to Portfolio button is not available for 2.1. When will 2.2 come out? I won’t go live with my site until Jan 2015 so if it’s coming out before that I will wait. I would prefer not to write any code if I can help it but if 202 is coming out after that then I will give it a try.
November 19, 2014 at 00:18 #35922sharmstrModerator@kamal – I do that all of the time. My first reaction is to code it. I cant help it.
@poetryjam – I cant tell you since I dont work here, but if its not released by the time you really need it, just respond to this topic if you cant figure out kamals solution. One of us will make sure you’re good to go.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
November 19, 2014 at 00:28 #35925poetryjamParticipantIf I do this will it affect my updates? I am changing the child theme which will be changed with an update right?
November 19, 2014 at 00:30 #35926KamalModeratorHi,
You can edit the link for the button that shows in single portfolio item page and links to the yoursite.com/portfolio/ You can change the link for that button from Theme options>Portfolio>Portfolio link*. However, I did not find to change the title of that button from dashboard. You may need to edit the title for that link from the file I have already told you above to edit.
and Your changes in your child theme will remain intact even after the update. That is why we encourage using child theme for modification. ThanksHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAttachments:
You must be logged in to view attached files.November 19, 2014 at 00:57 #35929sharmstrModeratorKamal – The title is auto changed to whatever name you put.
poetryjam – http://codex.wordpress.org/Child_Themes
“A child theme is a theme that inherits the functionality of another theme, called the parent theme. Child themes allow you to modify, or add to the functionality of that parent theme. A child theme is the best, safest, and easiest way to modify an existing theme, whether you want to make a few tiny changes or extensive changes. Instead of modifying the theme files directly, you can create a child theme and override within.”
What seems to confuse people the most is they make the mistake of enabling Kleo after an update since WordPress will give you that option. You should only update Kleo, never enable it.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
November 19, 2014 at 02:20 #35935poetryjamParticipantOK now I get a 404
“This is somewhat embarrassing, isn’t it?
It looks like nothing was found at this location. Maybe try a search?”
And all my portfolio pages are not there!! HELP!!
November 19, 2014 at 02:29 #35936KamalModeratorHi, you got a 404 error because you might have entered a permalink in the portfolio link setting, that does not exist. You should change it to a permalink that exists on you site. generally your all portfolios are shown on this permalink> yoursite.com/portfolio/ but if you change it to something else then that link should exists. I hope you understand the matter. If you do not understand anything, please feel free to ask again.Thanks.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 19, 2014 at 02:35 #35937poetryjamParticipantI didn’t touch the permalink. I just reloaded the original single-portfolio.php page from the “Main Files” folder and it’s still doing the same thing.
November 19, 2014 at 02:40 #35941sharmstrModeratorIf what Kamal has suggested doesnt work, try resetting your permalinks. You dont have to change them, you just need to go into Settings -> Permalinks and click save.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
November 19, 2014 at 02:41 #35942KamalModeratorHi, can you please explain what you did before getting the 404 error? thanks
and @Sharmstr: thank you very much for your help.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 19, 2014 at 02:44 #35945poetryjamParticipantI copied the single-portfolio.php from Kleo then I changed the 149 line and where it says Title to the title I wanted then loaded it into the child home as was suggested
November 19, 2014 at 02:49 #35949poetryjamParticipantI think it’s a permission thing. How do I change them?
November 19, 2014 at 03:04 #35951poetryjamParticipantOK, it was the permalink thing!! SO should I try it again and then refresh the permalink?
November 19, 2014 at 03:10 #35952poetryjamParticipantI fixed it!! I did it! Thanks!! You guys are the BEST!!
November 19, 2014 at 03:36 #35953sharmstrModeratorGreat news. But what was the solution 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
November 19, 2014 at 04:03 #35956sharmstrModeratorYeah, I figured that was the issue. Thanks for the update.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.