Register Now


By registering, you agree to the Terms of Service and Privacy Policy.

Login

Forget


Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.


Add question

Please type your username .

Please type your E-Mail .

Please choose an appropriate title for the question to answer it even easier .

Please choose the appropriate category so others can easily search your question.

Please choose suitable Keywords Ex : question , poll .

This question is a poll ? If you want to be doing a poll click here .

Browse

Anonymous asks

Do you need a video to description the problem better ?

Choose from here the video type .

Put here the video id : https://www.youtube.com/watch?v=sdUUx5FdySs EX : 'sdUUx5FdySs'.

Notified by e-mail at incoming answers.

By asking your question, you agree to the Terms of Service and Privacy Policy.


x

Login

Forget


Register Now

Thank you for registering with WPTricks

Create an account
x
  • Login
  • Add Post
  • Badges
  • Contact Us
Ask a Question
  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

Login

Forget


Register Now

Thank you for registering with WPTricks

Create an account
  • Login
  • Add Post
  • Badges
  • Contact Us

wptricks

  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

terms

Home/ terms

functions – delete_term is not working properly with add_action()

Question
delete_term is not working, I'm trying to delete term and after I deleted it, it'll also delete the similar term from different a taxonomy based on their slugs here's my code of the delete_term, so in the code below, when
0
agent abstract 2 days 0 Answers 0 views

wp query – I need to get all categories from a WP_Query

Question
Actualy i'm doing this $loop = new WP_Query($args); while ($loop->have_posts()) : $ID = $postData->ID; $freeCategories = get_terms(array( 'taxonomy' => "product_cat", 'fields' => 'names', 'objec
0
Esteban García 1 week 0 Answers 0 views

custom post types – How to use wp_set_object_terms depending on page ID?

Question
The function to set custom term works fine. add_action( 'save_post', 'set_custom_term', 30, 2 ); function set_custom_term( $post_id, $post ) { wp_set_object_terms($post_id, 'guitar', 'instrument',true); } I need to s
0
Kim Caspe 1 month 0 Answers 0 views

post meta – Can terminology be changed i WooCommerce

Question
This is a plugin question, I know, but WooCommerce support contact-form didn't work (and found no forum). I want the measurements in WooCommerce to be "lenght, width, depth" instead of "lenght, width, height" because it suits the products better. Can thi
0
Valter Ekholm 2 months 0 Answers 0 views

terms – mysql to get related tags of a tag and order by intersection rate?

Question
What I try to do is create a wp plugin to get related tags of a tag and order by intersection rate. For example, in a WordPress site, data structure like below: 40 posts has tags B, 200 posts has tags C
0
cloudinstone 2 months 0 Answers 0 views

terms – How to get tags only with custom meta field and display them randomly?

Question
I'm trying to have a function to display only the tags with custom meta field tax_image_url_universal and display them randomly, which means when page reloads different tags to be displayed. Currently I have the following to display r
0
ooneland 2 months 0 Answers 0 views

terms – List posts grouped by children of a custom taxonomy

Question
I am successfully listing posts grouped by category from a custom taxonomy like so: Category 1 Category 2 Category 3 Category 4 I am trying to only list groups of categories (with their posts) that are descendants of pa
0
quantum_leap 3 months 0 Answers 0 views

terms – Trim output from the the_terms function

Question
I need to trim the first 5 characters (the same across all the terms to be displayed) of a listing of terms. This is my code: <?php ltrim(the_terms( $post->ID, 'atsc_progress_reports_post_type', '', ', ' ), "2022 "); ?>
0
Brett 4 months 0 Answers 0 views

wp query – Get access to all terms associated to each post that the wp_query loop displays

Question
If the following loop logic gives me access to post properties that are associated to a CPT (for example, 'sports')... $args = array( 'post_type' => 'sports', 'posts_per_page' =&
0
klewis 5 months 0 Answers 0 views

terms – get_terms_args ordering by meta key not working

Question
I have a custom taxonomy called "edition". Each edition has a meta key "_edition" that stores an incremental number from 1 to N. So, if I have an edition called "Edition 13", it will store "_edition" meta key with value of 13. My question is: I'm
0
RBFraphael 6 months 0 Answers 0 views
1 2 … 5
  • Recent
  • How to Fix the Error

    If you get an error message “Error Establishing Database Connection,” this means that your website is unable to connect to ...

    May 30, 2021
  • Onitir – IT Solutions WordPress theme

    Onitir - IT Solutions WordPress

    LIVE PREVIEWBUY FOR $29 Onitir is a Modern & ...

    September 18, 2020
  • WhatsApp Chat – WordPress WhatsApp Chat plugin

    WhatsApp Chat - WordPress WhatsApp

    March 19, 2020
  • Tabula – Art, Music & Language School

    Tabula - Art, Music &

    Tabula – Art & Language School WordPress Theme Tabula is a Multi-Purpose WordPress Theme for all kinds of ...

    March 19, 2020
  • Mega Posts Display for Elementor – Premium WordPress Plugin

    Mega Posts Display for Elementor

    Welcome to Mega Posts Display for Elementor. With this awesome plugin for Elementor you can create a posts layout ...

    March 19, 2020
  • Home
  • Ask Question
  • Themes
  • Plugins
  • Tutorials
  • Books

Recent

  • How to Fix the Error

    If you get an error message “Error Establishing Database Connection,” this means ...

  • Onitir – IT Solutions WordPress theme

    Onitir - IT Solutions WordPress

    LIVE PREVIEWBUY ...

  • WhatsApp Chat – WordPress WhatsApp Chat plugin

    WhatsApp Chat - WordPress WhatsApp

Popular Questions

  • 404 error - Page not

    ...

  • How to update meta fields

    I have an app written in Delphi and Indy components for Windows ...

  • How to echo the_excerpt without

    In the code snippet below, I trying to get the_excerpt to be ...

Copyright 2019 WPTricks - WordPress Tips, Tricks and Hacks | Privacy | Terms

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.