Community Forums › Forums › Archived Forums › Design Tips and Tricks › disable link on title in featured page widget
Tagged: featured page
- This topic has 6 replies, 3 voices, and was last updated 9 years ago by
glenkg.
-
AuthorPosts
-
July 13, 2017 at 5:24 am #209054
glenkg
ParticipantHi,
Does someone know how I can disable the link on the featured page widget title?
Thank you in advance.
Greetz,
Kevin
July 13, 2017 at 5:34 am #209055Victor Font
ModeratorThere are filters you can hook into to change the output prior to displaying the title. You can use genesis_markup_entry-title or genesis_markup_entry-title_output. You would have to strip the link from the title and return just the text in your callback function. You would also have to wrap the code in a conditional so it only executes when the featured page widget is in use.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?July 13, 2017 at 5:39 am #209056glenkg
ParticipantHello Victor,
Thank you for your answer. It sounds complex. How should I go about this?
July 13, 2017 at 5:50 am #209058Victor Font
ModeratorWriting the code or walking you through how to write code at that level would take a few hours of my time. It's beyond the scope of the help I can provide as a community volunteer. If you're in a hurray, I suggest you either hire a developer. If you have the time, perhaps you can find some tutorials to learn about WordPress hooks (actions and filters). As an alternative, you could search the WordPress repository for a widget that allows you disable the title link.
I think you're going to find that whenever you have a requirement that is beyond the scope of how a system or tool is designed, you'll either have to write the code yourself or hire a developer that's knowledgeable with the Genesis Framework. There are so many WordPress hooks in Genesis, that you can change almost anything if you know how. Maybe someone else reading this thread can write the code for you or provide you with a snippet that you can edit and make your own. I'd love to do it for you, but I don't have the time it will take as a volunteer. My paying customers come first.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?July 13, 2017 at 6:03 am #209059glenkg
ParticipantHello Victor,
I understand you completely. Especially when it is a couple of hours of work. I will have a look if I can figure it out myself, I do have time. If there is someone else willing to help, always welcome off course. 🙂
I do want to thank you for your swift answer and wish you a good day Victor.
July 13, 2017 at 5:03 pm #209080Brad Dalton
ParticipantHere's the code i spent over an hour working out for paying members of wpsites.net. The code is tested and guaranteed to work.
July 24, 2017 at 6:07 am #209521glenkg
ParticipantHi Brad,
Thank you for this option. For now I was able to figure it out with a plugin (Genesis Featured Page Advanced) that gives this as an option, so this threat is solved.
Have a nice day.
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.