Caption field

Posted in: Newspaper
Post count: 224

Hi!
I fill a caption field for photo with link.
I put a link to resource of the photo.
But this link is showed on preview of my post, how can i get rid of it in preview?
http://webfile.ru/2c209199594cce4e0c6c772184a87c42

Post count: 6600

Hi,

I’m not sure how you added the resource there, looks like it’s part of the content, but you can do it easily like this http://screencast.com/t/uPowZZhZOo
This way will not appear in the post preview http://screencast.com/t/9IFuqSOUt
Hope this helps.

Thanks

Post count: 224

Yes, i do as you wrote, but unfortunately it doesn’t help and it really looks like this is a part of the content. This is my code:

<div class=”td-post-text-content”>
<figure id=”attachment_100″ style=”width: 750px;” class=”wp-caption alignnone”>8 советов о том, как избавиться от хлама и стать счастливой<figcaption class=”wp-caption-text”>via annatheodoraphotography</figcaption></figure>
<p>Когда ваша квартира завалена хламом – это только полбеды. Но беспорядок в вещах дела проще начинать с выполнения их маленькой части, поэтому начните с изменений в своем доме.</p>
</div>

Post count: 6600

Hi,

I tried your code http://screencast.com/t/ambenTM2 and found this: http://screencast.com/t/GckjXcLMkx
Your code it’s interpreted as a post content that’s why it’s showing in the post excerpt.
You would wanna add the caption like this:
Edit your picture and add the source caption like this: http://screencast.com/t/Q8m4njlh
This is how the code look like: http://screencast.com/t/G5NAYZWe7Oq
This is the result: http://screencast.com/t/vmYQwfwcUw

Thanks

  • This reply was modified 12 years by Lucian.
Post count: 224

I tryed with another post. It’s weird, but it seems i do the same thing…

http://webfile.ru/233204392ec6388de015da5c36de6e6f
http://webfile.ru/86ceadea6ed4d5195a27dbe0b1640157
http://webfile.ru/11754747cad050a3c3d7a12e9bbaf42d

Result:
<div class=”td-post-text-content”>

<figure id=”attachment_352″ style=”width: 619px;” class=”wp-caption aligncenter”>14 фактов о Будапеште|Парламент в Будапеште<figcaption class=”wp-caption-text”>via vanto5</figcaption></figure>

<p style=”text-align: left;”>1. Будьте внимательны при обмене валюты, чаще всего, в местных банках очень плохой курс. В обменных пунктах курс гораздо выгоднее, но нужно обязательно выяснить про размер комиссии. Обменники можно встретить везде, но, по большому счету, разница в курсе у них незначительная.</p>

<p>2. Паприка. Популярнейший венгерский сувенир, вывозить из страны ее можно без ограничений. Плюс, вы найдете много различных сувениров, сделанных в виде перца.</p>

Post count: 1291

Hi,

Please upload the entire post code to http://pastebin.com/ and send me the link so i can test it on my side.

Thank you.

Post count: 224

Hi Emil!
It’s already on virtual hosting and you can test it. In Don’t miss on the main page you can find these posts with preview.

http://themostthings.ru/samorazvitie/kak-izbavitsya-ot-hlama-i-stat-schastlivoy.html
http://themostthings.ru/v-mire/14-faktov-o-budapeshte.html
http://themostthings.ru/samorazvitie/13-poleznyih-privyichek-dlya-zhizni.html

Thank you

Post count: 854

hi,
we will take a look at this.

Thanks for you message.
Radu A.

Post count: 224

Hi guys! Are there any news? Can’t fill my site and open it for indexation because of this thing..

Post count: 6600

Hi,

We have this on our issue list are still working on it, we will try to fix asap.
Sorry for this, thanks for understanding.

Post count: 6600

Hi,

We have fixed this, please go to td_module.php file and replace the get_excerpt function with this one http://pastebin.com/RngFZZey like this: http://screencast.com/t/EgXaqyfH

Thanks for your message!

Post count: 224

Hi!
Great news, thank you very much, it works! You’re doing a good job!

Viewing 12 posts - 1 through 12 (of 12 total)
You must be logged in to reply to this topic.