ramonopoly
Forum Replies Created
-
Forum: Plugins
In reply to: [Gutenberg] Ltr with Rtl alignment and justifyForgot to mention, you can set the language and direction on paragraph right now using the “direction” setting in the More dropdown. Look in the block toolbar. It’s only for paragraphs for now.
Forum: Plugins
In reply to: [Gutenberg] Ltr with Rtl alignment and justifyIt looks like there’s a related issue open that could help with your exact situation: Adding RTL<>LTR button to all Gutenberg blocks
The justify text button you’re looking for might be the align button on the toolbar? Most, if not all text blocks have this. See the Heading docs for example.
In the block editor you can copy and paste styles from one block to the other
The other option, if you’re an administrator, is to use global styles to style the block you want once everywhere.
Forum: Plugins
In reply to: [Gutenberg] The YouTube embed block strips away title attribute from iframeThanks for the report.
So the youtube iframe needs a descriptive title? E.g.,
<iframe src="https://example.com" title="YouTube video player: How to train a cat"></iframe>Which version of WordPress are you using?
On 7.0, I can see a title in the iframe in both the editor and frontend when embedding a YouTube video (via paste and the embed block).
If you can reproduce or have more information, it’d be helpful if you could write up an issue with test steps so folks can reproduce and then try to fix:
https://github.com/WordPress/gutenberg/issues/new/choose
Thanks!
Forum: Fixing WordPress
In reply to: Cannot get dataview to render itemsI ran into a wide variety of React errors
What are the errors?
- This reply was modified 8 months, 1 week ago by ramonopoly.
Forum: Fixing WordPress
In reply to: Menu issueHi! It’s hard to know without knowing how you’ve built your navigation menu. Are you using the navigation block, or a specific theme or something else?
I can see what you’re talking about. It looks like the menu is using the current page, in this case
https://byraits.com/book-an-appointment/, to build menu item links rather than, I guess, the home page.Forum: Everything else WordPress
In reply to: Image display problemI took a look at the link and the images displayed fine for me in desktop and mobile viewport widths.
I throttled my network, and they eventually loaded 🙂
Could this come from the litespeed extension which does not match well with the theme I am using?
Did you try testing with this extension disabled?
Forum: Fixing WordPress
In reply to: wp.blockEditor.transformStyles Failed to transform CSSThis is very curious.
For fun, I created a few tests locally for
transformStylesin its test suite using some of these fluid font sizes, and the results were as expected. That is, no duped properties or semi-colons.It’s hard to know what the other plugins are doing, unless they’re also importing the block editor package and it’s somehow being overwritten on the window object?
Forum: Developing with WordPress
In reply to: PHP in Patterns?Can I create the pattern as a php file in the theme’s patterns directory?
Do you mean a theme that you’re creating (and therefore have full control over)?
If so, then yes, you can create patterns in PHP and place them in the
/patternsdirectory.See: https://developer.wordpress.org/themes/features/block-patterns/#registering-block-patterns
No worries, I hope you find something suitable. 👍🏻
Hi @shavedcat!
Did you have a look at some of the available plugins?
Forum: Everything else WordPress
In reply to: How Do You Change Search Engine Image..?Hi there!
Here’s Google’s take on this subject:
If your site has a favicon, it can be included in Google Search results for your site.
https://developers.google.com/search/docs/appearance/favicon-in-searchSo your WordPress site needs a favicon.
You can set a favicon in WordPress using the Site Logo block:
https://learn.wordpress.org/lesson-plan/how-to-add-and-remove-logo-and-site-icon-in-site-editor/
Alternatively you can use the Customizer to add a logo:
[YOUR_DOMAIN]/wp-admin/customize.phphttps://wordpress.org/documentation/article/customizer/#site-identity
Hope that helps!
Forum: Fixing WordPress
In reply to: Help! Gutenberg Crashed My Website And I Can’t Login To WP To Fix ItHmmm, do you remember if anything changed before the error occurred? E.g., updated a plugin, or added a new one?
The only thing I can think of right now is to try deleting the Gutenberg directory in wp-content/plugins on the server.
If that doesn’t work, then it might be another plugin that causing a conflict.
In that case you could try renaming the plugins directory, to something like
plugins_holdor whatever. Here more information on how to manually reset plugins if you don’t have access to the admin dashboard.If that resolves the issue, reactivate each one individually until you find the cause.
In the worst case, do you or your web host keep regular backups of the site?
- This reply was modified 3 years, 3 months ago by ramonopoly.
Forum: Everything else WordPress
In reply to: Clicking EDIT takes me to wrong page in WordPressSo they don’t have the same page ID, yet when i try to edit the homepage, clicking EDIT under homepage takes me to the logo.
That is strange indeed!
What if you were to type in the URL to the page in your browser, so
<your_domain>/wp-admin/post.php?post=17&action=edit&lang=en&classic-editorCheck if that takes you to the right page.
When I hover over the EDIT link for the logo — in the partner showcase module — it looks like this:
If you’re using a page builder of some sorts, then maybe that’s expected: if you click on the logo it will allow you to edit the logo.
I can’t be sure what’s causing the issue, however if you’re running multiple plugins, it might be worth trying to deactivate a plugin one at a time to see if one is causing it.
To turn off a plugin in WordPress, follow these steps:
- Login to your WordPress dashboard
- Click on “Plugins” on the left-hand menu
- Find the plugin you want to turn off and click “Deactivate” under the plugin name
- Once you click “Deactivate”, the plugin will be turned off
You can reactivate the plugin once you’re done testing.
Forum: Fixing WordPress
In reply to: Help! Gutenberg Crashed My Website And I Can’t Login To WP To Fix ItHi there,
It’s complaining that
get_user_locale()is returningnull. This, I believe, is occurring in the Gutenberg plugin and not in WordPress itself.There are a couple of things you could try.
Check if you’re using the Gutenberg plugin and whether it needs updating. From the dashboard, click on “Plugins” on the left-hand menu.
If the plugin is installed and activated, see if there’s a newer version available. It should say something like “There is a new version of Gutenberg available”.
Otherwise, you could try to temporarily deactivate the Gutenberg plugin.
To turn it off, follow these steps:
- Login to your WordPress dashboard
- Click on “Plugins” on the left-hand menu
- Find the Gutenberg plugin and click “Deactivate” under the plugin name
- This reply was modified 3 years, 3 months ago by ramonopoly.
Forum: Everything else WordPress
In reply to: Clicking EDIT takes me to wrong page in WordPressHi there!
Just to confirm, you’re trying to edit a page from the admin, that is, from
/wp-admin/edit.php?post_type=pageWhat does the edit link on the home look like?
Something like this?
/wp-admin/post.php?post=13&action=editDoes it contain the correct page id?