Hi first time poster scratching his head.
I am dipping into php to create a user profilepage.php template on a wordpress site.
I have managed against all odds to create a user profile that will take info from
etc, but my head is spinning trying to create an accordion for
?php the_author_meta('occupation'); ?
and youtube playlist
?php echo do_shortcode("[photosmash]"); ?
so I want to click on an image "MY VIDEOS" and the youtube playlist drops down, ditto with MY PHOTOS, click on the image and the gallery appears.
?php (the_author_meta('youtube_playlist')); ?
The page with all the required content showing is http://traditionalpainter.com/andy-crichton
I would really appreciate it if someone can point me in the right direction to code that will hide the gallery and video until required. Thanks in advance.