-
AuthorPosts
-
June 14, 2017 at 4:27 pm #808076
Hi!
I would like to increase the size of the blog experpt displaying on the the masonry. I
ve activated the summary but it doens
t work for me… I need all the exerpts to have the same leight.
I saw some other topics about this in here but all of them had the code for blog and I am using the masonry…Can you help me?
Thank you!
June 15, 2017 at 6:17 am #808401Hey michellerunge,
Could you post a link to the site in question so that we can take a closer look please?
Best regards,
RikardJune 19, 2017 at 3:31 pm #809823Hi Rikard!
Sure, is : unpackdesign.com.br
Thank you!
June 20, 2017 at 4:24 pm #810457Hi michellerunge,
Which page or element on the front page are you referring to?
Best regards,
VictoriaJune 20, 2017 at 7:03 pm #810601Hi!
Here it is: http://unpackdesign.com.br/blog/
You can see that the posts have a title and a small introduction of the post. I just want to make this introduction bigger.
Thank you very much!
Best Regards
June 20, 2017 at 7:11 pm #810607Hi!
For each post included in the masonry element, did you place the excerpt/introduction in the Excerpt Field?
If you did and this does not fix the problem, can we possibly have admin access into your site so that we can take a closer look?
Best regards,
SarahJune 20, 2017 at 7:17 pm #810612HI Sarah,
I am not sure if I understand. The exerpt field would be the summary that can be activated in the screen options?
The thing is that since many people will post I, need this text to be automatic, because they will probably forget to write a summary. But this text is too small, I would like to be 4 or 5 lines.
I am sending you the user and admin!
Thank you!
June 21, 2017 at 7:55 am #810815Olá,
Eu falo português, se preferir, posso responder seus tickets em português :)
Best regards,
John TorvikJune 21, 2017 at 6:31 pm #811098Olá John,
Sim, pode ser em portugues. Consegue me ajudar?
Obrigada
June 22, 2017 at 7:30 am #811350Oi,
Fico feliz em poder ajudar :)
Para aumentar a quantidade de letras no excerto, adicione o seguinte código na sua functions.php
add_filter('avf_postgrid_excerpt_length','avia_change_postgrid_excerpt_length', 10, 1); function avia_change_postgrid_excerpt_length($length) { $length = 100; return $length; }
Best regards,
John TorvikJune 22, 2017 at 6:38 pm #811737Olá John!
Obrigada pelo código! Porém não funcionou… As letras do excerto continuam iguais… Você pode ver pelos 4 primeiros posts que não mudou: http://unpackdesign.com.br/blog/
Cheguei a alterar o valor de ” $length = 100; ” para ” $length = 400; ” mas nada mudou.
Me ajuda?
Obrigada!
June 22, 2017 at 8:18 pm #811804Hi,
Por favor, você poderia compartilhar comigo o seu FTP para eu acessar os arquivos e fazer alguns testes?
Obrigado!
Best regards,
John TorvikJune 23, 2017 at 12:43 am #811891Olá John!
Claro, mando sim!
Não sei se faz diferença no código, mas neste caso estou usando o Masonry para esta pagina de blog.
O acesso está no private content.
Obrigada
June 23, 2017 at 7:07 am #811977Olá,
Eu chequei seu código e acabei te providenciando um add_filter para o post grid e o correto, como você disse, é o mansory, que é o seguinte código:
add_filter('avf_masonry_excerpt_length','avia_change_masonry_excerpt_length', 10, 1); function avia_change_masonry_excerpt_length($length) { $length = 200; return $length; }
Eu não sei se ter esse espaçamento no excerto é intencional, mas se quiser remove-lo, basta adicionar o seguinte código:
.av-masonry-entry-content.entry-content { text-align: initial !important; }
Best regards,
John Torvik -
AuthorPosts
- You must be logged in to reply to this topic.