This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Comments on pages

  • Creator
    Topic
  • #1030
    fusionx22
    Participant

    Hello,

    Love the Akita theme – it’s amazing.

    I can’t find any way to show comments or the comment form on pages. I do have comments enabled in the page settings. I’m using the default page template on he pages in question.

    Can you point me in the right direction?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #1032
    fusionx22
    Participant

    I did cheat and removed the “if” test from the default page template:

    if ( themeblvd_supports( 'comments', 'pages' ) )

    so it’s working now, but obviously that’s not a good long-term solution.
    I also realized this site is still using version 1.1.1, so I’m upgrading today.

    #1035
    Jason Bobich
    Keymaster

    Hello,

    This is how you’d enable comments on pages from functions.php of your Child theme:

    function activate_page_comments( $setup ) {
        $setup['comments']['pages'] = true;
        return $setup;
    }
    add_filter( 'themeblvd_global_config', 'activate_page_comments' );
    #1042
    fusionx22
    Participant

    Beautiful – thanks very much!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The forum ‘Akita Responsive WordPress Theme’ is closed to new topics and replies.