Tung Du
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Page Ordering] Exclude certain custom post typeHi @atheneit,
You can append the snippet above to your theme’s
functions.php
(at the end of the file). Then replaceexcluded_post_type
by your post type’s id.Hope this help!
Hi @dlovas1, we released 2.3.4 to fix your issue, please update : )
Forum: Plugins
In reply to: [Simple Page Ordering] Just Spins!Hi @multimastery, we released 2.3.4 to fix the issue you’re getting, please update (and if you can, let me know if it works for you) : )
Forum: Plugins
In reply to: [Simple Page Ordering] Just Spins!Hi @multimastery, I’m sorry for your inconvenience! We are working on the new release of the plugin that addresses the issue you mentioned (the fix has been in the testing queue already).
Forum: Plugins
In reply to: [Safe Redirect Manager] Upgrading to 1.9.3 causes /* to match incorrectlyHi @lambchopsil, this is caused by the change introduced in 1.9.3, you can see more details about it here: https://github.com/10up/safe-redirect-manager/pull/182.
To solve your problem, you can try using regex to redirect from
/events/(.*)/
to/upcoming-events/
. Hope this helps!Forum: Plugins
In reply to: [Ads.txt Manager] Existing Ads.txt file foundHi @baloo20,
Look like we have some cache issue here. Which web server are you using? Do you use any caching plugin?
Forum: Plugins
In reply to: [Ads.txt Manager] “Existing Ads.txt file found”The easiest way is contacting your hosting provider to get that info if you’re not familiar with hosting management.
But you can take my second suggestion to check if there is a
ads.txt
file on your root folderYou can check by deactivating Ads.txt Manager and visiting https://simshomekitchen.com/ads.txt. If the link is anything other than not found, it means that you have ads.txt file on your server.
Forum: Plugins
In reply to: [Restricted Site Access] Problem allowing logged in usersHi @crodrigl, for the current code base, you need to exclude admin screens in your filter callback to avoid the strange behavior of the setting page. Put this on top of your callback:
if ( is_admin() ) { return $is_restricted; }
Forum: Plugins
In reply to: [Restricted Site Access] Problem allowing logged in usersHi @crodrigl, how did you use
restricted_site_access_is_restricted
filter, can you give me an example. I’m trying to understand the problem with it but I don’t think I get your idea.I can’t reproduce the issue either:
when logged in as super-admin, plugin settings are not shown correctly (none of the Site Visibility radio buttons is selected, so no other plugin options are shown)
Forum: Plugins
In reply to: [Ads.txt Manager] “Existing Ads.txt file found”Hi @simshomekitchen, can you confirm that there isn’t
ads.txt
file on your public folder (the folder contains the WordPress source code)?You can check by deactivating
Ads.txt Manager
and visiting https://simshomekitchen.com/ads.txt. If the link is anything other than not found, it means that you haveads.txt
file on your server.Forum: Plugins
In reply to: [Safe Redirect Manager] redirect to custom front-end registration pageHi @grigione, it’s not possible to redirect
wp-login.php
request with Simple Page Ordering. The plugin hooks to an action that’s only available during the main requests.Forum: Plugins
In reply to: [Simple Page Ordering] Exclude certain custom post typeHi @dzulfriday,
You can use this code to exclude specific post types
add_filter( 'simple_page_ordering_is_sortable', function( $sortable, $post_type ) { if( 'excluded_post_type' === $post_type ) { return false; } return $sortable; }, 10, 2 );
Forum: Plugins
In reply to: [Restricted Site Access] Make exception for password recovery linkHi @medard22,
You can try
var_dump
the$wp
object (inside the filter callback) to see its value when you load the password recovery link, from there you’ll know which properties to use to catch that link :).Hope this help!
Forum: Plugins
In reply to: [Ads.txt Manager] Access to custom user roleHi @kujain,
Thanks for the report, this issue will be fixed in our next release. And when it’s out, you can set up your custom role like this:
$role = get_role( 'ad_campaign_manager' ); $role->add_cap( ADS_TXT_MANAGE_CAPABILITY ); $role->add_cap( 'read' );
FYI, here is the fix to your issue: https://github.com/10up/ads-txt/pull/51
@n8dnx I couldn’t reproduce your issue. What is the version of jQuery UI Dialog you’re using? Can you give me a sample code you use to create a dialog (that has the issue with RSA)?
FYI, I reviewed the line you gave me and the Dialog API docs, the
ui-button
class will be always added to.ui-dialog-titlebar-close
button, although that line does nothing, it won’t break anything.