Tagged: Post Format
-
AuthorPosts
-
June 6, 2015 at 10:43 am #455430
Hi there
When using a post as a link post format,
the link on the Featured Image is broken.I made a post, with a link post format chosen, that links to:
http://www.efgad.co.il
but the featured image links to the title of the post (non-latin characters) and in an odd way:
http://afikim.wpengine.com/index/%3Ca%20href=%22http://www.efgad.co.il%22%20target=%22_blank%22%3Eאפגד%20בניין%20וסביבה%20–%20חברה%20לעבודות%20הנדסה%20ובניין%20בע%22מ%3C/a%3E (hosted on WPengine)
I hope you’ll get this fixed.
Thanks- This topic was modified 9 years, 6 months ago by roy_eyal.
June 8, 2015 at 8:03 am #455759Hey Roy!
Could you link to the post in questions as well please? Also, we might need to have a closer look in the backend, could you provide us with a temporary admin login? You can post the details here as a private reply.
Regards,
RikardJune 21, 2015 at 9:35 am #462296Sure:
http://www.afikim38.com/index/engineers/
Click the thumbnail, and instead of opening the link, you’ll get a 404.
This is the title link:
http://www.efgad.co.il/
This is the thumbnail link:
http://www.afikim38.com/index/engineers/%3Ca%20href=%22http://www.efgad.co.il/%22%20target=%22_blank%22%3E%D7%90%D7%A4%D7%92%D7%93%20%D7%91%D7%A0%D7%99%D7%99%D7%9F%20%D7%95%D7%A1%D7%91%D7%99%D7%91%D7%94%3C/a%3EJune 22, 2015 at 11:46 am #462603Hey!
Your html markup look very strange there:
Could you provide us with a temporary admin login? You can post the details here as a private reply.
Regards,
RikardJune 22, 2015 at 12:06 pm #462629This reply has been marked as private.June 22, 2015 at 2:15 pm #462785June 22, 2015 at 2:18 pm #462789This reply has been marked as private.June 23, 2015 at 6:38 am #463141Hi!
I’m getting confused by the RTL installation and my hebrew is a bit rusty, I can’t figure out where that image is coming from?
Regards,
RikardJune 23, 2015 at 11:03 am #463246Haha :)
Well, you can use Google Chrome auto translate page feature.
The image comes from the Featured Image of the post.
The bug is this:
The link has all this HTML inside, instead of the just the target URL (http://www.efgad.co.il/).http://www.afikim38.com/index/engineers/<href="http://www.efgad.co.il/" target="_blank">PAGE TITLE</a>
- This reply was modified 9 years, 6 months ago by roy_eyal.
June 24, 2015 at 10:19 am #463866Hey!
you featured image is linking fine for me to the page in private content. I don’t get redirect to any 404 page. So it seems fine to me. Could you fix it?
Best regards,
Andy- This reply was modified 9 years, 6 months ago by Andy.
June 24, 2015 at 10:54 am #463893Hey there
I think that maybe you got it wrong.
every thumbnail links to a broken link:
http://www.afikim38.com/index/contractors/Every href points to:
http://www.afikim38.com/index/engineers/<href=”PAGELINK” target=”_blank”>PAGE TITLE
instead of PAGELINKAnd it all happens because the post format is Link.
June 25, 2015 at 10:15 am #464503June 25, 2015 at 10:31 am #464511What? no no no…
Why are clicking on the sidebar?
I said every thumbnail on each POST is linking to a 404!
It’s every featured images on the RIGHT.
Please click every post thumbnail, on you’ll see you’re getting a 404.June 25, 2015 at 5:43 pm #464631Hey!
I see that there is a lot of confusion in this thread and a lot of it is probably coming from the fact that the site is hebrew and also in Right to Left direction. Truth to be told, I was not able to do a lot in there myself because everything is so foreign that I don’t even know where to look.
It might be necessary for the sake of debugging to use a plugin that allows language switching on a per user base so we can navigate trough the backend with at least somewhat of a clue what is going on there. A plugin like this might help: https://wordpress.org/plugins/user-language-switch/
Or alternatively you might want to post a step by step instruction on how to reproduce the problem and if we can reproduce it we will of course fix it. this means telling us exactly how to set up the post, which content to add, which post settings like post format etc
Cheers!
KriesiJune 25, 2015 at 5:53 pm #464642That plugin screws the all the website from RTL to LTR, so I had it removed.
But why does the language matter?
There’s a list of posts.
JUST CLICK ANY OF THE POST THUMBNAILS PLEASE – you’ll see for yourself.http://www.afikim38.com/index/contractors/page/2/
Screenshot:
June 29, 2015 at 10:58 am #465710No reply yet… Great.
No response in the forum yet. Want to reproduce the problem? Here:
1. Create a post with a Link Post Format
2. Add a word with non-latin characters
3. Make that word a link.
4. Create a page that displays posts.
5. Make sure you are using small thumbs.The Enfold theme isn’t using the get_url_in_content function, just like the twentyfifteen theme is using. Somehow, the thumb’s URL is getting screwed.
I would have fixed the problem myself, but I can’t find where loop-index.php is calling the Link Post Format.
Please tell me where can I find the Link Post Format code for small thumbnail link, and I will fix it myself.function twentyfifteen_get_link_url() { $has_url = get_url_in_content( get_the_content() ); return $has_url ? $has_url : apply_filters( 'the_permalink', get_permalink() ); } endif;
- This reply was modified 9 years, 5 months ago by roy_eyal.
June 29, 2015 at 5:24 pm #465978 -
AuthorPosts
- The topic ‘Post Format: Link bug’ is closed to new replies.