Michael James
Forum Replies Created
-
All my websites are also affected. Just removed the plugin with ftp access. Hope there is a fix being worked on. But the question remains whether the plugin has been sufficiently tested in version 4.0?
Forum: Plugins
In reply to: [Redirection] Change RED_MAX_PER_PAGE and RED_DEFAULT_PER_PAGE in optionsWe have large pages, with 50.000 404-logs and more from many crawlers, and bulkediting is much easier with selecting more entries like only 200. And WordPress can handle it very well (I just changed the constants to check it at some pages). Our authors are also faster in scrolling then in clicking.
It doesn’t have to be an option, but a filter for this would be great.Hey, with some css you can fix this, put the following somewhere in your style.css:
@media (max-width:500px) { .wp-block-embed { margin-left: 0; margin-right: 0; } .fb_iframe_widget_fluid span { max-width: 100%; } }Forum: Fixing WordPress
In reply to: How to use custom form fronted with file upload image ajaxHey,
try the following tutorial, works fine:
https://www.ibenic.com/wordpress-file-upload-with-ajax/Forum: Fixing WordPress
In reply to: Loading issueHey,
try to login (http://leelewisphotography.com/wp-login.php)
Then go to Settings -> General and check the Site Address (URL) and WordPress Address (URL) => Should be “http://leelewisphotography.com”
Then go to Settings -> Permalinks and click “Save changes” (This updates the permalink settings).Forum: Fixing WordPress
In reply to: Set number of revisions using a simple pluginExactly, it’s 5.
It’s the callback to be run when the filter is applied, the priority and the number of arguments the function accepts.
More infos here: https://developer.wordpress.org/reference/functions/add_filter/
Forum: Fixing WordPress
In reply to: Looking for a plugin…Hey,
you could try the plugin Image Hotspot by DevVN:
https://de.wordpress.org/plugins/devvn-image-hotspot/Forum: Fixing WordPress
In reply to: Set number of revisions using a simple pluginHey,
you can use this plugin: https://wordpress.org/plugins/wp-revisions-limit/Or write you own with this function:
add_filter( 'wp_revisions_to_keep', 'control_revisions', 10, 2 ); function control_revisions($num, $post) { $num = 5; return $num; }Forum: Installing WordPress
In reply to: Do I need FTP Client? First stepsHey,
if you use a one-click solution you don’t need a FTP client, but eventually to fix bugs, it’s recomended to have one.And you shouldn’t and can’t manage images in the media folders (on FTP). Because WordPress handles the uploaded media files, create entries in database and create the right sizes for your theme.
If you upload images via FTP, you can’t use them in your WordPress theme.Hey,
if you want to optimize the images, you have to import them or use a third-party service like https://kraken.io/plugins.
But I don’t think the images are you biggest problem concerning the performance, because they are lazy loaded.
You could try:- Don’t use Revolution Slider (Self-coded is much faster)
- Fix Errors (See in the console) -> jquery.themepunch.tools.min.js:103 GET https://clinicotst.miramar.com.ua/wp-content/ net::ERR_NAME_NOT_RESOLVED (Don’t use RevSlider)
- Reduce your DOM (HTML) and requests (JS, CSS) (Don’t use RevSlider)
However if you want to use RevSlider, you could try a plugin like Autoptimize to reduce the requests.
Forum: Fixing WordPress
In reply to: display postsHey,
yes, you can do this easily with a WP Query, just create a page template and paste the following code:
Just replace ‘category_slug’ with the desired category slug.<?php // Custom WP query $args_query = array( 'post_type' => array('post'), 'posts_per_page' => -1, 'order' => 'ASC', 'orderby' => 'title', 'tax_query' => array( array( 'taxonomy' => 'category_slug', 'field' => 'slug', ), ), ); $query = new WP_Query( $args_query ); if ( $query->have_posts() ) { echo '<table>'; while ( $query->have_posts() ) { $query->the_post(); echo '<tr>'; echo '<td>'; echo '<a href="'.get_the_permalink().'">'.get_the_title().'</a>'; echo '</td>'; echo '</tr>'; } echo '</table>'; } else { echo 'No posts found.'; } wp_reset_postdata(); ?>Forum: Developing with WordPress
In reply to: Function To Run on New User Sign UpHey achanne,
just use this action hook, tested it, works well.
“testmeta” is the meta key. “Value to save” is the value you want to save. 😉add_action( 'user_register', 'myplugin_registration_save', 10, 1 ); function myplugin_registration_save( $user_id ) { update_user_meta($user_id, 'testmeta', 'Value to save'); }