Is it possible to use Gutenberg on the front-end?
Gutenberg editor is now on frontend. Here is the solution. https://wordpress.org/plugins/frontrom/
Gutenberg editor is now on frontend. Here is the solution. https://wordpress.org/plugins/frontrom/
A solution that works for me is to add a clause to the WordPress query when the media library is being displayed. From browsing my WordPress database I noticed that the full path to wp_posts.post_type=”attachment” is stored in the wp_posts.guid column. add_filter(‘posts_where’, ‘limitMediaLibraryItems_56456’, 10, 2 ); function limitMediaLibraryItems_56456($where, &$wp_query) { global $pagenow, $wpdb; // Do … Read more
It works for the whole network, not for a specific sub site. Basically that mechanism is intended to be used when there is a software upgrade, time in which you don’t want to have visitors on the site that might result in some data corruption (especialy logged in users, but not only).
Following Docker’s philosophy of “one application per container” you should have a database container for each WordPress instance. This way each database is isolated from the others. Should anything happen to one database it will not affect the others. Also, if you want to migrate or take down one website you only need to act … Read more
If you are developing a theme, the proper place to put your code in this case if your theme’s functions.php file. This is the file that is surely going to be run when your website is being accessed. If you are developing a plugin, you can put your code inside a php file (like foo.php) … Read more
OK, check out the theme developer handbook. $wp_customize->add_control( ‘reblog_number_control’, array( ‘label’ => __( ‘Number of Reblogs’, ‘tesseract-child’ ), ‘section’ => ‘tesseract_footer_options’, ‘settings’ => ‘number_of_reblogs’, ‘type’ => ‘text’, ‘priority’ => 10 ) ); Since you are in the child theme ‘title’ => __( ‘Reblog Options’, ‘tesseract’ ), shoudl be ‘title’ => __( ‘Reblog Options’, ‘tesseract-child’ ), … Read more
As a security measure, WordPress includes these index.php files to account for hosts that by default enable directory browsing. Including them makes sure that no one can see the list of files in that directory, which could let them know what plugins or versions you are running and thus give them some things to try … Read more
This is how the email part is displayed by the WP_Comments_List::column_author() method: /* This filter is documented in wp-includes/comment-template.php */ $email = apply_filters( ‘comment_email’, $comment->comment_author_email, $comment ); if ( ! empty( $email ) && ‘@’ !== $email ) { printf( ‘<a href=”https://wordpress.stackexchange.com/questions/258903/%1$s”>%2$s</a><br />’, esc_url( ‘mailto:’ . $email ), esc_html( $email ) ); } so you’re … Read more
You shouldn’t have any trouble … but before doing the upgrade I recommend you do the following: Backup everything Back up your theme Back up all of your plug-ins Back up your existing database This will allow you to “undo” the upgrade if needed. Check theme compatibility If you’re using a commonly available theme, check … Read more
I’ve been doing this successfully with csync and an NDB cluster for years… Re other solutions: rsync works too, albeit slower. (Much, much slower; slow enough to rule out any file-based caching.) InnoDB/MyIsam master/slave works too, with HyperDB. But, you’ll end up with a need to manage other stuff, namely auto-increments on write servers, if … Read more