1799 posts
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+4 more
BroOf says

Hey all! Theres again a problem and i really don’t know how to solve it. I’ve a link which has PHP included:

Here the code

I try different things since hours :D, so pls help me!

352 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 50+ members
  • Has sold $10,000+ on Envato Market
  • Had an item featured in an Envato Bundle
+6 more
danharper says

I don’t have access to a WP install right now so I can’t test it, but try this.

I replaced <?php bloginfo(‘siteurl’); ?>/wp-content/themes/elegantcustomadmin

with <?php bloginfo(‘template_directory’); ?>

1799 posts
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+4 more
BroOf says

Oh damn! It’s always the same… I try and try and try but nothing happens. And if I write into the forum I find the answer by myself^^

Here is the corrected code

Sorry for this useless thread. It can be deleted if it is useless for other users. Sry again :D!

@danharper

I’ve forgotten to write that there is a php condition around the link

(if ($ == true){echo the link}else{do nothing})

by
by
by
by
by
by