Simone Montanari
Forum Replies Created
-
Thank you Scott!
Simone
Forum: Fixing WordPress
In reply to: PNG images don’t appear in postsHi Snehal, hi Samuel,
thanks for your answers. I t seems it was a problem with a image optimization plugin that was changing the file name to all lowercase.
That’s why at first I was seeing the file on the server.
Thanks,
Simone
- This reply was modified 6 years, 1 month ago by Simone Montanari.
Forum: Developing with WordPress
In reply to: Custom User Role doesn’t appear in dropdown list of AuthorHi Joy, hi bcworks,
thanks for your help! I meant that the users with my custom role don’t appear in the dropdown menu of the Author field of Articles (see screenshot below):
https://pasteboard.co/HURQmep.png
No, it’s not a must use plugin and I triend flushing the cache. The issue is still there.
How I add the capability you mention at my admins? I also check the tickets regarding similar issued to mine but non of them seem fixed.
Thanks for any follows up,
Simone
Apparantly saving the permalinks pages several times wasn’t enough.
I used
flush_rewrite_rules()
and did the trick.Thanks again for your support!
Simone
Hi Dennis,
thank you again! I suspected the same and already tried that solution (it’s the one live now). That’s so weird, I usually don’t have such problem. I’m probably missing something really simple.
Is there a way to reset the options of the plugin, and start clean without loosing the linking between pages?
Thanks a lot,
Simone
Hi there,
thanks for your reply! So I tried the
msls_options_get_permalink
filter.I tried pasting it in my theme functions.php file, but it breaks the website ( I get a white screen in the dashboard).
Then I copy/paste it in my CPT plugin, but it only works from English to Italian:
function my_msls_options_get_permalink( $url, $language ) { if ( 'it_IT' == $language ) { $url = str_replace( '/product/', '/prodotto/', $url ); } return $url; } add_filter( 'msls_options_get_permalink', 'my_msls_options_get_permalink', 10, 2 );
I even tried this with no better result:
function my_msls_options_get_permalink( $url, $language ) { if ( 'it_IT' == $language ) { $url = str_replace( '/product/', '/prodotto/', $url ); } elseif ( 'en_US' == $language ) { $url = str_replace( '/prodotto/', '/product/', $url ); } return $url; } add_filter( 'msls_options_get_permalink', 'my_msls_options_get_permalink', 10, 2 );
In the MSLS italian setting I now noticed a Rewrite rule: https://imgur.com/a/yiyRTBw
I’m pretty sure Prodotti slug was product before.
Any suggestion on what could interfere?
Thanks again!
Simone
Forum: Plugins
In reply to: [Contact Form 7] Conflict with double acceptance fieldHi barnez,
thanks for the answer, could you show me your page live, so I can figure out the differences?
I use the same method.
Thanks a lot,
Simone
Forum: Plugins
In reply to: [WPS Hide Login] Once logged in I can’t access dashboard directly WPMUI can set up a temporary admin, how do I send it to you?
Simone
Forum: Plugins
In reply to: [WPS Hide Login] Once logged in I can’t access dashboard directly WPMUHi there,
yes I am a SuperAdmin and have access to all sites of the network.
Simone
Forum: Plugins
In reply to: [Contact Form 7] Redirect to URL doesn’t workThanks Takayuki,
that solved it for me.
Forum: Plugins
In reply to: [Brilliant Web-to-Lead for Salesforce] Hidden fieldsSilly me, thanks!!
Thanks ??
- This reply was modified 7 years, 4 months ago by Simone Montanari.
Hi Peter,
that’s perfect! Thanks a lot!
Cheers,
Simone
Forum: Networking WordPress
In reply to: Multisite broken website after WordPress updateThe problem was due to changes in the configuration of the server made by the Hosting. Yuk.
Forum: Networking WordPress
In reply to: Multisite broken website after WordPress update@jkhongusc this is the .htaccess in my WP console (I tried to put this in my .htacces but it still doesn’t work)
RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # add a trailing slash to /wp-admin RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L] RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L] RewriteRule . index.php [L]