e107help.org Q&A
0 like 0 dislike
I am trying to create shortcode that displays different text/links next to the download buttons.  I would really like to nest a core shortcode into my short code.  Does anyone know how to do this?  This is what I'm doing:

 

function sc_download_test ()
        {
                if (!USER)
                {
                        return "To download this file you must <a href='/signup.php'>register</a> or <a href='/login.php'>login</a>";

                } else
                        {
                        return "{DOWNLOAD_VIEW_LINK: size=5x}";
                        }
        }
e107 version Github
asked in Themes by (9 points) 1 1 2

Please log in or register to answer this question.

Welcome to e107 Q&A, where you can ask questions and receive answers from other members of the e107 community.
790 questions
1,194 answers
2,057 comments
923 users