New Landing How can we help? Themeforest Theme Support Dante Portfolio – Change the "Related Projects" title

Viewing 15 posts - 1 through 15 (of 17 total)
  • Posted in: Dante
  • #59488
    james_zedd
    Member
    Post count: 6

    Hi.

    I’m looking to change the “Related Projects” title in the Dante theme to some other wording.

    I’ve switched the portfolio section to show photos of my client’s practice.

    However, at the bottom, where the other photos are displayed, it says “Related Projects”.

    I’d like to change that to something like “Additional office suites” or something of that nature.

    How would I go about doing this?

    Thanks.

    #59509
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please open to edit the single-portfolio.php file .

    Find this code at line 526
    <h3 class="spb-heading"><span><?php _e("Related Projects", "swiftframework"); ?></span></h3>
    
    Replace with 
    
    <h3 class="spb-heading"><span><?php _e("Additional office suites", "swiftframework"); ?></span></h3>
    

    Thanks

    #59555
    james_zedd
    Member
    Post count: 6

    Thank you. The issue is resolved.

    #59609
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Thanks Mohammad!

    #121051
    calle19
    Member
    Post count: 12

    Is this still valid in 1.8? I can’t find this code in single-portfolio.php or sf-portfolio-detail.php

    #121052
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    1.8? You sure you are referring to Dante?

    – Kyle

    #121064
    calle19
    Member
    Post count: 12

    I’m sorry, I missed that. No, I’m using Cardinal.

    #121066
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    The file path is cardinal/swift-framework/content/sf-portfolio-detail.php

    224: 	/* PORTFOLIO RELATED PROJECTS
      225  	================================================== */ 
      226  	if (!function_exists('sf_portfolio_related_projects')) {  
      ...
      253  			<section class="related-projects <?php echo $wrap_class; ?> clearfix">
      254  				
      255: 				<h2 class="<?php echo $heading_class; ?>"><?php _e("Related Projects", "swiftframework"); ?></h2>
      256  				
      257  				<div class="clearfix">

    – Kyle

    #121080
    calle19
    Member
    Post count: 12

    Thank you. Can you tell me the best way to get the related ‘category title’ in there? So it would read:

    More From “Related Category name here”

    #121084
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    I’m afraid that’s not possible, it has to be static text

    – Kyle

    #121086
    calle19
    Member
    Post count: 12

    Ok thanks for your help!

    #121088
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

    #121089
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom php code snippet:
    <h3 class=”spb-heading”><span><?php _e(“Related”, “swiftframework”); echo $item_categories[0]; ?></span></h3>
    Thanks
    Mohammad

    #133960
    SomeChick
    Member
    Post count: 231

    Will such a change hold true when there’s an update?

    #134054
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi @SomeChick,

    You can make use of Child theme to hold the changes even after the update. 🙂 But I suggest you to change those texts using the translation .po files, it is much easier.

    Let us know,

    Thanks,
    laranz.

Viewing 15 posts - 1 through 15 (of 17 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register