Okay
  Public Ticket #2019764
Project status appears in the project header
Closed

Comments

  •  6
    Volcap started the conversation

    Could project status appear in the project header? When you enter the preview portion.

    Status is seen on the page where all projects are shown, but when you enter a project, it is not shown which status it has.

    Can you add this?

    Attached files:  status1.jpg
      status2.jpg

  •  283
    Abhishek replied

    Hello,

    To do that please add the following line  

    <?php $project_status = (function_exists('fw_get_db_post_option')) ? fw_get_db_post_option(get_the_ID(), 'project_current_status') : 'planned'; ?>
    <?php echo '<span class="project-status badge badge-pill '. esc_attr($project_status) . '"><i class="fa '. esc_attr($project_status_icon) .' pr-2"></i>'. esc_html($project_status) . '</span>'; ?>

    in /woffice/template-parts/content-single-project.php

    at line no 98.

    Let me know if you need further help.

    Kind Regards,

    Abhishek 

    Want feedback on your awesome Intranet? Get yourself a beta access on Feedier.com.

    Keen on Woffice ? Please take a few seconds to give us a 5-star review on ThemeForest.

  •   Volcap replied privately
  •   Abhishek replied privately
  •  6
    Volcap replied

    Thanks.

  •  6
    Volcap replied

    Hello, how can you add this code in the next updates? 

    Every time I have a new update, I have to go to woffice and add this code.

  •  626
    François replied

    Hi there, 

    Sorry about that!.. The snippet has been improved and added to Woffice. Therefore, it'll be in the next update. 

    Have a nice day

    Kind Regards,

    François 

    Want feedback on your awesome site? Get yourself a beta access on our new product Feedier.com here: https://feedier.com/