Timeline for Check if user is logged in when clicking certain links on certain pages
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 5, 2016 at 22:18 | comment | added | Tim Malone | That would probably be a separate question :) Best to ask that one on StackOverflow because it's not specifically WP related. Do a search on StackOverflow first because it's probably been answered before. | |
May 5, 2016 at 21:59 | comment | added | figureout25 | If you could show me how to apply search engine detection to the code in my answer below it would be very helpful. | |
May 5, 2016 at 21:50 | comment | added | figureout25 | Thanks for pointing that out. How would I go about detecting search engines? | |
May 5, 2016 at 21:44 | comment | added | Tim Malone | Yes indeed you could. You might also want to detect for search engines, though, so that they get the proper links. | |
May 5, 2016 at 19:56 | comment | added | figureout25 | Thanks. So using this could I add some code in the archive template file which replaces the links to each post with a link to the login page if the user isn't logged in? | |
May 5, 2016 at 18:39 | history | answered | LPH | CC BY-SA 3.0 |