-
AuthorPosts
-
June 9, 2020 at 5:56 am #1220729
I know that several people have posted about removing the link from the featured image and that there’s a CSS solution. Unfortuantely, that won’t work for me. My industry is heavily regulated and adding
pointer-events: none
doesn’t remove the accessibility issue.I’m not familiar with WP development, but I am a dev so am comfortable with a more complex solution.
June 9, 2020 at 8:47 am #1220758the link from the featured post image on blog view or on single post – or both
here is a very similar post – and my solution to remove only on single post the link ( which is in my opinion too not needed ) :
https://kriesi.at/support/topic/remove-permanent-link-from-the-post-h1-title/
i guess the loop-index.php is the first port of callJune 9, 2020 at 10:09 am #1220806yes loop-index.php is to edit. But i guess you would need to have a whole child-theme file for that. It is not as simple as on the title link.
there are a lot of styling possibilities on the blog post ( elegant, business, modern-business ) and blog-layouts and image dimension options – so no way to do it only with one function.
there are sometimes links on an icon : line253 with class: post-author-format-type this link should also be canceled?
this is so far my effort – but without removing that link above.
See here: https://pastebin.com/nbD71qZi
Download here: LinkThis icon is not allways present – but on modern-business it is.
And on blog-view there is the author link. : https://webers-testseite.de/pureinstall/category/allgemein/Child-theme loop-index.php : download the above and create the same folder tree structure as in parent theme
means: create an includes folder in child-theme and put the loop-index.php into it.Try – and tell me if it works for you.
June 10, 2020 at 6:17 am #1221048Hi,
Thanks for helping out @guenni007, did you try that out and did you have any luck with it @dfpg?
Best regards,
RikardJune 11, 2020 at 2:44 am #1221483@rikard @guenni007 Thanks so much! Yeah, that looks like it’ll work. I’ll post a link once it’s done.
June 16, 2020 at 2:54 pm #1223050 -
AuthorPosts
- You must be logged in to reply to this topic.