cennadron
Forum Replies Created
-
Hello, I forgot to say that I use only the classic editor, not the block one. I use the official classic editor plugin to have it permanently enabled. Also, I forgot to mention that this pertains to the mobile version the WP dashboard, but it is possible that it shows the same for the desktop version as well.
Please see these two screenshots.
https://www.g510keyboard.net/wp-content/misc/editor/new-jetpack-font.jpg
https://www.g510keyboard.net/wp-content/misc/editor/normal-font.jpg
The first screenshot shows this new editor font that became default after I updated Jetpack around Sep 20th. The second screenshot shows the old default editor font which can now be obtained omly if I deactivate Jetpack.
I have not updated my theme in many years, and it is bot able to auto update itself.
I installed the Code Snippets plugin and I entered the code that you provided here as a new snippet. I ticked the box where it says “Run snippet everywhere”. I cleaned the cache of my Total Cache plugin.
Then I went to the Pretty Links dashboard and tried to edit one of the problematic links by copy/pasting the correct linking code (with the square brackets). Unfortunately, when I press the “Update” button and later check that entry, it still displays the changed version of the linking code (square brackets are changed into %5B and %5D).
However, I tried testing these problematic linking codes on sites such as this one:
https://redirectdetective.com/
and when I test the link for e.g.: https://www.roughstraightmen.com/recommends/thecastingroom I see that the redirection occurs to the code that does contain the square brackets, but is still changed in other ways. Please take a look at this:
the correct linking code should be like this:
https://join.thecastingroom.net/signup/signup.php?nats=<?=$_REQUEST[‘nats’]?$_REQUEST[‘nats’]:’MjY4LjMuMTcuMTcuMC4wLjAuMC4w?>&step=2
this is what I see in Pretty Links dashboard after I enter the correct linking code, press Update and later check that entry:
This is what redirectdetective says where the visitor is redirected:
This is the part that differs from the original code compared to the one reported by redirectdetective:
?nats=<?=$_REQUEST[‘nats’]?$_REQUEST[‘nats’]:
is changed to:
?nats=?=_REQUEST[nats]?_REQUEST[nats]:
In my opinion, this doesn’t look good either. It’s not the original linking code. Is there anything else I can do to make it work as intended? Maybe a different code snippet might help?
Thanks in advance.
- This reply was modified 4 years, 8 months ago by cennadron.
Forum: Plugins
In reply to: [Yoast SEO] Yoast inserts too many items in the post listThanks, that did the trick.
Hi,
I hope you haven’t forgotten about my question. ??
I’m still waiting for that regular JS expression. It’s fine if it can encompass only the first 2 formats of the pretty links.
Hello,
Thanks for your reply.
Please keep in mind that the domain in question is NSFW (contains adult material).
As I wrote in the original post, these are the 3 formats of the shortened links that I’d like to open in a new tab when the visitor clicks them:
1) https://www.roughstraightmen.com/recommends/nameofthesponsor
2) https://www.roughstraightmen.com/promovideos/nameofthesponsor
3) https://www.roughstraightmen.com/nameofthesponsorI can’t write now all the possible combinations with all the sponsors due to space constraints, and I don’t think that’s needed anyway.
If possible, please write the regular JS expression that would encompass all three variants of the pretty links. Even if the about-us page opens in the new tab as a result of this, I don’t care. Of course, other pages such as /wp-content/uploads/ etc. shouldn’t be affected.
If the regular JS expression that would encompass all 3 variants is not possible to write, then please try to include the first 2 variants. I could then ask my hosting to retroactively change all the shortened links of the 3rd variant into the variant 1 or 2 by making find/replace changes in the database.
Actually, it would be best to know both combinations: A): the regular JS expressions for 1st + 2nd + 3rd variants AND B): regular JS expression for only 1st + 2nd variants.
Thanks in advance!