• Hello !

    Cause I’m not really good at php then i don’t know how to solve this problem.

    I have a function in functions.php that searches for attachments in the post. If there are attachments, then it will show them between
    <li> tags.

    [code moderated – please use the pastebin]

    This far everything works!

    What I actually want is to enter a [my_post_slides] shortcode in my post. So in theory it should connect the gc_get_images function and the shortcode function that returns the html also

    Any help guys?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Function inside a function?’ is closed to new replies.