• Resolved mdailey77

    (@mdailey77)


    I installed the plugin, added articles and the knowledgebase home page successfully. On the knowledgebase home page the page title is not displaying. I looked at the code and it’s this part: <h1><?php get_the_title( KBE_PAGE_TITLE ); ?></h1> that is not working. It seems the function get_the_title(KBE_PAGE_TITLE) is returning nothing. I added the knowledgebase shortcode to a page as per the directions. Does anyone know why the title is not displaying?

Viewing 1 replies (of 1 total)
  • Thread Starter mdailey77

    (@mdailey77)

    I found out the KBE_PAGE_TITLE is supposed to return the knowledgebase slug. I wanted to get the page title. The solution I found is to use the page id like this: <h1><?php echo get_the_title(14551); ?></h1>

Viewing 1 replies (of 1 total)
  • The topic ‘Page title not appearing’ is closed to new replies.