-
AuthorPosts
-
December 3rd, 2017 at 18:07 #56882
I’m using the top featured boxes, and do not want them to link to the individual post pages. I understand that’s probably not in the built-in options. I was hoping somebody could help me with a function or filter that could disable them. I will be using a child theme, but all I’ve been able to accomplish so far is completely removing the title. I don’t want that, I just don’t want the title to be clickable.
December 3rd, 2017 at 19:58 #56902Never mind. Found where the links were. If anybody’s interested, /includes/landing-page.php lines 247-257.
I just commented out the link elements.December 4th, 2017 at 22:24 #56932Well, that worked when I modified the theme file. When I created a child theme and added my modified landing-page.php to it, it is no longer working. For some reason it is not seeing the file in the child theme? I made an includes folder and put it in there. Not sure if I’m missing something. Any help would be appreciated.
December 6th, 2017 at 21:41 #56977Well, hopefully Zed doesn’t mind that I keep answering my own questions!
By reading this, https://www.cryoutcreations.eu/forums/t/pages-on-fluida_lpboxes, I learned that the functions on landing page are pluggable. I know, not the same theme, but presumably they are coded similarly.
I did not know anything about pluggable functions so did some googling. From what I am understanding, pluggable functions can be redefined in a child theme’s functions.php file.
I haven’t had the chance to play around with this new knowledge yet, but I feel pretty confident that it’s why I was having problems. If not, I’ll probably be back to ask another question only to answer it for myself a day or two later 🙂December 10th, 2017 at 19:54 #57109ZedCryout Creations mastermindCopy just the customized code (functions) to your child theme, not the entire landing-page.php file (as this isn’t as standard file and isn’t picked up automatically by WordPress).
If you like our creations, help us share by rating them on WordPress.org.
Please check the available documentation and search the forums before starting a topic.April 8th, 2018 at 16:55 #62087A little late on the reply, but thank you for clarifying. Makes sense to me now.
-
AuthorPosts
The topic ‘Featured Boxes – Remove link’ is closed to new replies.