Support » Plugin: WP Publication Archive » Set to Open in New Window

Viewing 2 replies - 1 through 2 (of 2 total)
  • StefExakt

    (@stefexakt)

    I was able to do this by directly editing the PHP files:

    Edit to PHP files of Plugin

    Add target=”_blank” to following lines

    $output .= ‘href=”‘ . WP_Publication_Archive::get_open_link( $this->ID ) . ‘” target=”_blank”>’;
    $output .= __( ‘View’, ‘wp_pubarch_translate’ ) . ‘ | ‘;

    echo ‘ID, $alt[‘description’] ) . ‘”>’ . __( ‘View’, ‘wp_pubarch_translate’ ) . ‘ | ‘;

    Is there anyway you could add this as a setting so I do not have to remember to make this edit when updating the plugin?

    StefExakt

    (@stefexakt)

    edits to this file
    wp-publication-archive/lib/class.publication-markup.php

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Set to Open in New Window’ is closed to new replies.