Okay
  Public Ticket #2512023
Wordpress 5.5 does not work with Kalium
Closed

Comments

  • aboutkidshealth started the conversation

    (this post has been edited)

    Hi, sorry the problem I wrote earlier doesn't happen anymore. 

    Wordpress 5.5 works fine with Kalium 3.0.6 except I get this weird issue with the heading titles.

    They appear twice.

    So if my page is called Resources, the Resources heading will appear twice, one after another. When I inspect it, I see this:

    <div class="container page-heading-title">
            <div class="row">
                <div class="col-sm-12">
                    <div class="section-title">
                        <h1 id="main-title">Resources</h1>
                                        </div>
                </div>
            </div>
    </div>
    <section class="page-heading" role="heading">
        <div class="container">
            <div class="row">           
                <div class="page-heading__title-section page-heading--title-section section-title">
                <h1 class="page-heading__title page-heading--title">Resources</h1>
                </div>
            </div>
        </div>
    </section>
    

    But I did not insert an extra heading on the page. Is this a bug or an option I may missed, it was fine before.

    Hope you can let me know, thanks!

  •  1,558
    Laborator replied

    Hi there,

    I don't know exactly how it looks as there is no link where I can view it live but it may be a problem with the page title option, in that page go to Parameters and Options and make sure these options are set like in the screenshot:

    medium
    (view large version)


    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  • aboutkidshealth replied

    Hi Art, thanks, yes the option in the parameters to show Heading Title are enabled to yes. We want the page titles to appear on our pages so all the pages have been checked to yes.

    However that would cause the page title to appear twice. If I disable it, there will be no heading title but we would like the titles of the pages to show.

    Our site is live so I did not want to have the website showing duplicate page titles so I reverted it back to 3.0.5

    I suppose I can leave it at 3.0.5 with WP 5.5, I haven't come across any issues with 3.0.5 and the latest version of WP.

    I guess I could also apply CSS to hide the section tag with the 2nd title, but if this could not appear at all, that would be great.

    Thanks!

  •  1,558
    Laborator replied

    Hi again,

    Just make sure you have selected the description as "Enter custom description" because if you select to inherit the post description it will duplicate the page contents.

    There has not been any big change in the page titles from 3.0.5 to 3.0.6 and we did not get any bad feedback for that so I will need your credentials to check the problem live.

    Your information is safe (private) in this thread.

    To include your credentials click Insert Credentials button in editor toolbar. (See how)

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •   aboutkidshealth replied privately
  •  1,558
    Laborator replied

    Hi there,

    There is no problem with the theme, but it is with the child theme which you have modified, if you switch to the default Kalium theme you will notice the doubled title does not show.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  • aboutkidshealth replied

    Hi Art, thanks for looking into it.

    I forgot to mention that we use a child theme, in the child theme I had a page-heading-title.php file copied over from the previous Kalium theme to add an id to the h1 tag but once I removed the php file, it fixed the problem of showing 2 titles. So everything's great, thanks.

    I have a separate question, our page titles are wrapped in a <section> tag, is that how it is supposed to be? For website accessibility, I don't think a landmark tag that only contains a h1 tag meets accessibility.

    Thanks again.

  •  1,558
    Laborator replied

    Hi again,

    In the page-heading section there are also many elements besides the H1 which you choose to show or not, in your case there is only the title but usually there is a short description of the page and we believe that's the best practice for the theme.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group