Reputation
819
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
4 12
Newest
 Yearling
Impact
~18k people reached

Oct
18
awarded  Yearling
Sep
17
answered get_posts $args won't accept array as one of the criteria?
Sep
10
answered Use wp_redirect to add a parameter
Sep
8
comment Show content if parent page has children
@Trevor yes you are right. Though it works with the text value as well, but I updated this 3 years old answer now :)
Sep
8
revised Show content if parent page has children
Fixed value
Aug
29
awarded  Tenacious
Aug
26
answered Get post thumbnail to display favorites
Aug
19
answered Undefined variable notice
Aug
18
answered Custom post tag images not displaying with ACF
Aug
11
comment Only display title when there are results
Updated the answer with new info.
Aug
11
revised Only display title when there are results
Improved formatting
Aug
11
answered Only display title when there are results
Mar
20
comment Button linking to an unique link
Not sure what is in your $product global and thus $product->get_categories. Try doing a var_dump($products); to see whats in it or something. You might be better of opening a new question regarding that part, these comments aren't meant/suited to be for new questions/answers.
Mar
20
comment Button linking to an unique link
Sorry there was an error in the text. Updated now, the correct link should be: <a href="http://blah.com/shop/<?php echo $post->post_name; ?>/edit
Mar
20
revised Button linking to an unique link
Spelling error
Mar
20
comment Button linking to an unique link
Glad I could help. Don't forget to mark the anwser as accepted if this solved your problem!
Mar
20
comment Button linking to an unique link
Updated answer to better suite your updated question.
Mar
20
revised Button linking to an unique link
Updated due to question change
Mar
20
answered How to add a class to links inside posts text
Mar
20
answered Button linking to an unique link