476 reputation
419
bio website thegearpost.com
location Western MA
age 32
visits member for 2 years, 6 months
seen Aug 26 at 2:28

Infrastructure engineer by day, Wedding Photographer and Wordpress/PHP tinkerer by night/weekends.


Aug
23
comment Force download a file within plugin file
I've used the plugin Customer Area which allows admins to upload files, and their users to download files. That could be an example (as you say you found none)
Aug
23
answered WP_Query posts_per_page Only Bringing Back one post
Aug
20
answered Add code to header based on category for specific posts?
Aug
19
revised Making CURDATE() recognize current_time()
code clean up for easier reading
Aug
19
suggested suggested edit on Making CURDATE() recognize current_time()
Aug
19
comment Plugin dont Work Inside AJAX Call
I admit I do not have any WooCommerce experience, but that said, why are you doing a die() at the end of your function? I'd imagine that'd kill everything that runs AFTER your function is called & completed...? Just a thought.
Aug
19
comment how to change the breadcrumb in blog inner pages in yoast plugin..?
Are you using a Static Front Page and a Posts Page? If not, then what the breadcrumbs is showing is probably correct.
Aug
19
awarded  Informed
Aug
19
awarded  Citizen Patrol
Aug
18
comment Can't display shortcode in WP_Query loop
I just updated my answer. The above function worked for me. Double check your post_type, and the shortcode is a valid one. My simple, quick and crude "hello world" worked (as outlined above).
Aug
18
revised Can't display shortcode in WP_Query loop
code update
Aug
18
comment How to get all images except the first included in Post
Is this all the code? You have an endwhile in there, but there's no while present.
Aug
18
answered Can't display shortcode in WP_Query loop
Aug
18
comment Can't display shortcode in WP_Query loop
I think you have to echo do_shortcode("[download-attachments"). Try that out?
Jul
2
awarded  Curious
Jun
28
awarded  Notable Question
Feb
23
answered Registration and Profile custom field
Feb
17
awarded  Popular Question
Feb
8
awarded  Yearling
Jan
20
awarded  Constituent