Guillaume
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 |
|---|---|---|---|---|---|
|
CRED Auto Draft : More than 400 draft per day.
Started by: Guillaume in: Toolset Professional Support |
|
2 | 3 | 3 years, 2 months ago | |
|
Media Libary blocken with Toolset form
1
2
Started by: Guillaume in: Toolset Professional Support |
|
2 | 22 | 3 years, 6 months ago | |
|
Add notification bubble counter in Admin
Started by: Guillaume in: Toolset Professional Support |
|
2 | 3 | 3 years, 9 months ago | |
|
Encode URL in View Template
Started by: 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 | 4 years ago |