wasferraz
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How can i list posts only from Authors, excluding admins users.Woww an new problem:
The permanlink and the code above get the information from other post. Only the title show the right information.
`
echo get_the_post_thumbnail( $noAdmin->ID );
the_author_meta( ‘user_nicename’, $noAdmin->ID );
`Forum: Fixing WordPress
In reply to: How can i list posts only from Authors, excluding admins users.ok thanks a lot, I’ll break my head a little now rsss
Forum: Fixing WordPress
In reply to: How can i list posts only from Authors, excluding admins users.The variable &nonAdmin can be used to show post_linklik, post_thumbnail and post_author like in post_title ?
Is that correct?
Forum: Fixing WordPress
In reply to: How can i list posts only from Authors, excluding admins users.You are the man hehe, functions great!
But i also need to display the title, the name of the author, the date when the post was written and the link to the post. And I need to show 2 registers only.
Is it asking to much ask your help in this question too? If yes I will try to search how to implement this extras.
Thank you very much!
Forum: Fixing WordPress
In reply to: How can i list posts only from Authors, excluding admins users.Not bad, I do the change and get new error:
`Parse error: syntax error, unexpected ‘.’, expecting ‘)’ in C:\xampp\htdocs\demos\wp-content\themes\informecidade\home-content.php on line 94′
then I try to correct it with the follow:
<?php
global $posts;
$nonAdminPosts = get_posts(array(‘author’ => -1, ‘…’));
?>and It returns no error, but don’t show anything.
Help me rssss
Thank you
Forum: Fixing WordPress
In reply to: How can i list posts only from Authors, excluding admins users.Hi alphill70, thanks for response!
Returns this error when trying the fisrt code, that is exactly what i need, outside the loop.
The erro:
Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE or '$' in C:\xampp\htdocs\demos\wp-content\themes\informecidade\home-content.php on line 92
Any idea?
Forum: Fixing WordPress
In reply to: Different visualization to wordpress default galleryflamenco, I have to agree with you uhauhauha, Brazil have pretty girls !!!
I already knew this plugin, I found it very confusing to my client understand-it!
Thanks for the tip!
Forum: Fixing WordPress
In reply to: How to show diferent post list style in the same loop?Thanks alex, thats all right now!
Forum: Fixing WordPress
In reply to: How to show diferent post list style in the same loop?Hi thanks for the response, i try to do like the code below but don’t function:
<div id="listnews"> <ul> <?php $i = 0; while (have_posts()) : the_post(); if($i<1) { <li class="noticia-d1"> <img src="<?php bloginfo('template_directory'); ?>/scripts/timthumb.php?src=<?php echo catch_that_image() ?>&h=120&w=150&zc=1&q=60" class="thprin" title="Imagem de teste" alt="Imagem de teste" /> <h3 class="noticia-d1"><a href="<?php the_permalink() ?>" title=""><?php the_title(); ?></a></h3> <p><?php the_excerpt(); ?></p> </li> }?> <li><h3><a href="<?php the_permalink() ?>" title="Titulo de teste"><?php the_title(); ?></a></h3></li> <?php $i++; endwhile; ?> </ul> </div>
Forum: Fixing WordPress
In reply to: Different header image on specific page (wordpress 3)The corrected text below, excuse me!
Hi man, you can try this:
create-multiple-single-page-templates-in-wordpress/
wordpress_single_post_templates
creating-multiple-single-posts-for-different-categories/
I hope that helps,
Att,
Ferraz from Brazil!!
Forum: Fixing WordPress
In reply to: Different header image on specific page (wordpress 3)Hi man, i can try this:
create-multiple-single-page-templates-in-wordpress/
wordpress_single_post_templates
creating-multiple-single-posts-for-different-categories/
I hope that helps,
Att,
Ferraz from Brazil!!