Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #673747

    I am using Portfolio items and there is an option in Edit Portfolio Items that says: Discussion: Allow Comments. which I have selected, but on the actual published portfolio item, the comment field does not show. See this page, for example:

    How can I fix this? Thanks in advance.

    #673748

    Hey Lokita,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    Login credentials include:

    • The URL to the login screen.
    • A valid username (with full administration capabilities).
    • As well as a password for that username.
    • permission to deactivate plugins if necessary.

    Best regards,
    Yigit

    #673750

    Thanks so much. Posted in private field.

    #674188

    Hello, please update me, thank you :-)

    #675113

    Hey!

    Try adding this at the very end of your theme / child theme functions.php file:

    add_action('ava_after_content', function($id, $content) {
    	if($content == 'single-portfolio'){
    		comments_template();
    	}
    },10,2);

    Cheers!
    Josue

    #675114
    #675115

    in fact my whole website is now not working
    lokitacarter.com goes to:

    Parse error: syntax error, unexpected ‘if’ (T_IF) in /home2/devalokita/public_html/wp-content/themes/enfold/functions.php on line 540

    #675116

    ok, I fixed it. The code in your email was different than the code in this message threat. Thanks, the comments field now appears at the bottom of the portfolio items. You made my evening :-)

    #675125

    You are welcome, glad to help :)

    Regards,
    Josue

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Portfolio Items: Comments not showing’ is closed to new replies.