## add pagination in wordpress page template

Question
I am using custom page to display my taxonomy terms the terms are displaying fine but i dont want the terms to all show in one page i want 2 terms per page but the pagination is not working and its ...
0
1 month 0 Answers 19 views

## get_term_by works but get_terms doesn’t?

Question
I currently have a Multisite with 2 sites. From the secondary site get_term_by() works to retrieve terms from the primary site, but get_terms() does not. I'm using switch_to_blog(1); but I get object(WP_Error)#1316 (2) { ["errors"]=> array(1) { ["invalid_taxonomy"]=> array(1) { [0]=> string(16) ...
0
1 month 0 Answers 21 views

## Limit Words in Category / Term Description – Admin Panel

Question
I'm working with a Taxonomy where the Terms have lengthy descriptions. It makes the Admin Panel look really ugly when WordPress tries to display these descriptions for 10 categories. I'm trying to figure out a way to limit the number ...
0
1 month 0 Answers 23 views

## Can you hide empty terms using get_term_children?

Question
I'm trying to get_term_children of a specific term: $style_categories = get_term_children( 29, 'product_cat' ); if ($style_categories ) : foreach ( $style_categories as$style ) : $child = get_term_by( 'id',$style, ...
0
1 month 0 Answers 17 views

## Order get_terms by term meta

Question
I have a custom taxonomy called prod-cat I want to order the output in the template by number, so I added a term_meta to the taxonomy like this: add_action( 'prod-cat_add_form_fields', 'add_feature_group_field', 10, 2 ); function add_feature_group_field(\$taxonomy) { ?> ...
0
2 months 0 Answers 25 views

## Cannot delete or edit a single term in a custom taxonomy, taxonomy name is wrong?

Question
I have created a custom taxonomy with the basic code below. I created a term called 'video' some time ago to test it. I created a few other terms today then noticed that I cannot delete or edit that first ...
0
2 months 0 Answers 27 views

## Can’t display multiple terms with get_the_terms

Question
I am trying to display the terms (from a custom taxonomy) of a single post, but I can't display more than one term. When I try to display all the terms using a foreach loop, it doesn't display anything. Here is ...
0
2 months 0 Answers 28 views

## Add Taxonomy Description with wp_set_post_terms

Question
I am adding tags during wp_insert_post using wp_set_post_terms. But I have no clue how to add a tag description with my code. I have not found anything out there.
0
2 months 0 Answers 27 views

## Clone Terms of one taxonomy to another

Question
I have list of products and associated product categories. I like to clone same terms and their hierarchy along with product association to a newly created custom taxonomy.
0
2 months 0 Answers 23 views