• Resolved Kwitelle

    (@kwitelle)


    Hello,

    I have a Multi Knowledge Base. When I add a second KB it shows the name of this KB in the header above the search bar. That is perfect. But on top of this name it also shows the heading of the page. This would be no problem if I could hide this heading (with CSS or something) but I can not as it is part of the H1 tag witch has the name of the KB itself.

    Please the screenshot attached and it will be clear.
    https://www.dropbox.com/s/vi78twt2kgf5t7v/get-rid-of-title.png?dl=0

    How can I get rid of this extra title?

    Maybe I could use a short-code for the two different KBs and add them to two separate pages? Is that possible?

    Regards
    Christel

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author BasePress

    (@codesavory)

    Hi @kwitelle,

    you can customise the templates and remove the extra title.
    The instructions on how to customise a theme can be found here:
    https://codesavory.com/knowledge-base/basepress/basepress-themes/customize-a-knowledge-base-theme/
    At the bottom of the article it suggests a plugin to find out which template to customise and where it is located.

    When opening the templates you will find these lines:

    <!-- Knowledge Base title -->
    <header>
    	<h2><?php echo apply_filters( 'basepress_modern_theme_header_title', 'Knowledge Base' ); ?><br><?php echo ( $bpkb_is_single_kb ? '' : $bpkb_knowledge_base->name ); ?></h2>
    </header>

    You just need replace those with this:

    <!-- Knowledge Base title -->
    <header>
    	<h2><?php echo $bpkb_knowledge_base->name; ?></h2>
    </header>

    You may find H1 or H2 in different templates so you can respect that or set it as you see fit best.
    If you have any difficulty doing this please open a support ticket from within the plugin and I’ll help you from there.

    Thanks

    Thread Starter Kwitelle

    (@kwitelle)

    Hi Codesavory,

    This worked. Thank you for your swift reply. I like your no-nonsens style approach, that is also reflected in your products.

    Regards
    Kwitelle

    Plugin Author BasePress

    (@codesavory)

    Hi Kwitelle,

    I am happy I could help!
    Have a nice day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How not to show the title of the page’ is closed to new replies.