Support threads created in the last 30 days: 1
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
|Change Images Source From Prime in Media Folder to Reduced Size, like "-150×150"||1||2||2 days, 21 hours ago|
|Need a view to output text for html data attribute without spaces…||2||3||1 month, 3 weeks ago|
Need a more stable way of hiding CPTs that have no child relations…
Problem: I have a nested View structure that shows parent posts in the outer View and child posts in the nested View. In some cases the parent post has no child posts, and I would like to hide those parent posts in the results. The problem is that the nested child post View is filtered. Is there a conditional that tests whether or not a parent post contains these filtered child posts?
Solution: You can solve this without custom code by restructuring the Views. Instead of displaying the parent post information in the outer View, display the parent post information in the nested child View, inside wpv-items-found but outside wpv-loop. Use the item attribute to display parent post information with any shortcodes in the nested View, since the post context in the nested View is the context of the child posts. The syntax for the item attribute is item="@relationship-slug.parent" in a typical one-to-many (O2M) relationship.
Relevant Documentation: https://toolset.com/documentation/programmer-reference/views/views-shortcodes/item-attribute/
|3||9||2 months, 2 weeks ago|
Issues with map loading speed and issues with distance value…
Problem: I have a View of custom posts that displays a map with markers, using a distance filter and sorting results by distance. In some cases the distance center is set by a URL parameter, and in others, it is set by a shortcode attribute. I have implemented some custom code in a wpv_view_settings filter to toggle between the shortcode attribute and the URL parameter. In the cases where distance center is set by a shortcode attribute, I am using another custom shortcode to get the User's predicted zip code. That shortcodes an external service to get a predicted zip code based on the User's IP address. The custom zip code service seems to be working correctly, and the results of the View seem to be accurate.
However, in the cases where this zip code shortcode is used to set the View's distance Query Filter by shortcode attribute, the View consistently causes the page generation time to jump by 3 or more seconds. I would like to try to optimize the page load time as much as possible.
Solution: In this case, testing revealed that using the custom zip shortcode inside a wpv_view_settings filter callback was the source of the delay in page generation, for some reason not fully understood. Replacing that shortcode with a hard-coded zip code resulted in a page generation time just a fraction of a second higher than the page without the View present at all. Optimization of the zip code shortcode is necessary to prevent the latency seen in page generation time.
|2||18||3 months ago|
|Distance value not appearing for all results in a View upon page load||2||2||3 months, 1 week ago|
|Searching a Map View that Uses Shortcode Attribute… 1 2||3||25||3 months, 3 weeks ago|
|I need help understanding view URL Param filters following ajaxComplete…||2||5||4 months, 1 week ago|
|Trying to find documentation for "Product Comparison" with Views.||2||4||4 months, 1 week ago|
|WPViews Not Defined – Trying to get map to render on ajaxComplete… 1 2||4||30||4 months, 2 weeks ago|
After exporting and importing my site’s content, some image URLs still reference the original domain
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.
Relevant Documentation: https://toolset.com/faq/how-do-i-migrate-a-wordpress-site-from-one-domain-to-the-other/
|2||5||5 months ago|
Having trouble with associations after importing relationships/post type/data…
Problem: I would like to export content from one site and import it in another site. The content includes multiple custom post types, their custom fields, taxonomies, and post relationships. When I import this content into another site, I see error messages in Toolset > Import > Associations tab stating that many of my post relationships cannot be imported. "Missing: Can't Find Intermediary Post with GUID" -and- "Missing: Can't Find Intermediary Post with Title" appears for these posts.
Solution: In this case the errors are all shown for M2M post relationships. These relationships are established using an intermediary custom post type. That post must be exported along with the two other custom posts in the post relationship. You may need to turn on the visibility of those intermediary post types to be able to export them. After exporting from the old site and importing those intermediary posts in the new site, the association process in Toolset > Import > Association tab should be able to find all the missing intermediary posts and migrate the post relationships successfully.
|2||17||5 months ago|
|Map View is broken – no changes were made… 1 2||2||22||5 months, 2 weeks ago|
Custom Image Attributes for Lazy Load…
Output repeating image field with custom PHP codes.
You can create a custom shortcode, for example:
|3||17||5 months, 2 weeks ago|
|Need help optimizing load time with high number of view queries…||2||6||5 months, 3 weeks ago|
I removed Custom Fields, but they still show up in Views…
Problem: I have deleted several custom fields from Post Field Control, but they still appear in the list of filter options in Views Query Filters.
Solution: Clear the Views custom field cache in Toolset > Settings > Front-end Content.
|2||5||6 months, 1 week ago|