Search Results for 'code'
-
Search Results
-
Topic: Help with Featured Image
Hi,
My theme is creating a featured image on the Topics which I can’t seem to change so I just have a large grey blob square at the top of every topic.
I tried multiple default image wordpress themes and none of them worked.
I can’t add code to display: none because then it takes away the featured posts from the blog section.
Help?
Topic: Strange code under profile
Hi guys,
after install i see some strange code under profilenames. Only as admin i see this.
What is this?hi,
I am trying to parse pasted text into something else, where the simplest thing is to change :spade: :club: :diamond: and :heart: to be visualized as ♠♣♦ and ♥ but my solution is not working.In the Theme files I edited functions.php by adding the following code (in the staging environment)
// Function to replace suit representations with symbols function replace_suit_symbols($hand_history) { // Replace suit representations with symbols $hand_history = str_replace(':spade:', '♠', $hand_history); $hand_history = str_replace(':heart:', '♥', $hand_history); $hand_history = str_replace(':diamond:', '♦', $hand_history); $hand_history = str_replace(':club:', '♣', $hand_history); // Return the modified hand history return $hand_history; }
But when I write “:spade”, for instance, nothing changes. What am I missing?
Hello Theme, WP 6.4.3, bbPress 2.6.9.I am trying to replace the titles for Voice and Replies with dashicons like the WordPress forums are styled. I am using the code below, and it works in that it adds the dashicon, but it doesn’t remove the words.
/*topic titles*/ .bbpress .forum-titles { overflow: hidden; } .bbpress .forum-titles .bbp-topic-voice-count::before, .bbpress .forum-titles .bbp-topic-reply-count::before { font: 400 16px/1 dashicons; margin-right: 100px; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; } .bbpress .forum-titles .bbp-topic-voice-count::before, .bbpress .forum-titles .bbp-topic-reply-count::before { font: 400 21px/1 dashicons; margin-left: 20px; } .bbpress .forum-titles .bbp-topic-voice-count::before { content: "\f307"; } .bbpress .forum-titles .bbp-topic-reply-count::before { content: "\f125"; } .bbpress li.bbp-header li.bbp-forum-info, .bbpress li.bbp-header li.bbp-topic-title { text-align: left !important; } /*forum titles*/ .bbpress .forum-titles { overflow: hidden; } .bbpress .forum-titles .bbp-forum-topic-count::before, .bbpress .forum-titles .bbp-forum-reply-count::before { font: 400 16px/1 dashicons; margin-right: 100px; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; } .bbpress .forum-titles .bbp-forum-topic-count::before, .bbpress .forum-titles .bbp-forum-reply-count::before { font: 400 21px/1 dashicons; margin-left: 20px; } .bbpress .forum-titles .bbp-forum-topic-count::before { content: "\f307"; } .bbpress .forum-titles .bbp-forum-reply-count::before { content: "\f125"; } .bbpress li.bbp-header li.bbp-forum-info, .bbpress li.bbp-header li.bbp-topic-title { text-align: left !important; }
Topic: HTML code appears on forums
Hi,
I’m been seeing some post with HTML code when the teacher answers the questions. We are integrated with Learndash and they told me to comment this with you too.
Thanks,
MariaOn this page – https://thebakersjunction.com/forums/
the footer code comes up as text.I disabled all plugins one by one. When i disabled G5 Core plugin the problem on this page disappeared but my entire site template got broken.
I guess it is a conflict between bbpress and g5 core.
Pls help
Pulling my hair out on this one – Forums and Topics work just fine in the admin and in the front-end. However, Replies totally crash the site – on the front-end, they just fail quietly, but Add New on the Replies page in admin causes WordPress to fail. Trying to track down what could possibly cause this, because it feels really strange!
Copying over the first 100 lines or so of the stack trace to see if ANYONE has any idea what could be causing this.
Error: Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '1024' frames at /www/kinsta/public/internationalmidwivesorg/wp-includes/class-wp-object-cache.php:141 at WP_Object_Cache->is_valid_key() (/www/kinsta/public/internationalmidwivesorg/wp-includes/class-wp-object-cache.php:364) at WP_Object_Cache->get() (/www/kinsta/public/internationalmidwivesorg/wp-includes/cache.php:154) at wp_cache_get() (/www/kinsta/public/internationalmidwivesorg/wp-includes/class-wp-post.php:240) at WP_Post::get_instance() (/www/kinsta/public/internationalmidwivesorg/wp-includes/post.php:1036) at get_post() (/www/kinsta/public/internationalmidwivesorg/wp-includes/post.php:1495) at get_post_type() (/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/common/template.php:454) at bbp_is_reply() (/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:544) at bbp_get_reply_title_fallback() (/www/kinsta/public/internationalmidwivesorg/wp-includes/class-wp-hook.php:324) at WP_Hook->apply_filters() (/www/kinsta/public/internationalmidwivesorg/wp-includes/plugin.php:205) at apply_filters() (/www/kinsta/public/internationalmidwivesorg/wp-includes/post-template.php:174) at get_the_title() (/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/topics/template.php:603) at bbp_get_topic_title() (/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:1405) at bbp_get_reply_topic_title() (/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:549) at bbp_get_reply_title_fallback() (/www/kinsta/public/internationalmidwivesorg/wp-includes/class-wp-hook.php:324) at WP_Hook->apply_filters() (/www/kinsta/public/internationalmidwivesorg/wp-includes/plugin.php:205) at apply_filters() (/www/kinsta/public/internationalmidwivesorg/wp-includes/post-template.php:174) at get_the_title() (/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/topics/template.php:603) at bbp_get_topic_title() (/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:1405) at bbp_get_reply_topic_title() (/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:549) at bbp_get_reply_title_fallback() (/www/kinsta/public/internationalmidwivesorg/wp-includes/class-wp-hook.php:324) at WP_Hook->apply_filters() (/www/kinsta/public/internationalmidwivesorg/wp-includes/plugin.php:205) at apply_filters() (/www/kinsta/public/internationalmidwivesorg/wp-includes/post-template.php:174) at get_the_title() (/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/topics/template.php:603) at bbp_get_topic_title() (/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:1405) at bbp_get_reply_topic_title() (/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:549) at bbp_get_reply_title_fallback() (/www/kinsta/public/internationalmidwivesorg/wp-includes/class-wp-hook.php:324) at WP_Hook->apply_filters() (/www/kinsta/public/internationalmidwivesorg/wp-includes/plugin.php:205) at apply_filters() (/www/kinsta/public/internationalmidwivesorg/wp-includes/post-template.php:174) at get_the_title() (/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/topics/template.php:603) at bbp_get_topic_title() (/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:1405) at bbp_get_reply_topic_title() (/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:549) at bbp_get_reply_title_fallback() (/www/kinsta/public/internationalmidwivesorg/wp-includes/class-wp-hook.php:324) at WP_Hook->apply_filters() (/www/kinsta/public/internationalmidwivesorg/wp-includes/plugin.php:205) at apply_filters() (/www/kinsta/public/internationalmidwivesorg/wp-includes/post-template.php:174) at get_the_title() (/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/topics/template.php:603) at bbp_get_topic_title() (/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:1405) at bbp_get_reply_topic_title() (/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:549) at bbp_get_reply_title_fallback() (/www/kinsta/public/internationalmidwivesorg/wp-includes/class-wp-hook.php:324) at WP_Hook->apply_filters() (/www/kinsta/public/internationalmidwivesorg/wp-includes/plugin.php:205) at apply_filters() (/www/kinsta/public/internationalmidwivesorg/wp-includes/post-template.php:174) at get_the_title() (/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/topics/template.php:603) at bbp_get_topic_title() (/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:1405) at bbp_get_reply_topic_title() (/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:549) at bbp_get_reply_title_fallback() (/www/kinsta/public/internationalmidwivesorg/wp-includes/class-wp-hook.php:324) at WP_Hook->apply_filters() (/www/kinsta/public/internationalmidwivesorg/wp-includes/plugin.php:205) at apply_filters() (/www/kinsta/public/internationalmidwivesorg/wp-includes/post-template.php:174) at get_the_title() (/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/topics/template.php:603) at bbp_get_topic_title() (/www/kinsta/public/internationalmidwivesorg/wp-content/plugins/bbpress/includes/replies/template.php:1405)