WordPress.org

Ready to get started?Download WordPress

Forums

WP Publication Archive
[resolved] Change archive layout (2 posts)

  1. joesch
    Member
    Posted 1 year ago #

    If I have a site with the shortcode [wp-publication-archive], can I change the layout of the output? If it possible, how can i do that?

    Many thanks - joesch

    http://wordpress.org/extend/plugins/wp-publication-archive/

  2. Eric Mann
    Member
    Plugin Author

    Posted 1 year ago #

    Yes, you can do this. The layout (the output of the shortcode) is controlled by template.wppa_publication_list.php in the /includes directory. What you do is copy this file into your active theme, then edit your copy as much as you want to.

    The template file is heavily documented, so you can see what variables are set and what markup is being used. Just remember, do not edit the copy in the plugin folder as any updates will overwrite your changes. Copy the file into your theme first, then edit the copy there. The plugin will automatically detect the new file in the theme and load it instead.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.