Featured Boxes – Remove link

  • Author
  • #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.



    Never mind. Found where the links were. If anybody’s interested, /includes/landing-page.php lines 247-257.
    I just commented out the link elements.



    Well, 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.



    Well, 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 🙂



    Copy 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, please rate them on WordPress.org.
Viewing 5 posts - 1 through 5 (of 5 total)

You need to log in to reply to this topic.