Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-5306

Post type doesn't appear on single post pages

    XporterXMLWordPrintable

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Should have
    • Resolution: Released
    • Affects Version/s: None
    • Fix Version/s: 2.35.0
    • Labels:
    • Story Points:
      2
    • Sprint:
      Sprint #140
    • Section:
      Posts
    • Track:
      Development
    • Repositories:
      planet4-master-theme

      Description

      According to the single post template, the post type should be displayed with tags before the post title; it doesn't appear anymore, probably since April 23rd with the merge of this change https://github.com/greenpeace/planet4-master-theme/commit/47887eb6ffeaf5b6d925778d10f930fb40c5303c#diff-6ce624532346493b7a0d1a63ecfc68ceR45

       

      Tasks

      • changing `$page_terms_data = array_map( 'reset', $page_terms_data );` to `$page_terms_data = reset( $page_terms_data );` should be sufficient
      • verify that other array_map(reset()) are coherent with data type

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              fhernand Florent Hernandez
              Reporter:
              fhernand Florent Hernandez
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: