Tagged: , ,

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1344180

    I have a client who wanted me to set up a forum on her website which is built with enfold.

    I set up BBPress, and the forum page looks fine, but once you click into any of the topics, it doesn’t generate the topic content. Instead, it generates random information other parts of the site (I think mostly the blog) and short codes.

    Interestingly, it generates slightly different content based on whether you create the topic on the front end, or back end.

    Here is an example of one I made on the front end:
    [av_textblock size='17' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-35ahlg' custom_class='' admin_preview_bg=''] Specific for your dogs body awareness I spend time in person or virtual, through zoom, to asses your dogs body awareness, proprioception, and muscle strength. We can create a plan together to meet you and your dogs life goals. If I find anything that concerns me I will refer you to your veterinarian. Since 2012 I have been helping dogs recover from back, neck, and knee injuries as a Certified Canine Rehabilitation Technician. I use those skills to create a safe sustainable plan to prevent injury for your dog. Book an evaluation today! [/av_textblock] [av_textblock size='' font_color='' color='' av-medium-font-size='' av-small-font-size='' av-mini-font-size='' av_uid='av-kd1qrk4s' custom_class='' admin_preview_bg=''] Schedule Appointment Today! [/av_textblock]

    I tested the site on a default theme, and that allows the topic content to generated, but I don’t want to rebuild the entire site in a default theme. Any idea of what can be done?

    #1344209

    Hey ipointtech,

    Could you post a link to where we can see the actual problem please?

    Best regards,
    Rikard

    #1344608

    Sure thing!
    Here is one topic:
    https://k9fitness1dev.wpengine.com/forums/topic/potty-training/
    Here is the page where other topics are displayed: https://k9fitness1dev.wpengine.com/forums/forum/puppy-basics/

    #1344688

    Hi,

    Thank you for the update.

    The links or the pages above do not exist, they redirect to a 404-not-found page. Are the pages accessible without logging in?

    Best regards,
    Ismael

    #1344799

    So there isn’t anything set up that should restrict access to logged in users only, but yeah, it looks like only those logged in can see it. I’ll create a log in for you and add it to the private content. What email should I set it for? If you’d like, I have screenshots comparing each different way it looks wonky, in case that is helpful?

    #1345083

    Hi,

    Thank you for the update.

    You can use (Email address hidden if logged out) for the new account. We will try to check the page again once the login account is available.

    Best regards,
    Ismael

    #1345119

    Hello,

    In the private content section, I added the username and password that I have set up. Thanks in advance!

    #1345310

    Hi,

    How did you create the ‘Example take two’ topic? We added this filter in the functions.php file to allow shortcodes in the topic editor.

    add_filter( 'avf_alb_exec_sc_only', function($exec_sc_only, $obj_sc, $atts, $content, $shortcodename, $fake) {
    	return true;
    }, 10, 6);
    
    add_filter("bbp_get_reply_content", function($content, $id) {
    	return do_shortcode($content);
    }, 10, 2);
    

    We then created another topic using the frontend editor and the shortcodes are now rendering correctly.

    Best regards,
    Ismael

    #1345416

    I apologize I can’t really answer that for you, I didn’t create any functions, I am only inheriting responsibility for this site from a previous developer who is now retired.

    Thanks for all your help!

    #1345457

    Hi,

    No worries. Looks like the shortcodes are now rendering correctly in the topic pages, as we mentioned above. Please let us know if you encounter more issues with the theme.

    Best regards,
    Ismael

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.