Jacques Letesson
Forum Replies Created
-
Ok Otto, thanks for your answer !
I will use Register Plus Redux to properly configure my register form…
But is it possible that during the registration process I connect the facebook account of the user with his new profile ?
Yeah I figured out ! 🙂
You deserve a beer. Thanks.
I just updated my sfc-widgets.php, it works with fan-box !
I will updated it, tomorrow mornig !
Thanks for the quick fix…
Forum: Plugins
In reply to: [Simple Facebook Connect] Getting Connect Button to WorkNew beta works great !
However the Connect Widget disappear from my install…
Great job, Otto.
Forum: Fixing WordPress
In reply to: Splitting up the output of get_posts@extatix : Yeah, I realized that!
Everything is Ok now… The only things that I have to overcome was the_permalink who outputs the link of the first post! Weird.
My final code :
<?php $args=array( 'post__in' =>get_option("sticky_posts"), 'showposts'=>12, ); $my_query = get_posts($args); $chunked_posts = array_chunk($my_query,4); ?> <?php foreach($chunked_posts as $recent): ?> <div> <?php foreach($recent as $post): setup_postdata($post);?> <div class="thumb-container"> <?php if ( has_post_thumbnail()) the_post_thumbnail('feature-image'); ?> <div class="overlay-text"> <a href="<?php bloginfo('url')?>/<?php echo $post->post_name; ?>" title="<?php echo $post->post_slug; ?>"> <span class="thumb-size"> <p class="text-overlay"><?php echo $post->post_title; ?></p> </span> </a> </div> </div> <?php endforeach;?> </div> <?php endforeach;?>Forum: Fixing WordPress
In reply to: Splitting up the output of get_postsWhen I use new WP_Query it outputs an error : Warning: array_chunk() expects parameter 1 to be array, object given
<?php $args=array( //'post__in' =>get_option("sticky_posts"), 'showposts'=>12, ); $recent = new WP_Query($args); $chunked_posts = array_chunk($recent,4); ?> <?php foreach($chunked_posts as $recent): ?> <div> <?php foreach($recent as $post): setup_postdata($post);?> <div class="thumb-container"> <img src="<?php bloginfo('stylesheet_directory'); ?>/images/thumb.jpg" /> <div class="overlay-text"><a href="<?php the_permalink(); ?>" title="<?php echo $post->post_title; ?>"><p class="text-overlay"><?php echo $post->post_title; ?></p></a></div> </div> <?php endforeach;?> </div> <?php endforeach;?>What am I missing, here?
Forum: Fixing WordPress
In reply to: Splitting up the output of get_postsOhh no.. in fact, it outputs the permalink of the first post within my main loop…
Forum: Fixing WordPress
In reply to: Splitting up the output of get_posts@alchymyth : It outputs the permalink of the first Sticky Post!
Forum: Fixing WordPress
In reply to: Splitting up the output of get_posts@alchymyth : Thanks I did it read these topics!
But the internal function setup_postdata() doesn’t fix my problem…
<?php $args=array( 'post__in' =>get_option("sticky_posts"), 'showposts'=>12, ); $recent = get_posts($args); $chunked_posts = array_chunk($recent,4); ?> <?php foreach($chunked_posts as $recent): ?> <div> <?php foreach($recent as $post): setup_postdata($post);?> <div class="thumb-container"> <img src="<?php bloginfo('stylesheet_directory'); ?>/images/thumb.jpg" /> <div class="overlay-text"><a href="<?php the_permalink(); ?>" title="<?php echo $post->post_title; ?>"><p class="text-overlay"><?php echo $post->post_title; ?></p></a></div> </div> <?php endforeach;?> </div> <?php endforeach;?>Forum: Fixing WordPress
In reply to: Splitting up the output of get_postsThanks for the tips!
But what if you need to retrieve the thumbnail and the permalink of this post?
Because the_permalink(); and the_post_thumbnail(‘thumbnail’); doesn’t work.
Thanks in advance,
Jk_
Forum: Fixing WordPress
In reply to: Splitting up the output of get_postsThanks for the tips!
But what if you need to retrieve the thumbnail and the permalink of this post?
Because the_permalink(); and the_post_thumbnail(‘thumbnail’); doesn’t work.
Thanks in advance,
Jk_
Forum: Plugins
In reply to: [TweetMeme Button] Manually add the tweetmeme button? Code?Hi there,
Using : <?php echo tweetmeme(); ?> works ok!
But I was wondering if it’s possible to use display manually the typical twitter button… When I set the option to manual and the use the code : <?php echo twitter(); ?> it doesn’t work!
Any ideas?
Cheers.
Forum: Fixing WordPress
In reply to: Move from Typo3 to WordPressThis link in the codex doesn’t work anymore!
I’m also looking for such a documentation but I can’t find it.
If someone have an idea on how I should proceed to migrate from Typo3 to WP, it will be very welcome.
Cheers,
Jk_
Forum: Themes and Templates
In reply to: get_category_link returns nothingIt helps!