You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to have a post-cycle with testimonials, but when I put that type in I got nothing. Looked at the code and it seems a switch statement to convert the text specified to the custom post types is missing.
I managed to fix it, but thought I'd pass it upstream.
Sorry, but I can't find this code in post-grid.php and post-cycle.php.
Maybe you mean a carousel.php or carousel-owl.php.
Please, give me link to file in the repo.
Sorry, I maybe wasn't clear - that code is a patch I made, so it's not
currently in post-cycle.php but I think it should be. (See the + signs for
the lines I added). It's pretty much the exact same code as in
carousel.php, but it was missing from post-cycle. It clearly does nothing
for most types, but since the testimonial type is represented internally as
"testi", the translation is necessary for that custom post type.
I also didn't look into it, but the carousel shortcode gives a drop-down
box in the admin panel that lets you choose the custom post type from the
valid options, but post-cycle doesn't. Seems inconsistent and gives room
for configuration error.
Sorry, but I can't find this code in post-grid.php and post-cycle.php.
Maybe you mean a carousel.php or carousel-owl.php.
Please, give me link to file in the repo.
—
Reply to this email directly or view it on GitHub #1 (comment)
.
I wanted to have a post-cycle with testimonials, but when I put that type in I got nothing. Looked at the code and it seems a switch statement to convert the text specified to the custom post types is missing.
I managed to fix it, but thought I'd pass it upstream.
Patch text to fix the problem:
--- post-cycle.php.orig 2014-07-03 01:21:00.000000000 -0700
+++ post-cycle.php 2014-08-19 21:32:02.826318000 -0700
@@ -23,7 +23,26 @@
'custom_class' => ''
), $atts));
The text was updated successfully, but these errors were encountered: