Tung Du
Forum Replies Created
-
Forum: Plugins
In reply to: [Ads.txt Manager] Media.net unoptimisable@chrismenning1990 Can you post your domain here so we can check your ads.txt file?
Forum: Plugins
In reply to: [Simple Local Avatars] How to Hide the Rating RowHi @mossifer, I made a PR for this issue on our Github repo: https://github.com/10up/simple-local-avatars/pull/54. Please follow the status of the PR instead!
Forum: Plugins
In reply to: [Safe Redirect Manager] programmatically create a redirect@ramnathk Yes, you can use
srm_create_redirect
to create redirects. That function is used internally in CLI commands.Forum: Plugins
In reply to: [Simple Local Avatars] $args supportHi @nicoter, currently we have other plugins in the review queue so I don’t have any ETA for you right now, but you can help us speed up the progress by testing the PR #40. Your contributions are much appreciated!
You can download the source code for that PR here: https://github.com/10up/simple-local-avatars/tree/fix/39
Forum: Plugins
In reply to: [Restricted Site Access] Exlude Activation Page (wp-activate.php)Hi @miwebdesigns,
I can confirm the issue and we already have a Pull Request in the review queue to fix this issue: https://github.com/10up/restricted-site-access/pull/116.
Meanwhile, you can use the following snippet, place it in your theme functions.php or a custom plugin:
add_filter( 'restricted_site_access_is_restricted', function( $is_restricted, $wp ) { if ( 'wp-activate.php' === $wp->request ) { return false; } return $is_restricted; }, 10, 2 );
Forum: Plugins
In reply to: [Simple Local Avatars] Local avatar in AMP versionHi @ismail-elfa, you can try overriding
ampforwp_get_comments_gravatar
function to display the local avatar. Currently, SLA doesn’t have API to get the avatar URL, but there is an opening PR on our GitHub repo to add that functionality, you can take it as the inspiration: https://github.com/10up/simple-local-avatars/pull/40/files#diff-8a365e46b40b96d3ced40af92233550eR86-R159Forum: Plugins
In reply to: [Simple Page Ordering] Only works when “Personnaliser” is openHi @aglae, What is the query you’re using to query your custom post on the homepage? Can you please try set
orderby
tomenuorder
in that query?See more about order and orderby: https://developer.www.ads-software.com/reference/classes/wp_query/#order-orderby-parameters
Forum: Plugins
In reply to: [Simple Local Avatars] Still doesn’t work with Elementor Pro@paulnl can you give me some steps to reproduce your issue. I tested the theme builder for Single with the post comments widget, and the local avatar displays correctly.
Forum: Plugins
In reply to: [Simple Local Avatars] Simple local Avatars custom classHi @inempleo, can you tell me about your use case and why do you want to remove height and width? The default WP avatar comes with width and height as well.
Also, SLA doesn’t ship with any CSS, so classes should have no effect. Anyway, you can use
get_simple_avatar
filter to change the HTML output of the avatarSee: https://github.com/10up/simple-local-avatars/blob/develop/simple-local-avatars.php#L143
@somatic Please clear your WordPress cache (of caching plugins) and your browser cache to fix the infinite spin issue.
Forum: Plugins
In reply to: [Safe Redirect Manager] Adding parameters to redirect (eg utm)@ragrant0 It’s expected because when you select categories from the sidebar, the URL is changed by JS, it’s not an actual request, so no redirect occurs. Safe Redirect Manager only works when WP parse requests.
Forum: Plugins
In reply to: [Safe Redirect Manager] Adding parameters to redirect (eg utm)Forum: Plugins
In reply to: [Simple Local Avatars] Settings for upload privilegesHi @ozviewer How do you want your reviewers to set their avatar? If it’s providing an URL to their images, Simple Local Avatar doesn’t have that feature.
Forum: Plugins
In reply to: [Safe Redirect Manager] Adding parameters to redirect (eg utm)@taylorgorman For your case, you can use a wildcard to achieve the same result as using regex, for example:
Redirect from:
/test/*
Redirect to:/blog/*
Visiting
/test?utm_medium=test
will result in a 404 error because it isn’t matched with your redirect, adding a wildcard will help it match.Your issue is not the same as the OP issue. As I understand, the OP issue is visiting
https://example.com/SWagm/
, it should redirect tohttps://example.com/contractors-agm?utm_source=SW-AGM-2020&utm_medium=Flyer
, but it redirects tohttps://example.com/contractors-agm/
instead. Currently, I can’t reproduce the problem on my test environment.I’m glad to see you resolve your original issue. Simple Page Ordering works flawlessly with cache plugins. Your issue may be caused by a bug in 2.3.3 which we fixed in 2.3.4, and your site may load the cached version, not the new JS file.
For your second issue, I get your idea and we’ll do some testing to reproduce the issue. I created an issue on Github – our main development channel to track your issue, you can follow up on the progress there: https://github.com/10up/simple-page-ordering/issues/61