Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbpress pluging short cored not working


  • manish198530
    Participant

    @manish198530

    hello

    i am using bb-press plugin in my theme
    i have to add short code in my page with word-press function like this in .php page
    “<?php echo do_shortcode(‘[bbp-forum-index]‘); ?>”

    it’s not working on .php page
    —————————————
    but when i create page in wordpress admin section and add shortcode on page it’s working

    but on .php page it’s not working
    can you please help me what i am doing wrong

    Thanks 🙂

Viewing 1 replies (of 1 total)

  • Robin W
    Moderator

    @robin-w

    I cannot see an obvious error.

    in which file in your theme are you putting this ?

    php can haveissues with the various quote marks, particularly if they have been copy/pasted so maybe type the line in again by hand, rather than copy

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar