759 reputation
312
bio website pfjz.com
location Gothenburg, Sweden
age 31
visits member for 2 years, 10 months
seen Aug 28 at 10:49

Hi!


2d
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
Mar
19
awarded  Informed
Mar
19
comment Site requires login. How to publish login-free RSS feed?
Maybe you could use a conditional like if( is_feed() ) { .... But as said, without knowing more about your setup this is really hard/imposible to answer.
Mar
18
comment Site requires login. How to publish login-free RSS feed?
Without knowing what your plugin is or what it does, it´s kinda hard to answer this question. You might have better luck asking the plugin author for guidance on how to allow the RSS feed to be accessed.
Mar
17
comment How to query post into a complex slider
For the images, the_post_thumbnail(); outputs the whole img tag. So you don't need the <img src="...
Mar
13
revised Embeding style into the header via the function.php
Corrected spelling