ProxxiM
Forum Replies Created
-
Forum: Plugins
In reply to: [Button] XSS security issueThanks! Hoping to see an update soon.
Forum: Plugins
In reply to: [Advanced Query Loop] Order by meta keyAh, I see that that’s a (big) problem for this feature request, indeed.
Forum: Plugins
In reply to: [Advanced Query Loop] Order by meta keyOrdering by meta key would be a great addition for this plugin (which is already so awesome).
Forum: Fixing WordPress
In reply to: Error message: Empty template: IndexYou probably moved on to another template, but if someone else reaches this page with the same problem, this is what I did:
– create a file named ‘home.php’ in the parent theme folder (the-core-parent);
– open up the ‘index.php’ file from the parent theme and copy it’s contents;
– paste the content in the ‘home.php’ file and save it.In my case the archive page started working again.
Unfortunately it doesn’t really look like we can expect any updates for this plugin anymore.
Forum: Developing with WordPress
In reply to: theme.json settings for specific blockHi @nao,
thanks for the links, I’ve looked through all theme.json files from the themes in the last link. I’ve seen and learned a lot about what’s possible with the theme.json file!
Unfortunately I haven’t seen a property that’d allow the theme.json file to change the alignment of the block itself. Per example: I would like to be able to configure the default size of an image block and set it to ‘Wide width’ or ‘Full width’. See this screenshot:
https://drive.google.com/open?id=1ER25SGree5C8KnecyJrxKv3cUU9E56f0&authuser=dominique%40noesteijver.nl&usp=drive_fsI see a property
textAlign, but that won’t control the actual width of the block.- This reply was modified 4 years, 9 months ago by ProxxiM.
Forum: Developing with WordPress
In reply to: theme.json settings for specific blockThanks for the link, but I’m still quite unclear on this.
Per example: is it possible to change the default alignment of a specific block, through the theme.json file? I tried several forms of notation, but didn’t see any differences so far.
I’ve opened up a ticket with WPGraphQL for this but I’m not sure on which end the support for GraphQL needs to be added (the plugin or WPGraphQL).
Same problem, one Dutch site that updated to 5.5.3 alpha and installed all WordPress themes and Akismet. Very annoying!
Forum: Plugins
In reply to: [WP API Menus] WordPress 5.5 SupportThe WordPress documentation says the following about this:
As of WordPress 5.5, if a permission_callback is not provided, the REST API will issue a _doing_it_wrong notice.
The REST API route definition for myplugin/v1/author is missing the required permission_callback argument. For REST API routes that are intended to be public, use __return_true as the permission callback.
If your REST API endpoint is public, you can use __return_true as the permission callback.
<?php add_action( 'rest_api_init', function () { register_rest_route( 'myplugin/v1', '/author/(?P<id>\d+)', array( 'methods' => 'GET', 'callback' => 'my_awesome_func', 'permission_callback' => '__return_true', ) ); } );See: https://developer.ww.wp.xz.cn/rest-api/extending-the-rest-api/adding-custom-endpoints/
Forum: Plugins
In reply to: [WP API Menus] WordPress 5.5 SupportJust updated an installation to the final version of WP 5.5 and stumbled upon this notice as well. Would be great if it could be fixed!
Forum: Plugins
In reply to: [Statically] Exclude file typesOK, thanks for clearing that up!
Forum: Plugins
In reply to: [CPT-onomies: Using Custom Post Types as Taxonomies] Missing file in v1.3.9Had several sites that didn’t work anymore, because of CPT-onomies. After uploading ‘fs-essential-functions-2.2.1.php’ the sites started working again.
Thanks for posting the solution, but I’m curious how this can even happen.
I’ve tried out your code and that seem to work great!
Forum: Plugins
In reply to: [Post Thumbnail Editor] wp_get_attachment_image_srcset not workingHi orionrush, I couldn’t get this fixed and am using another way to retrieve the pictures and am putting them in a <picture> element now. So I’m not using the wp_get_attachment_image_srcset function anymore.