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

Custom fields portfolio config not showing

custom fields portfolio
    • 5 years, 6 months ago D0RiKiN
      Participant

      The theme supports custom fields for the portfolio which can be added here;
      /wp_admin > Specular > Portfolio config > Custom fields Parameters (Create unlimited custom fields. Add values in respetive single portfolio)

      Once added here, they can be filled here;
      Portfolio items > Add new > Single Portfolio Options > Custom Fields > Custom field values

      Once saved, they will show up in the front-end. Cool!
      Problem is that it’s just showing blank fields in the back-end… So while creating a new item i’m not sure which field i’m filling in unless i check the config or just save and check in the front-end. Shouldn’t the labels of the config be shown here?

    • 5 years, 6 months ago Ludjon
      Keymaster

      Yes, you’re right.

      Please update this function on functions-specular.php

      function codeless_getPortfolioFields(){
        $cl_redata = get_option( 'cl_redata' );
        
        $description_fields = '';
        if($cl_redata['single_portfolio_custom_params'] ): 
            for($i = 0; $i < count($cl_redata['single_portfolio_custom_params']); $i++):
                $description_fields .= ($i+1).". ".$cl_redata['single_portfolio_custom_params'][$i]."<br />  ";
            endfor;
        endif;
      
        return $description_fields;
      }

      We will add on the update list

      Thank You

    • 5 years, 6 months ago D0RiKiN
      Participant

      Thanks! Works like a charm!

       

      Still, now it shows a sum up of all the fields, and you need to manually add the fields on the right side.
      Would be a bit more user-friendly if the fields just show up once they’re in the config, or at least show the correct placeholder in each field. Since i use alot of fields , now i need to count which field i’m at…

      Suggestion: Maybe consider changing it in the update :)

      Thanks so far, topic resolved for now!

    • 5 years, 6 months ago Ludjon
      Keymaster

      Thank You, yes we will fix it on next update for sure!

      Best Regards

Viewing 3 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