Hot answers tagged

2

It is quite possible to achieve this. What we need to do is Get all the terms sorted by slug (or any other field desired) associated with our taxonomy Get the current term object Determine where in the array our current term is Get the two adjacent terms (if any) Build the links to those term pages THE FUNCTION I have written a function to take care of ...


2

On the top of my head there are two easy ways to go about this problem, first is to use the get_the_tags() function to manually loop the tags to easily insert the hashtags. $tags = get_the_tags(); if ( $tags ) { foreach ( $tags as $tag ) { ?> <a href="<?php echo get_tag_link( $tag->id ); ?>"> <?php echo '#' ...


1

I think since the users are a CPT, it would be well suited to do this in post_meta on the user. You could store the temporarily unsubscribed term there and check against when sending notifications. For example, your post_meta could be an array such as this: subscribed_list_term => "maybe_cool_for_summer_list_term", subscription_duration => ...



Only top voted, non community-wiki answers of a minimum length are eligible