Community Forums › Forums › Archived Forums › Design Tips and Tricks › disable name link when using lightbox
- This topic has 6 replies, 3 voices, and was last updated 11 years, 11 months ago by
David Chu.
-
AuthorPosts
-
June 19, 2014 at 9:51 am #110576
design_agency
Memberhi all–
i've successfully implemented this tutorial using a lightbox for a staff page. great! but now im hoping to remove the link attached to each name that leads to the individual staff post page. the content in the lightbox is more than sufficient and i dont want people going deeper into the site and to a whole new page.
does anyone know how i can disable that link?
many thanks,
http://mariposa.design-agency.org/staff/
emilyJune 19, 2014 at 11:44 am #110585JanHoek
ParticipantI don't see any "staff" links
Hi, my name is Jan Hoek. Sure, they all say I have a big head, but I like to think it’s way too small for all my ideas.
June 19, 2014 at 12:17 pm #110593David Chu
ParticipantHi,
An interesting brainteaser! I have something for you to try. This line should help with that. See this code to get the full context of where this will go in Sridhar's code. The IF statement is needed, or else you'll be un-linking all Post types, not just Sridhar's ones.add_filter( 'genesis_link_post_title', '__return_false' );Cheers, Dave
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
June 19, 2014 at 1:51 pm #110619design_agency
Memberhi david, thanks so much for your suggestion! i've implemented the code and if you take a quick look, you'll see that it's working on all the posts except for the first one. any idea why that is?
June 19, 2014 at 6:08 pm #110687David Chu
ParticipantYou're welcome!
Gee, they all work great on that page for me. Maybe a nice cache refresh? 🙂Dave
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
June 23, 2014 at 9:08 am #111160design_agency
Memberwell that is odd! so you're saying that when you hover on the name "ned fudd" you dont see a link? all the other names have no links, but that one, even after a cache refresh, is still a live link. i've also looked on my phone and ipod with the same results. i thought i'd wait a couple days just to be sure, but sure enough, that first name is still a link!
any suggestions for how to make that first name behave like the others?
again, thanks for your help with this!
emilyJune 23, 2014 at 9:24 am #111164David Chu
ParticipantHi,
Yes, the first (and all) of them are working for me, so sorry, no suggestions. The only one that comes to mind is this: if you're strictly an Apple and Safari user, never underestimate the stubbornness of its cache, which often won't clear with normal means.Sometimes it takes WMD to clean that thing's cache. I run into clients with that frequently. My designer friend who is 100% Mac uses either Chrome or Firefox and gets better performance.
Good luck!
Dave
Dave Chu · Custom WordPress Developer – likes collaborating with Designers
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.