0

I have theme and plugins in website more that 70+ shortcode. Its very hard to write those code from start. Is there anyway to reuse HTML and save meta method for the same?

add_shortcode('slider_carnews','slider_carnews');

function slider_carnews($atts){
/*some code written*/

}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.