tuplet
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Video Embedder] Simple Video Embedder – Playlist problemWell, I kinda found a solution. Just had to use the embed code insted of the url. A shame it doesn’t work with the url though.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] [Plugin: Relevanssi] No search resultsProblem solved: The main category was excluded – Doh!
The name of the style class is “span.wpcf7-not-valid-tip” and you’ll find it in the styles.css.
What I did was removing the left, top and position styles and inserted float:left; and clear:both;. I did the same on each form class and the “wpcf7-response-output” class to make the output box float as well.This solved my problem 🙂
Good luck mate
I got the same problem.
I’ll get back to you if I find a solution 🙂Forum: Fixing WordPress
In reply to: Get next 6 thumbnails – get_posts or loop?I’ve send you a mail :o)
Forum: Fixing WordPress
In reply to: Get next 6 thumbnails – get_posts or loop?I’ve tried using the loop for the main videobox and it workes just fine :o)
Forum: Fixing WordPress
In reply to: Get next 6 thumbnails – get_posts or loop?If you have a solution how to make a next/prev function without using the Loop then it should be easy. Because then I use the Loop for the main videobox, and set the setting only to show one recent post (Admin > Settings > Reading) – then it’s solved.
And for the Videoroll, something like:
<?php $listposts = get_posts('numberposts=6&order=ASC'); foreach($listposts as $post) : setup_postdata($post); ?>And then a next/prev function?
Add filters to next/previous_posts_link_attributes – how to you make that?Forum: Fixing WordPress
In reply to: Get next 6 thumbnails – get_posts or loop?Let me scale it down:
Main videobox:
– It should only have 1 post at the time!
– The content should change depending on the post ID.
– On the frontpage it should show the latest post.Videoroll:
– Should always show the latest six posts in order.
– A next/previous function if there is more than six posts in the list.Forum: Fixing WordPress
In reply to: Get next 6 thumbnails – get_posts or loop?The design is build up in a simple one-page-only style. The content will be shown in the main videobox. When you click at one of the thumbnails, the point is that you’ll see the content of the clicked thumbnail/ID.
If you try to click at one of the thumbnails, you will see that the list of six thumbnails will disappear, and only show the one thumbnail.
The second problem is, that the content of the main videobox dos not chance. That’s because of the code:
<?php $lastposts = get_posts('numberposts=1'); foreach($lastposts as $post) : setup_postdata($post); ?>I’ve tried to use the loop, and it works fine, but on the frontpage it should only show the latest post – not the last six of them.
Hope it’s not too confusing :o)
If it’s for any use, then here is the code for the main videobox:
`<div id=”video_frame”>
<?php
$lastposts = get_posts(‘numberposts=1’);
foreach($lastposts as $post) :
setup_postdata($post);
?><?php $video = get_post_meta($post->ID, ‘video’, $single = true); ?>
<?php if($video !== ”) { ?>
<?php echo $video;?>
<?PHP } ?>
</div><div id=”video_dec”>
<h3>“><?php the_title(); ?></h3>
<?php the_excerpt(); ?>
</div>
<?php endforeach; ?>
</div>`and here’s the code for the movieroll/thumbnail function:
`<div class=”news_items”>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?><?php $thumbnail = get_post_meta($post->ID, ‘thumbnail’, $single = true); ?>
<?php if($thumbnail !== ”) { ?><div class=”item fl”>
“><img src=”<?php echo $thumbnail;?>” alt=”<?php the_title(); ?>” border=”0″ class=”pic_thumb”/>
<?php } ?>
</div><?php endwhile; else: ?>
<p><?php _e(‘Sorry, no posts matched your criteria.’); ?></p>
<?php endif; ?>
<?php posts_nav_link(‘ — ‘, __(‘« Newer Posts’), __(‘Older Posts »’)); ?></div>`
Forum: Fixing WordPress
In reply to: Get next 6 thumbnails – get_posts or loop?When I click I want to see the one post content, and so it does, but on the frontpage it showes six recent posts in the list, but when I click on the link it only showes one post in the list – the one post connected to the post ID.
I’ll try to put it online now, so that you can see it. :o)
Forum: Fixing WordPress
In reply to: Get next 6 thumbnails – get_posts or loop?What I need, is a list of six posts (ordered by date), with a next/prev function (“show next 6 posts”).
I’ve used the loop to get this working, but when I’m clicking on one of the posts in the list and goes to the post page, the list only showes one post in the list – the one connected to the post ID.
Dos it make sense? I’ll put it online soon so that you can see it :o)
Thanks for your patience, mate!
I appreciate it!Forum: Fixing WordPress
In reply to: Get next 6 thumbnails – get_posts or loop?I use custom fields to get the thumbnail. I just link to the thumbnail. So what I need, is a list of the 6 most resent posts – and a next/prev button.
The problem can be solved by using the loop function, but as soon as I go to a post page, the list only shows one thumbnail – the one thumbnail connected to the post ID.It’s quite simple but I can’t explain it right :o/