Hello, this is the default code to create a shortcode:
COPY CODE
// Add Shortcode
function custom_shortcode() {
// Code here
}
add_shortcode( '', 'custom_shortcode' );
Do not paste the code with <?php and ?>
You will need to change it a bit
The code goes to functions.php
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Laura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂