| bio | website | evowebdev.com |
|---|---|---|
| location | Santa Fe, NM | |
| age | 60 | |
| visits | member for | 2 years, 9 months |
| seen | 2 days ago | |
| stats | profile views | 27 |
Front-end developer, designer, specializing in WordPress CMS business site development.
|
Jun 23 |
comment |
Trying to exclude custom posts based on date, while sorting by custom field Here is the code I implemented: <?php $paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1; $args = array( 'post_type' => 'performance', 'meta_query' => array( array( 'key' => 'order-date', 'value' => $value, 'compare' => '>=' ), array( 'posts_per_page' => 5, 'caller_get_posts' => 5, 'paged' => $paged, 'meta_key' => 'order-date', 'orderby' => 'meta_value', 'order' => 'ASC' ), ) ); $query = new WP_Query( $args ); if (have_posts()) : while (have_posts()) : the_post(); ?> |
|
Jun 23 |
comment |
Trying to exclude custom posts based on date, while sorting by custom field Brady - Thanks, but I'm not sure how to implement this. I'm getting an error. |
|
Jun 23 |
asked | Trying to exclude custom posts based on date, while sorting by custom field |
|
Apr 26 |
awarded | Teacher |
|
Mar 18 |
answered | How to add a “custom” date field to a custom post type? |
|
Mar 18 |
awarded | Editor |
|
Mar 18 |
revised |
Is there a limit to number of pages displayed for selection in custom menu? fixed grammar |
|
Mar 18 |
asked | Is there a limit to number of pages displayed for selection in custom menu? |
|
Dec 9 |
awarded | Precognitive |
|
Sep 7 |
accepted | How to edit theme functions file to modify pagination? |
|
Sep 4 |
answered | Changing the Order of Admin Menu Sections? |
|
Sep 3 |
awarded | Scholar |
|
Sep 3 |
comment |
How to edit theme functions file to modify pagination? So a little research tells me it's repeatable (essentially, that's the difference between <!--more--> and <!--nextpage-->). Still wondering if I can display page numbers AND prev/next links. |
|
Sep 3 |
comment |
How to edit theme functions file to modify pagination? Also, is it "either" numbers or previous/next links? Can't have both? |
|
Sep 3 |
comment |
How to edit theme functions file to modify pagination? Thanks, @EAMann. Just need a bit of clarification. I want this to appear on a "page", rather than on posts, and I need it to be repeatable several times on a particular page (the client wants up to 8-10 page splits per page). Will this code you've given me for the bottom of the page template apply to each instance of a page split on a given page? |
|
Sep 3 |
asked | How to edit theme functions file to modify pagination? |
|
Aug 18 |
comment |
Why do Custom Nav Menus generate so many classes on list items? Can I manage this somehow? In the grand scheme we're all dust in the wind, but in the meantime, I'd like to be in control of what classes show up on my list items. Doesn't seem like a lot to ask for ;-) |
|
Aug 15 |
comment |
Why do Custom Nav Menus generate so many classes on list items? Can I manage this somehow? So, if I "could" pare down the classes, how? |
|
Aug 15 |
comment |
Why do Custom Nav Menus generate so many classes on list items? Can I manage this somehow? I dislike it because it's basically useless garbage. 2 classes would be fine on a list item. But 6? Pretty ridiculous. Do you know if these classes can be controlled or specified in the functions file? |
|
Aug 11 |
awarded | Student |