- This topic has 3 replies, 2 voices, and was last updated 9 years ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
I don't know exactly off the top of my head, but...
What I would do is find the code for the featured posts widget, duplicate it with a new name (append something like 'no-link' to it), remove the a tags, and then use it instead of the featured posts widget.
Might be easier said than done...
Thank you, have followed this tutorial to create a child, but now I'm looking to make the edit I can't see where the link-to-post is occurring. What sort of thing should I be looking for?
Firstly, make sure you are editing your CHILD function (just double check).
You want to remove the link so look for an a tag.
namely, look for something like:
And just change it to:
In essence, you are removing the
<a href="%s"> and the
</a> part of it.
Try and see what happens.
Hope this helps.
© 2023 WPEngine, Inc.