emilyT
In den letzten 30 Tagen erstellte Support-Threads: 0
Lieblings-Forenthemen
Dieser Benutzer hat keine Lieblingsthemen.
Forum Topics Created
Status | Thema | Supporter | Stimmen | Artikel | Aktualität |
---|---|---|---|---|---|
Feature post to display only on first page
Gestartet von: emilyT in: Toolset Professional Support |
2 | 3 | vor 5 Jahre, 11 Monate | ||
Creating a view to list taxomony terms
Gestartet von: emilyT in: Toolset Professional Support |
2 | 8 | vor 6 Jahre | ||
Adding HTML markup to CPT description
Gestartet von: emilyT in: Toolset Professional Support |
2 | 3 | vor 6 Jahre, 1 Monat | ||
Order by title ignoring quote marks
Gestartet von: emilyT in: Toolset Professional Support |
2 | 3 | vor 6 Jahre, 6 Monate | ||
Previous / Next within parent/child relationship
Gestartet von: emilyT
in: Toolset Professional Support
Problem: I would like to include pagination on my single post pages that allows a user to navigate between posts that are children of the same parent post. Solution: Legacy Relationships: Add a pagination shortcode that will output the next and previous links based on the parent and child post types: // Add Pagination Shortcode function pagination() { $next_post = wpv_child(1, 'exhibition', 'painting'); $previous_post = wpv_child(-1, 'exhibition', 'painting'); $prev_pagination= ''; $next_pagination = ''; if($previous_post ){ $prev_pagination = "<div class='navigation'><div class='previousnav'> <a href='".get_permalink($previous_post->ID)."'> << ".get_the_title($previous_post->ID)."</a></div>"; } if($next_post){ $next_pagination = "<div class='nextnav'><a href='".get_permalink($next_post->ID)."'> ".get_the_title($next_post->ID).">></a></div>"; } $pagination = "<div class='currentexb'><a href='http://www.neilpinkett.co.uk/npwp/exhibition/''>GALLERY</a> >".get_the_title()."</div>"; return $prev_pagination.$pagination.$next_pagination; } add_shortcode( 'pagination', 'pagination' ); function wpv_child($step, $parentslug, $childslug) { global $post; $parent = get_post_meta($post->ID, '_wpcf_belongs_' . $parentslug . '_id', true); $children = get_posts(array('post_type' => $childslug, 'meta_key' => '_wpcf_belongs_' . $parentslug . '_id', 'meta_value' => $parent, 'numberposts' => -1)); $i = 0; foreach ($children as $i => $child) { if ($child->ID == $post->ID) break; } $i += $step; if (isset($children[$i])) return $children[$i]; } |
3 | 11 | vor 6 Jahre, 7 Monate | ||
Sort by numeric field not working following WP-Types upgrade
1
2
Gestartet von: emilyT in: Toolset Professional Support |
3 | 17 | vor 6 Jahre, 7 Monate | ||
Either adding prev/next to content template or moving related posts to theme
Gestartet von: emilyT in: Toolset Professional Support |
2 | 13 | vor 6 Jahre, 7 Monate | ||
Frontend Export to CSV
Gestartet von: emilyT in: Toolset Professional Support |
2 | 3 | vor 6 Jahre, 10 Monate | ||
Improved slider transitions
Gestartet von: emilyT in: Toolset Professional Support |
2 | 3 | vor 8 Jahre, 1 Monat | ||
Setting Custom Roles in Access
Gestartet von: emilyT in: Toolset Professional Support |
2 | 6 | vor 8 Jahre, 2 Monate | ||
Fixing randomised order for 24 hours
Gestartet von: emilyT in: Toolset Professional Support |
2 | 3 | vor 8 Jahre, 4 Monate | ||
Is it possible to display details according to which page you've come from?
Gestartet von: emilyT in: Toolset Professional Support |
2 | 4 | vor 8 Jahre, 8 Monate | ||
The 'Select image' button for the image custom field isn't working.
Gestartet von: emilyT in: Toolset Professional Support |
2 | 8 | vor 8 Jahre, 10 Monate | ||
Different Access Groups for different content
Gestartet von: emilyT in: Toolset Professional Support |
2 | 4 | vor 9 Jahre, 10 Monate | ||
Types not appearing in Appearance > Menus for other admin users
Gestartet von: emilyT in: Toolset Professional Support |
2 | 3 | vor 9 Jahre, 11 Monate |