jhonsvick
Forum Replies Created
-
I Found the update in the album section and it works great. Thank you for Supporting this plugin. I just made a meager but grateful donation. Thank you.
I was able to get it, but this last update reverted my changes back and now i’m having trouble finding the code. I have table II item 12 enabled and i see the link to the slide show, i just want to bypass the album view all together making the photo cover and the title link to the slideshow. like i said i had it once, but now i’m having difficulty.
Forum: Fixing WordPress
In reply to: Custom taxonomy query that excludes children postsHey, maybe you could help me with another problem i’m having. I got my query to work, but now what i believe is called pagination is broken. The links to later posts shows up on the bottom, but when i click them they just reload the same set of posts as before. The page url changes to/page/2 but the posts remain the same. I’ve tried fixing it using some help i found on a few sites, but so far no luck. Here’s my code.
$args = array( 'tax_query' => array( array( 'taxonomy' => 'family-life', 'field' => 'slug', 'paged' => $paged, 'posts_per_page' => -1, 'terms' => get_terms('family-life','fields=names') ) ) ); $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $temp = $wp_query; $my_query = null; $my_query = new WP_Query($args); $wp_query->query('showposts=5' . '&paged='.$paged); if( $my_query->have_posts() ) : ?> <?php while ( $my_query->have_posts() ) : $my_query->the_post(); ?>
Forum: Fixing WordPress
In reply to: Custom taxonomy query that excludes children postsdefinitely easier than what i was doing. Thanks a ton it worked like a charm
Forum: Fixing WordPress
In reply to: Custom taxonomy query that excludes children postsSo I hope you dont mind me adding my problem with custom taxonomies. I’ve tried to find an answer and am just totally lost yet i feel like it should be fairly easy. (I have very limited knowlege of php) I built my custom taxonomy for a family blog and named the taxonomy “children” inside of that taxonomy i have made posts for each of the children in my family. (easton and kiari) I want the taxonomy to sort by post date reguardless of taxonomy. All i can get is a sort by post date for all posts in the easton taxonomy followed by all posts in the kiari taxonomy. so the question… How do i combine all the posts from my children taxonomy, and sort them to display the most recent post reguardless of weither it’s an easton post, or a kiari post?
here’s my code i’m using to call my taxonomy now
$tax = 'children'; $tax_terms = get_terms( $tax ); if ($tax_terms) { foreach ($tax_terms as $tax_term) { $args = array( "$tax" => $tax_term->slug, 'post_type' => 'post', 'post_status' => 'publish', 'posts_per_page' => -1, 'caller_get_posts'=> 1, 'orderby' => 'post_date', 'order' => 'DESC', ); $my_query = null; $my_query = new WP_Query($args); if( $my_query->have_posts() ) : ?> <?php while ( $my_query->have_posts() ) : $my_query->the_post(); ?>
Forum: Themes and Templates
In reply to: Sort hierarchical Custom TaxonomyI’m not sure what you mean Peredur. right now i have a hierarchical custom taxonomy (works like a category) called children. so i’m querying all post in the entire taxonomy. both of which have subsets or children categories named easton, and kiari. the problem that i’m getting is combining them first and then sorting them and displaying them. I’m definately not a php guy, i struggle through what i do know, so any help here is greatly appreciated.
Forum: Themes and Templates
In reply to: Moving SidebarSo I dont know if this is the best way of doing it, but i managed to fix the problem by calling the sidebar in the header rather than waiting until the post page. My navigation is built into the header so right after that i called the sidebar and closed the head and now it shows up just how I want it. if anyone knows of a better way i’d love to hear how, but for now it’s working.
Thanks.
Forum: Themes and Templates
In reply to: Moving SidebarI have three posts in it now and it validates fine. the number of posts doesnt seem to matter it stays lined up with the first post no matter how many other posts are available. Other ideas?
Forum: Plugins
In reply to: [VoucherPress] [Plugin: VoucherPress] Dynamic Expiration DateI totally agree, i’d love to be able to set a dynamic expiration date, It would also be great to customize the wording of the email and confirmation pages for example change from thanks for registering, to thanks for applying, or you’ll receive your gift card rather than receive your voucher.