Problem:
u_post_count function of children posts - get related posts in relationship based on provided author ID
Solution:
To query the related posts based on the current loggedin user or author, you will require to use the WP_Query to fetch the related posts in relationship based on provided author.
Problem: I've migrated my site to a new domain, and now my image custom fields contain URLs that include the old site domain. I would like to change those custom field values to point to the new domain instead.
Solution: A good 3rd-party site migration tool can handle domain replacements for image custom field values automatically during the migration process. Another option is to export your site's post content using the standard WordPress export process. Once that export file has been generated (it will be an XML document), you can edit it with a text editor like Sublime Text. Use the find-and-replace tool to find all instances of the old site domain and replace them with the new domain. Refer to our documentation below for more information about direct database modification using SQL.
Problem:
Count number of entries in repeating field group return 0
Solution:
To get total count based on repeating field group items, you will require to use the post relationship API function toolset_get_related_posts().