719 reputation
212
bio website pfjz.com
location Gothenburg, Sweden
age 31
visits member for 2 years, 7 months
seen 2 days ago

Hi!


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
Mar
13
comment Embeding style into the header via the function.php
You could do that with <?php echo get_stylesheet_directory_uri(); ?>/images/...
Mar
13
answered Embeding style into the header via the function.php
Mar
13
comment How to get a page url by a page id?
Good, you can never be sure so I thought I'd atleast ask! :)
Mar
12
comment How to get a page url by a page id?
Are you writing it like that with 'page-id'? You need to pass an actual id to it and it should work. get_permalink(4); or a variable with the id get_permalink($id);
Mar
12
comment main menu page redirects to user ID
Great. Don't forget to mark the answer as accepted if it works for you.
Mar
12
comment main menu page redirects to user ID
Updated the answer with more info about that.
Mar
12
revised main menu page redirects to user ID
Added more details