kelvinL-2
Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
Filter posts with two parents
Commencé par : Gian Luca dans : Toolset Professional Support |
3 | 3 | Il y a 5 années et 6 mois | ||
Disable the Add new post capability
Commencé par : kelvinL-2
dans : 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 | Il y a 7 années et 10 mois | ||
Installed Toolset-Bootstrap and Layouts, but cells stack instead of rows
Commencé par : timB dans : Toolset Professional Support |
4 | 6 | Il y a 8 années et 11 mois | ||
set the minimum resolution of image upload
Commencé par : ericH-7 dans : Toolset Professional Support |
3 | 6 | Il y a 8 années et 11 mois | ||
Find if my post has a parent, and what that parent is (in PHP)?
Commencé par : steveJ-3 dans : Toolset Professional Support |
3 | 6 | Il y a 9 années | ||
How to debug the cred_form_validate
Commencé par : kelvinL-2 dans : Toolset Professional Support |
2 | 14 | Il y a 9 années et 1 mois | ||
Inconsistent view to Add and Edit CRED form
1
2
Commencé par : kelvinL-2 dans : Toolset Professional Support |
3 | 23 | Il y a 9 années et 3 mois | ||
Default Stylesheet for layout
Commencé par : kelvinL-2 dans : Toolset Professional Support |
2 | 5 | Il y a 9 années et 3 mois | ||
custom usermeta bypassed even required is set
Commencé par : kelvinL-2 dans : Types Community Support |
2 | 15 | Il y a 9 années et 3 mois | ||
File Size Limit
Commencé par : adamL-4 dans : Toolset Professional Support |
3 | 4 | Il y a 9 années et 3 mois | ||
Building a small part by using Views design on existing website
Commencé par : kelvinL-2 dans : Toolset Professional Support |
2 | 4 | Il y a 9 années et 4 mois | ||
Add Custom Post Type to Dashboard At a Glance Box
Commencé par : scottD-2 dans : Types Community Support |
2 | 4 | Il y a 9 années et 4 mois | ||
Events for a calendar
Commencé par : Pat dans : Toolset Professional Support |
2 | 11 | Il y a 9 années et 7 mois | ||
CRED generic field first "Please select" option
Commencé par : carletto0282 dans : Toolset Professional Support |
2 | 3 | Il y a 9 années et 9 mois |