1799 posts
  • Has been a member for 5-6 years
  • Germany
  • Exclusive Author
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 5 000 and 10 000 dollars
  • Envato Studio (Microlancer) Beta Tester
  • Bought between 10 and 49 items
  • Referred between 1 and 9 users
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
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
+1 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 been a member for 5-6 years
  • Germany
  • Exclusive Author
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 5 000 and 10 000 dollars
  • Envato Studio (Microlancer) Beta Tester
  • Bought between 10 and 49 items
  • Referred between 1 and 9 users
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