Mark Jaquith
Forum Replies Created
-
Forum: Plugins
In reply to: [Page Links To] Post ExcerptsIt really depends on how your theme works! Glad you found a solution.
Forum: Plugins
In reply to: [Page Links To] Issue with your new-tab.min.js fileOpened an issue for the minification problem:
Forum: Plugins
In reply to: [Page Links To] Issue with your new-tab.min.js file1. You’re right — that file is meant to be minimized, but it isn’t. I’ll look into that.
2. The strange comment is a source map. This maps the contents of this file back to the contents of the original file that was used to generate it. Why was a different file used to generate it? Well, ideally #1 gets fixed and it’s minimized, so this enables better debugging. But also, I use modern JavaScript techniques that not all browsers yet support, so there is a build process which “compiles” the JavaScript down to JavaScript that older browsers can understand. This source mapping also helps correspond the original lines to the generated lines.Forum: Plugins
In reply to: [Page Links To] Link does nothing.They work for me! Did you get it sorted?
Hi!
This SQL query will tell you if you are using the plugin on any of your posts or pages:
SELECT * FROM wp_postmeta WHERE meta_key = "_links_to"You can run that in PHPMyAdmin or similar.
If you get any results, then each
post_idis the ID of the post/page that is using the plugin.- This reply was modified 7 years, 1 month ago by Mark Jaquith.
- This reply was modified 7 years, 1 month ago by Mark Jaquith.
Thanks for this report! I’ve added a ticket for this issue in GitHub.
Forum: Plugins
In reply to: [Page Links To] Is this like using an overlay?No, it works in two ways: Any time the “page” or post is displayed in your theme, it will to the URL you have specified. And if you send someone to the original URL (what the URL would be if Page Links To were <b>not</b> used), they will get a 302 redirect to the URL you have specified.
iframes and overlays are not used.
Forum: Plugins
In reply to: [Page Links To] Compatibility check with wordpress Version 5.1.1Version 3.1.0 was just released, and is compatible with WordPress 5.2, and PHP 7.3.
Forum: Plugins
In reply to: [Page Links To] Lighting bolt iconThis site has been suspended, so I can’t see what’s going on there.
Forum: Plugins
In reply to: [Page Links To] Link Woocommerce Categories?Not currently, but I’m working on an add-on to Page Links To that includes some of these more advanced features (people were adamant that they didn’t want the main plugin to get too complicated).
Forum: Plugins
In reply to: [Page Links To] Locked out of websiteI really doubt this is related to this plugin.
Forum: Plugins
In reply to: [Page Links To] Remove redirectionSome browsers cache redirects for a long time. Also, if you’re running a caching proxy like Cloudflare or like the ones used by many WordPress hosts, the redirect could have been cached at this level. This usually resolves itself eventually.
Fixed here. Will be in the next release. Thanks!
These scripts need to be inserted on every admin page, but you are right that they are not being inserted in the best way. I’ll move these enqueue calls up into admin_enqueue_scripts hook.
Forum: Plugins
In reply to: [Page Links To] Link opens in new tab not working: #new_tab behind url.Can you each show me a page where this is happening? Give me the URL where the link appears, and tell me which link you’ve set to open in a new tab.
The issue is tricky, because I do not have the ability to add a target attribute to all instance where a link is output. So this #new_tab method is a way for JavaScript code to look for links that should be opened in a new tab and make that happen. But as you’ve discovered, running JavaScript reliably can be difficult.