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

Post type doesn't appear on single post pages

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Released
    • Icon: Should have Should have
    • 2.35.0
    • 2
    • Posts
    • Sprint #140

      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

            fhernand Florent Hernandez (Inactive)
            fhernand Florent Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: