Jonathan Bossenger
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WordPress 5.9 search block only returns a single resultThanks @meushar
Have you applied a custom template for the search results? It might be that the template is not looping through all the results.
Forum: Fixing WordPress
In reply to: WordPress 5.9 search block only returns a single resultHi @meushar
I assume you are adding the block to a specific location (post, page or widget) on your site.
When you search for something, does the browser url change to something using the s query string, and the search term?
For example https://yourdomain.com/?s=searchterm
Forum: Fixing WordPress
In reply to: error loading pdfHi @avrec, I understand.
Your best option would be to try and get a response from the Translate press team via their support forum, as their plugin seems to be at the core of the problem.
Forum: Fixing WordPress
In reply to: Gutenberg: disable “transform to columns” and “transform to group”Hi @julian_wave I think we’ve been chatting about this on your other thread here.
https://wordpress.org/support/topic/gutenberg-editor-modify-change-block-type-or-style-text/
Forum: Fixing WordPress
In reply to: Fatal error admin-header.php on line 62Hi @draganela
I did a bit of digging in the WordPress issue tracker, and I came across one ticket that might shed some light.
https://core.trac.wordpress.org/ticket/32198
While the ticket itself is not related, this comment is
https://core.trac.wordpress.org/ticket/32198#comment:4
You will see that this comment, and the follow up comment, talk about the fact that the translation file for a specific language has a small bug, which is causing the “Argument number must be greater than zero” error. This makes some sense, as the error in admin-header.php on line 62 you are experiencing, is also related to a translatable string, and it happens when you have switched the language to Serbian.
May I suggest that you reach out to the Serbian translation team. They might be able to assist here.
Forum: Fixing WordPress
In reply to: Gallery Image Link Not Working@winediplomats in that case, there seems to be a problem with that specific image. Have you tried deleting it, re uploading it, and applying the link?
Hi @papamufflon
I just tested this code on a clean WP install running 5.9.3.
To test it, I loaded up an empty post, added some sample data, and applied one tag in the UI. Then I opened the developer tools console, and ran each line of code, replacing your tag id with my own.
The new tag was applied to my post, and when I clicked Update and then refreshed the page, it was still applied. So as far as I can see, your code is correct.
Have you tried disabling all plugins and/or switching to a default theme, and seeing if the problem persists?
Forum: Fixing WordPress
In reply to: Limit the use of the WYSWIG editorOk, thanks for the update @alphamike2.
If your question has been answered, we would love if you would mark this topic as resolved in the sidebar. This helps our volunteers find the topics that still need attention and more people will get helped, possibly like you did.
Forum: Fixing WordPress
In reply to: How to Reduce Space Below MenuAwesome, thanks for the update @sneedbreedley.
If your question has been answered, we would love if you would mark this topic as resolved in the sidebar. This helps our volunteers find the topics that still need attention and more people will get helped, possibly like you did.
Forum: Fixing WordPress
In reply to: Gutenberg editor: modify “change block type or style” textHi @julian_wave I do understand.
The other option is to create a custom block component, not dependant on any existing components, which only supports the functionality you require.
For example, you could create a custom block that only renders the h3 tag, and allows the user to edit the text of the h3 tag.
This is a bit old, but I recorded a workshop on the Learn WordPress platform a few years ago, that discusses building custom blocks like this
https://learn.wordpress.org/workshop/intro-to-gutenberg-block-development/
Forum: Fixing WordPress
In reply to: Limit the use of the WYSWIG editor@alphamike2 can you share the solution you found to change the text style, so that I could test it out and see what it does.
Forum: Fixing WordPress
In reply to: Fatal error admin-header.php on line 62Hi @draganela
Does it also happen if you just create a post with only a post title of “test”?
Also, are you able to enable the WordPress debug log https://wordpress.org/support/article/debugging-in-wordpress/#wp_debug_log
This might expose any errors happening when you attempt to publish.
Forum: Fixing WordPress
In reply to: How to Reduce Space Below MenuHi @sneedbreedley unless the theme offers you options to edit that padding, making changes to the selectors I have pointed out via CSS in a custom theme will reduce the space below the menu.
However, it looks like you are using the Signify theme, so I recommend asking at https://wordpress.org/support/theme/signify/ so the theme’s developers and support community can help you with this.
There may be theme settings or Customizer options that allow you to change this, but the theme developers would know if this is possible.
Forum: Fixing WordPress
In reply to: How can I achieve this in custom post type?Sure @nielfernandez
If your question has been answered, we would love if you would mark this topic as resolved in the sidebar. This helps our volunteers find the topics that still need attention and more people will get helped, possibly like you did.
Forum: Fixing WordPress
In reply to: Gutenberg editor: modify “change block type or style” textOk, thanks @julian_wave
In the wv-h3.js file you are returning an instance of the RichText component https://developer.wordpress.org/block-editor/reference-guides/richtext/ which in turn is made up of other block components, that have their own attributes. So to make the change you need, you’re going to have to extend and modify the RichText component, which is not a straightforward task.
However, it might be better to use the experimental heading component instead of RichText.
https://developer.wordpress.org/block-editor/reference-guides/components/heading/