– Open {root}/wp-content/plugins/all-video-gallery/site/player.php
– Add
<a href="<?php print $_SERVER['HTTP_REFERER'];?>">Go back</a>
next to
$output .= '</style>' . "\n";
– That’s it.
Can you tell how to add this code, like this?
$output = '<style type="text/css">' . "\n";
$output .= $profile->player_css . "\n";
$output .= '</style>' . "\n"; <a href="<?php print $_SERVER['HTTP_REFERER'];?>">Go back</a>
or
$output = '<style type="text/css">' . "\n";
$output .= $profile->player_css . "\n";
$output .= '</style>' . "\n";
<a href="<?php print $_SERVER['HTTP_REFERER'];?>">Go back</a>
Because I get error on server, when I add this line.
Can you tell how to add this code, like this?
[ Moderator Note: Please post code or markup snippets between backticks or use the code button. The blockquote doesn’t work for code and the forum mangled up that snippet. ]
$output = '<style type="text/css">' . "\n";
$output .= $profile->player_css . "\n";
$output .= '</style>' . "\n"; <a>">Go back</a>
or
$output = '<style type="text/css">' . "\n";
$output .= $profile->player_css . "\n";
$output .= '</style>' . "\n";
<a>">Go back</a>
Sorry, It should be like,
$output = '<style type="text/css">' . "\n";
$output .= $profile->player_css . "\n";
$output .= '</style>' . "\n";
$output .= '<a href="'.$_SERVER['HTTP_REFERER'].'">Go back</a>'."\n";