Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Vinoth Kumar

    (@vinoth-kumar)

    – 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>
    Plugin Author Vinoth Kumar

    (@vinoth-kumar)

    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";

    Thanx, now work!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add a back to gallery link’ is closed to new replies.