kelvinL-2
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 |
---|---|---|---|---|---|
Default FIle Permission
Started by: kelvinL-2 in: Toolset Professional Support |
2 | 5 | 7 years, 10 months ago | ||
Minimize Toolset CSS and JS
Started by: kelvinL-2
in: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
2 | 3 | 7 years, 10 months ago | ||
Hide the Front-end display to non-admin user
Started by: kelvinL-2 in: Toolset Professional Support |
2 | 9 | 7 years, 10 months ago | ||
Repeat field in child post
Started by: kelvinL-2 in: Toolset Professional Support |
3 | 6 | 7 years, 10 months ago | ||
Adding multiple sidebar widget in layout
Started by: kelvinL-2 in: Toolset Professional Support |
2 | 9 | 7 years, 10 months ago | ||
Disable the Add new post capability
Started by: kelvinL-2
in: Toolset Professional Support
Problem: Solution: Add the following to the theme's functions.php file, remembering to update the id of the existing post of that type and the slug of the custom post type, which in the example code is global-setting. /** * Custom code to hide UI to create >1 global-setting posts */ function disable_new_posts() { $global_settings = get_posts( 'post_type=global-setting' ); if ( count($global_settings) != 0 ) { // Remove sidebar link global $submenu; unset($submenu['edit.php?post_type=global-setting'][10]); // Hide Add new button with CSS // * change post id to id of existing post on next line * if ((isset($_GET['post_type']) && $_GET['post_type'] == 'global-setting') || $_GET['post'] == 273) { echo '%MINIFYHTMLb8a8432e92a03a7d02f4061d76fed79384%'; } } } add_action('admin_menu', 'disable_new_posts'); Relevant Documentation: |
2 | 8 | 7 years, 10 months ago | ||
User Post Body in a HTML conditional
Started by: kelvinL-2
in: Toolset Professional Support
Problem: Solution: It's elaborated in detail here: |
2 | 4 | 7 years, 10 months ago | ||
Filtering Views Query with past one year
Started by: kelvinL-2
in: Toolset Professional Support
Problem: So comparing a date to PAST_YEAR = 2 would count back 2 years from the current date and rewind to January 1 of that year. To go back exactly one year use PAST_DAY = 365. Relevant Documentation: |
2 | 5 | 7 years, 10 months ago | ||
Cannot make the footer in full width
Started by: kelvinL-2 in: Toolset Professional Support |
2 | 5 | 7 years, 10 months ago | ||
Cannot remove existing Loop item content template from Views
Started by: kelvinL-2 in: Toolset Professional Support |
3 | 6 | 7 years, 10 months ago | ||
Highlight current post
Started by: kelvinL-2
in: Toolset Professional Support
Problem: Solution: You can find proposed solution with the following reply: Relevant Documentation: |
2 | 4 | 7 years, 10 months ago | ||
How can I get parent post id
Started by: kelvinL-2 in: Toolset Professional Support |
2 | 8 | 7 years, 10 months ago | ||
How can I use parent content in condition checking
Started by: kelvinL-2
in: Toolset Professional Support
Problem: Solution: You can find the proposed solution with the following reply: Relevant Documentation: |
2 | 5 | 7 years, 10 months ago | ||
Post Relationship lost
Started by: kelvinL-2 in: Toolset Professional Support |
2 | 4 | 7 years, 11 months ago | ||
Query the latest update child post from same category parent post
Started by: kelvinL-2 in: Toolset Professional Support |
2 | 2 | 7 years, 11 months ago |