Jaime Pérez Dans
Forum Replies Created
-
Elementor 3.5.6 has a security issue so upgrade is mandatory. ??
Forum: Fixing WordPress
In reply to: Translating page number URLHello,
As i said, code is working properly. You can have a look at the test WordPress i created:
https://testpaging.us4.instawp.xyz/wp-admin/
User: testpaging
Pass: oIIYcKijMaybe there is an issue with an installed plugin o with your browser cache. Try to deactivate your plugins and check again.
Forum: Fixing WordPress
In reply to: Translating page number URLHi:
I created this test WP
https://testpaging.us4.instawp.xyz/category/gutenberg/I installed Code Snippets with the given code and created four posts. As you can see, pagination is working as needed (https://testpaging.us4.instawp.xyz/category/gutenberg/stran/2/)
Try again with this minor change in your code. Test it from a private browser:
function re_rewrite_rules() { global $wp_rewrite; $wp_rewrite->author_base = 'avtor'; $wp_rewrite->search_base = 'iskanje'; $wp_rewrite->comments_base = 'komentarji'; $wp_rewrite->pagination_base = 'stran'; if ( ! get_option('my_re_rewrite_rules_flushed', false) ) { $wp_rewrite->flush_rules(); update_option( 'my_re_rewrite_rules_flushed', time()); } } add_action('init', 're_rewrite_rules');
Forum: Fixing WordPress
In reply to: Translating page number URLPlease, active code again and the go to settings / permalinks and save without changing anything
I think thats the problem
Forum: Fixing WordPress
In reply to: Translating page number URLHi,
I tried this code and it’s working:
function re_rewrite_rules() { global $wp_rewrite; // $wp_rewrite->author_base = $author_slug; // print_r($wp_rewrite); $wp_rewrite->author_base = 'avtor'; $wp_rewrite->search_base = 'iskanje'; $wp_rewrite->comments_base = 'komentarji'; $wp_rewrite->pagination_base = 'stran'; if ( ! get_option('my_change_rewrite_base_flushed', false) ) { $wp_rewrite->flush_rules(); update_option( 'my_change_rewrite_base_flushed', time()); } } add_action('init', 're_rewrite_rules');
Put it on your functions.php or with code snippets plugin but not with both or you will get “Cannot redeclare function my_change_rewrite_base” error
Forum: Fixing WordPress
In reply to: Translating page number URLI think this may help you:
https://wordpress.stackexchange.com/questions/57070/change-the-page-slug-in-paginationIt seem than this piece of code could help
function my_change_rewrite_base() { global $wp_rewrite; $bases = array( 'author' => __('Author'), 'search' => __('Search'), 'comments' => __('Comments)', 'pagination' => __('Page') ); foreach ($bases AS $key => $base) { $wp_rewrite->{$key} = remove_accents(mb_strtolower($base)); } if ( ! get_option('my_change_rewrite_base_flushed', false) ) { flush_rewrite_rules(); update_option( 'my_change_rewrite_base_flushed', time()); } } add_action('init', 'my_change_rewrite_base');
Forum: Fixing WordPress
In reply to: Login TroubleI meant that maybe your server (the one that is hosting your website) has mailing disabled. You can recieve mails from other people but your website can′t send emails, so it can′t send you your change password link.
Ask your hosting provider.
Forum: Fixing WordPress
In reply to: add auto update featureI think this article may help:
https://desarrollowp.com/blog/tutoriales/como-actualizar-un-plugin-de-wordpress-desde-un-repositorio-privado-de-github/Forum: Fixing WordPress
In reply to: Anything you type in link replacing category, it worksHello,
Please, try to:
– Resave settings permalinks (without changes) and check
– Disable yoast seo and checkForum: Fixing WordPress
In reply to: Login TroubleHi,
Maybe your server has mail function disabled. Ask your hosting provider to check if this is the problem and ask them to enable it.
Forum: Plugins
In reply to: [ACF OpenStreetMap Field] Adding a custom geojson layerFinally i managed to acomplish this way:
jQuery(document).on(‘acf-osm-map-init’,function(e){
var map = e.detail.map;L.geoJSON(geojsondata, {
style: function (feature) {
return {
“color”: feature.properties.color,
“opacity”: 1,
“weight”: 2,
“fillColor”: feature.properties.color,
“fillOpacity”: 0.2
};
}
}).bindPopup(function (layer) {
return layer.feature.properties.name;
}).addTo(map);
});I am having same problem with my email backups and mailpoet. I have tried both default wordpress sending method and SMTP. Never send an email ??
Forum: Plugins
In reply to: [Event post] Event Widget show duplicate informationWorkaround applied. Thanks, Alraune
Forum: Plugins
In reply to: [Event post] Error after 3.6.1 updateSame problem ??