I am trying to get a custom feild added as a search paramter url.
my post metadata for this example is ‘public_paywall’ and want to register as it as a query var “access”
This is the code I have tried to no avail:
I have posts with the value ‘paywall’ for the key ‘public_paywall’but my search urls dont work:
what am I doing wrong? I have been searching other examples and not getting anywhere