Forum Replies Created
In reply to: [Video Slider - Slider Carousel] Editors update Video slider?
you are welcome.
thanks for pointing out the sanitization issue.
i posted my redirect solution on pastebin.
hope this helps
same issue here. In PLUPLOAD the images can be reordered and saved but when querying the images in the frontend with get_posts + orderby “menu_order”, the images have the order as initial uploaded.
Any ideas about that?
nice idea to solve.
I just came over the same problem, but think to solve it with page redirect on the wrong/not working url-parameter.
i just reproduce the problem with a clean setup, this are the steps:
-> start with clean wp version 3.2.1
-> install > Custom Content Type Manager : Version 0.9.3.3
-> create cpt: “artists”
-> create 3 artists posts, title: a, b, c
-> put this snippet on the homepage (index.php in twentyeleven theme):
// show randomly 3 posts of c_p_t ‘artists’
// set the query
$query = array (
‘posts_per_page’ => 3,
‘post_type’ => ‘artists’,
‘orderby’ => ‘rand’,
‘order’ => ‘title’
$queryObject = new WP_Query($query);
if ($queryObject->have_posts()) : ?>
<?php while ($queryObject->have_posts()) : ?>
<?php $queryObject->the_post(); ?>
<h2><?php the_title(); ?></h2>
<?php endwhile; ?>
<?php endif; ?>
-> watch behavior of the posts while reloading the site (should be sorted randomly)
-> auto update Custom Content Type Manager : Version 0.9.4.1-pl.
-> check sorting of posts again > sort stopped working (
-> helper: put “remove_all_filters(‘posts_orderby’);” in functions.php
actually, i am not sure if this workaround completely solves the problem, as well the category pages for the custom content post type + pagination seems to not working properly.