Guillaume
Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
This user has no favorite topics.
Sujets de forum créés
| Status | Topic | Supporter | Voix | Publications | Nouveauté |
|---|---|---|---|---|---|
|
CRED Auto Draft : More than 400 draft per day.
Commencé par : Guillaume in: Toolset Professional Support |
|
2 | 3 | Il y a 3 years, 8 months | |
|
Media Libary blocken with Toolset form
1
2
Commencé par : Guillaume in: Toolset Professional Support |
|
2 | 22 | Il y a 4 years, 1 month | |
|
Add notification bubble counter in Admin
Commencé par : Guillaume in: Toolset Professional Support |
|
2 | 3 | Il y a 4 years, 4 months | |
|
Encode URL in View Template
Commencé par : Guillaume
in: Toolset Professional Support
Problem: The issue here is that the user wanted to encode their URL on the frontend. Solution: This can be done by using the following custom shortcode.
// Add Shortcode
function wpc_encode_url( $atts ) {
// Attributes
$atts = shortcode_atts(
array(
'url' => '',
),
$atts
);
return urlencode($atts['url']);
}
add_shortcode( 'wpc_encode_url', 'wpc_encode_url' );
Then be triggered like below. [wpc_encode_url url='[types field="url-produit" output="raw"][/types]'] Add the function to your Toolset custom code settings at Toolset -> Settings -> Custom Code. |
|
2 | 5 | Il y a 4 years, 7 months |