Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

View all translate

portfoliotranslateview all
    • 8 years, 7 months ago DenisInk
      Participant

      Expired

      Hello,
      Thanks for the theme it’s so nicely designed.

      Can you advise how to translate the “view all” category in the portfolio section ?

      I have checked the po files in languages > fr_FR.po and admin-fr_FR.po but could not find the string.

      Thanks for your help

    • 8 years, 7 months ago Mirela
      Participant

      Hello,

      You can add more string to the .PO/.MO files in case the one you want to translate is not present already. Use a .PO files editor, such as PoEditor program to edit them.
      Or change the string directly in theme files (although we do not recommend it as it will prevent you from taking future theme updates).
      You can find the “view all” in file portfolio.php.
      Let us know.

      Best regards!

    • 8 years, 6 months ago DenisInk
      Participant

      Expired

      Thanks for your answer.

      I had a look at porfolio.php and could find the “view all” line..

      See below

      Can you share exact line please ?

      
      
      <?php
      
      /*
      
      Template Name: Portfolio Page
      
      */
      
      global $cl_redata;
      
      global $cl_current_view;
      
      $cl_current_view = 'portfolio';
      
      $id = codeless_get_post_id();
      
      $replaced = redux_post_meta('cl_redata',(int) $id);
      
      if(!empty($replaced))
      
      foreach($replaced as $key => $value){
      
      $cl_redata[$key] = $value;
      
      }
      
      get_header();
      
      get_template_part('includes/view/page_header');
      
      ?>
      
      <section id="content" class="content_portfolio <?php echo esc_attr($cl_redata['portfolio_layout']) ?> layout-<?php echo esc_attr($cl_redata['layout']) ?>">
      
      <?php if($cl_redata['portfolio_content'] == 'top'): ?>
      
      <?php get_template_part( 'includes/view/loop', 'page' ); ?>
      
      <?php endif; ?>
      
      <?php if($cl_redata['portfolio_layout'] == 'in_container'): ?>
      
      <div class="container">
      
      <?php endif; ?>
      
      <div class="row-fluid filter-row">
      
      <?php if(!empty($cl_redata['portfolio_categories'])): ?>
      
      <?php if($cl_redata['portfolio_layout'] == 'fullwidth'): ?>
      
      <div class="container">
      
      <?php endif; ?>
      
      <!-- Portfolio Filter -->
      
      <nav id="portfolio-filter" class="span12">
      
      <ul class="">
      
      <li class="filter active all" data-filter="all"><?php _e('View All', 'codeless') ?>
      
      <?php foreach($cl_redata['portfolio_categories'] as $cat): ?>
      
      <?php $cat = get_term($cat, 'portfolio_entries'); ?>
      
      <?php if(is_object($cat)): ?>
      
      <li class="other filter"  data-filter=".<?php echo esc_attr($cat->slug) ?>">slug) ?>"><?php echo esc_html($cat->name) ?>
      
      <?php endif; ?>
      
      <?php endforeach; ?>
      
      </nav>
      
      <?php if($cl_redata['portfolio_layout'] == 'fullwidth'): ?>
      
      </div>
      
      <?php endif; ?>
      
      <?php endif; ?>
      
      </div>
      
      <?php
      
      $grid = 'three-cols';
      
      switch($cl_redata['portfolio_columns']){
      
      case '3':
      
      $grid = 'three-cols';
      
      break;
      
      case '2':
      
      $grid = 'two-cols';
      
      break;
      
      case '4':
      
      $grid = 'four-cols';
      
      break;
      
      case '5':
      
      $grid = 'five-cols';
      
      break;
      
      case '1':
      
      $grid = 'one-cols';
      
      break;
      
      }
      
      ?>
      
      <div class="row-fluid">
      
      <?php if($cl_redata['layout'] == 'sidebar_left') get_sidebar(); ?>
      
      <?php if($cl_redata['layout'] != 'fullwidth'): ?>
      
      <div class="span9">
      
      <?php endif; ?>
      
      <section id="portfolio-preview-items" class="<?php echo esc_attr($grid) ?> <?php echo esc_attr($cl_redata['portfolio_space']) ?> " data-cols="<?php echo esc_attr($cl_redata['portfolio_columns']) ?>">
      
      <?php
      
      if($cl_redata['portfolio_mode'] == 'grid')
      
      get_template_part('includes/view/portfolio/loop', 'grid');
      
      else if($cl_redata['portfolio_mode'] == 'masonry')
      
      get_template_part('includes/view/portfolio/loop', 'masonry');
      
      wp_reset_query();
      
      ?>
      
      </section>
      
      <?php if($cl_redata['layout'] != 'fullwidth'): ?>
      
      </div>
      
      <?php endif; ?>
      
      <?php if($cl_redata['layout'] == 'sidebar_right') get_sidebar(); ?>
      
      </div>
      
      <?php if($cl_redata['portfolio_layout'] == 'in_container'): ?>
      
      </div>
      
      <?php endif; ?>
      
      <?php if($cl_redata['portfolio_content'] == 'bottom'): ?>
      
      <?php get_template_part( 'includes/view/loop', 'page' ); ?>
      
      <?php endif; ?>
      
      </section>
      
      <?php get_footer(); ?>
      • This reply was modified 8 years, 6 months ago by DenisInk.
      • This reply was modified 8 years, 6 months ago by Mirela.
    • 8 years, 6 months ago Mirela
      Participant

      Hello,

      You can find it easy by using the “CTRL+F” combination of your keyboard. However, this is the line:
      <?php _e('View All', 'codeless') ?>
      Find it above and edit to your wish.

      Best regards!

    • 8 years, 5 months ago DenisInk
      Participant

      Expired

      So bizzare, I did originally the Ctrl+F but it did not work.

      All solved now thank you

Viewing 4 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password