webD-3
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Can't get sort order to work when using wpv-control
Started by: webD-3 in: Toolset Professional Support |
2 | 7 | 6 years, 7 months ago | ||
Set Dropdown with Unique Years & Filter by Default Selection on Initial Load
Started by: webD-3
in: Toolset Professional Support
Problem: I would like to create a custom search View that includes a custom select field, where the options are defined by a custom shortcode. When the page first loads, I would like to select one of the filters by default. Solution: The only documented way to select a filter by default in a parametric search form is to use a URL parameter. Any other solution will require custom code. If you want to use a custom shortcode to define the value options for a wpv-control field, you must first register that custom shortcode in Toolset > Settings > Frontend Content > Third party shortcode arguments. |
2 | 15 | 6 years, 7 months ago | ||
“What to display if no layout is assigned to content”
Started by: webD-3
in: Toolset Professional Support
Problem: The issue here is that the option "What to display if no layout is assigned to content" is greyed out for our Toolset Starter theme. Solution: We are aware of this issue but unfortunately this si something that won't be fixed as our Toolset Starter theme will no longer be supported with updates. This is done because we are pushing support to third party theme's such as Astra. Our Toolset Starter theme works under the assumption that once Layouts and Views are enabled then a content template or layout will always be used . |
2 | 2 | 6 years, 7 months ago | ||
Assigned Layout lost upon Publishing user-submitted content
Started by: webD-3 in: Toolset Professional Support |
2 | 3 | 6 years, 7 months ago | ||
500 errors/whitescreens in WP Dashboard – Memory Limit issue caused by Toolset?
Started by: webD-3 in: Toolset Professional Support |
2 | 6 | 6 years, 8 months ago | ||
Conditional display: wpv_contains
Started by: webD-3 in: Toolset Professional Support |
3 | 4 | 6 years, 8 months ago | ||
CRED: User-defined post expiration
Started by: webD-3
in: Toolset Professional Support
Problem: Solution: This is stored as post meta with a key of _cred_post_expiration_time and is also a UNIX timestamp, so it is simply a question of overwriting the current value with that retrieved from your generic field, using update_post_meta. Relevant Documentation: |
2 | 5 | 6 years, 10 months ago | ||
The Events Calendar Pro/Community Events add-on
Started by: webD-3 in: Toolset Professional Support |
2 | 4 | 6 years, 11 months ago | ||
Layouts vs. The Events Calendar Pro by Modern Tribe
Started by: webD-3 in: Toolset Professional Support |
2 | 4 | 7 years ago | ||
Preselect specific Layout for “pages” created by NextGen Gallery
Started by: webD-3
in: Toolset Professional Support
Problem: I have Layout A assigned as the Layout for the Pages post type. However, under certain circumstances I would like to preselect Layout B when a Page is being created in wp-admin. Solution: There's not a filter available to manipulate the selected Layout here, but you could use the WordPress "save_post" hook to override the User's Layout selection when the post is saved. function override_default_layout( $post_id ) { if( get_post_type($post_id) == 'page' && wp_get_post_parent_id( $post_id ) == 1234 ) { // this page is a child of the page with ID 1234 so we need to update the _layouts_template postmeta update_post_meta( $post_id, '_layouts_template', 'template-slug'); } } add_action( 'save_post', 'override_default_layout', 100 ); Change '1234' to match the numeric ID of the Photos page, and change 'template-slug' to match the slug of the correct Layout. This way, no matter what is selected, the correct Layout will be applied. Relevant Documentation: https://codex.wordpress.org/Plugin_API/Action_Reference/save_post |
2 | 3 | 7 years, 1 month ago |