Search Results for 'code'
-
Search Results
-
Topic: FSE templates and bbPress
Hi
I’m looking into the possibility to move a community site from using Elementor Pro to WordPress own Full Site Editing and block theme.I’m curious if anyone has figured out how to apply templates to the forums and topics themselves. The forum root works fine though because it has a shortcode.
In Elementor I worked it out by making a single post template and then exclude posts and custom post types from it, but in FSE it doesn’t seem possible to apply any templates to bbPress at all.
Thank you in advance
Hi – I’m trying to change the title of my forum index page. I tried item 3 method 2 at:
— saving my index page as /members (not /forums) as per WP settings, and then tried to give members page in wordpress the title “Private Forums” (instead of title Members). It displays as “Private Forums” (not “Members”) in the breadcrumb. But still on main index page, it displays only the title “Forums.”I’m using the shortcode [bbp-forum-index] on /members page as I have text above and below it.
What can I add to functions.php that will force that index page to display the title “Private Forums”?
Thank you!
Topic: MySQL Syntax Error
Hi,
A MySQL syntax error has started cropping up recently, even though I have made no changes that might be related to this (same MySQL version, same PHP version, same bbPress version, same WordPress version). Can anyone enlighten me on what might be causing this?
Once again, this only started happening recently despite the lack of any significant related changes – I have been doing forum repairs for years without any errors.
[09-Mar-2023 05:01:55 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘312810’)’ at line 2 for query INSERT INTO
as_usermeta
(user_id
,meta_key
,meta_value
) VALUES
(‘4185’, ‘as__bbp_favorites, ‘312810’); made by require_once(‘wp-admin/admin.php’), do_action(‘load-tools_page_bbp-repair’), call_user_func_array, bbp_admin_repair_handler, call_user_func, bbp_admin_repair_user_favorites