Alan Hidalgo Pagoto
Forum Replies Created
-
Forum: Reviews
In reply to: [Post Content Slider] Works WellHey Khalid, how are you?
Let’s go, I’m gonna make a control panel and a navigation between posts =)
It’s gonna be here soon.
Thank you
Forum: Reviews
In reply to: [Post Content Slider] ОшибкиHey Altcheb, how are you? I tested here the exhibition time and the quantity of posts on twenty eleven and it worked ok. Could you tell me which browser you’re using?
Thank you,
AlanForum: Fixing WordPress
In reply to: Error with subcategoryI’m trying to list all the books and the filtered books (when a category is selected) on the same archive page…
Sorry…
$out.= “\r\n<div class=\”item-sugestao-leitura\”>”.get_the_post_thumbnail($ID, array(66,94)).”$post_title
Autor: “.$livro_autor[0].”<div class=\”clearfloat-sugestao-leitura\”></div></div>”;
Hey guy! How are you doing? I don’t know if you’re still in doubt but I’m posting the way which I’ve done to fix this problem.
I’ve editted the code between the lines 198 and 210 on custom-post-type-list-widget.php file. When you change $out variable, you’re changing your output content. Then you use the get_the_post_thumbnail() function. My code ended up being as folow:$out.= “\r\n<div class=\”item-sugestao-leitura\”>”.get_the_post_thumbnail($ID, array(66,94)).”$post_title
Autor:
“.$livro_autor[0].”<div class=\”clearfloat-sugestao-leitura\”></div></div>”;Where $ID is the id of my post, array(66,94) are the dimensions of the thumbnail and $livro_autor is a variable which receives a meta value:
$livro_autor=get_post_meta($ID, ‘livro-autor’);
Anywaw, keep in touch if you’re still in doubt
See you,
Alan Hidalgo Pagoto
Curitiba/PR – BrazilForum: Themes and Templates
In reply to: Creating a themeHey Charles! Thank you by the answer. I’m gonna try to do it today. Let’s see if it works =]
See you