This topic has 21 replies, 3 voices, and was last updated 10 years by sharmstr.

  • Author
  • #35698
     poetryjam
    Participant

    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?

    #35890
     Kamal
    Moderator

    Hi,
    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,
    Kamal

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    Attachments:
    You must be logged in to view attached files.
    #35896
     sharmstr
    Moderator

    @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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #35920
     Kamal
    Moderator

    @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 solution
    #35921
     poetryjam
    Participant

    The 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.

    #35922
     sharmstr
    Moderator

    @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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #35925
     poetryjam
    Participant

    If I do this will it affect my updates? I am changing the child theme which will be changed with an update right?

    #35926
     Kamal
    Moderator

    Hi,
    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. Thanks

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    Attachments:
    You must be logged in to view attached files.
    #35929
     sharmstr
    Moderator

    Kamal – 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #35935
     poetryjam
    Participant

    OK 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!!

    #35936
     Kamal
    Moderator

    Hi, 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 solution
    #35937
     poetryjam
    Participant

    I 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.

    #35941
     sharmstr
    Moderator

    If 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #35942
     Kamal
    Moderator

    Hi, 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 solution
    #35945
     poetryjam
    Participant

    I 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

    #35947
     poetryjam
    Participant

    non of my portfolio pages are visible now

    #35949
     poetryjam
    Participant

    I think it’s a permission thing. How do I change them?

    #35951
     poetryjam
    Participant

    OK, it was the permalink thing!! SO should I try it again and then refresh the permalink?

    #35952
     poetryjam
    Participant

    I fixed it!! I did it! Thanks!! You guys are the BEST!!

    #35953
     sharmstr
    Moderator

    Great 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #35954
     poetryjam
    Participant

    Permalink need to be pushed

    #35956
     sharmstr
    Moderator

    Yeah, 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 solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

Viewing 22 posts - 1 through 22 (of 22 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?