jarnoschi
Forum Replies Created
-
Forum: Plugins
In reply to: [Video Slider - Slider Carousel] Editors update Video slider?That would be indeed an important feature. Best, J
Forum: Plugins
In reply to: [Search & Filter] post_types URL parameter issueyou are welcome.
thanks for pointing out the sanitization issue.Forum: Plugins
In reply to: [Search & Filter] post_types URL parameter issuehi DSkyline,
i posted my redirect solution on pastebin.
https://pastebin.com/AvnJ7Ccnhope this helps
jHi,
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?
Regards
Forum: Plugins
In reply to: [Search & Filter] post_types URL parameter issueHi Martin,
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.
best
Jarnosure.
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):<?php
// 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’
);
// loops
$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.
greetz!
i found a quick-solution for this by myself.
paste:
remove_all_filters(‘posts_orderby’);
in the functions.php to have the sort workin again.